通达信一品快马主图指标公式

通达信突破成本细化主图指标公式

通达信一品快马主图指标公式:

MA1:MA(C,1),COLORWHITE,LINETHICK2;

MA2:MA(C,250),COLORYELLOW,LINETHICK1;

MA3:MA(C,5),COLORRED,LINETHICK2;

MAK:=MA(C,3);

MM:=ATAN((MAK/REF(MAK,1)-1)*100)*180/3.14159,COLORstICK;

MA5:=MA(C,5);

KK:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.14159,COLORSTICK;

准备:=crOSS(KK,0)*80,POINTDOT,COLOR00FF00,LINETHICK3;

马:=(KK/REF(KK,1)>=2 AND KK>0 AND C>0 AND (H=HHV(H,10) OR C=HHV(C,10)))*80,STICK,COLORWHITE,LINETHICK3;

登高:=(COUNT(KK>REF(KK,1),3)>=2 AND KK>40 AND KK<75)*30,COLORYELLOW,LINETHICK2;

{STICKLINE(登高=30,0 ,30 ,5 ,1 ),COLORYELLOW;}

漫步:=(COUNT(KK<REF(KK,1) AND KK>0,2)=2)*-20,COLOR00FF00,LINETHICK2;

{STICKLINE(漫步=-20,0 ,-20 ,5 ,1 ),COLOR00FF00;}

骑马:=(MA(C,30)>REF(MA(C,30),1) AND KK/REF(KK,1)>=2 AND KK>0 AND COUNT(KK<REF(KK,1),4)>=1

AND CROSS(KK,45) AND (H=HHV(H,10) OR C=HHV(C,10)))*100,COLORWHITE,LINETHICK2;

小心:=((MM+KK)>120)*-20,POINTDOT,COLORRED,LINETHICK3;

悬崖:=(CROSS(0,KK) AND COUNT(MA(C,5)>MA(C,10),13)>=10)*-50,POINTDOT,COLORFF6600,LINETHICK3;

DD:=(C-REF(C,1))/REF(C,1)*100<=-4;

花香:=(COUNT(DD,7) AND KK<0 AND KK>REF(KK,1))*KK,STICK,COLORFF00FF,LINETHICK2;

超跌:=((MM+KK)<-120 AND HHV(H,3)/LLV(L,3)>=1.18)*-20,POINTDOT,COLOR00FF00,LINETHICK3;

DRAWTEXT(超跌<0,L-0.05, '■'),COLOR00FF00;

{以下设置主图显示方式:}

STICKLINE(准备=80,h,l,0,1),COLOR00FF00,linethick2;

STICKLINE(准备=80,o,c,4,1),COLOR00FF00,linethick2;

STICKLINE(马=80,h,l,0,1),COLORWHITE,linethick2;

STICKLINE(马=80,o,c,4,1),COLORWHITE,linethick2;

DRAWTEXT(骑马=100 ,L-0.02 , '●'),COLORWHITE;

DRAWTEXT(骑马=100,L*0.95, '买'),COLORWHITE;

DRAWTEXT(登高=30 ,MA1 , '⊙'),COLORYELLOW;

DRAWTEXT(漫步=-20 ,MA1 , '┉'),COLOR00FF00;

DRAWTEXT(小心=-20,L-0.02, '·'),COLORRED;

DRAWTEXT((MM+KK)>150,MA1, '≯'),COLORFF6600;

DRAWTEXT(悬崖=-50,L-0.02, '●'),COLORFF6600;

DRAWTEXT(花香<0 ,L-0.02 , '='),COLORFF00FF;

ZbsJ:=BArslAST(准备=80);

IF(NOT(准备=80),REF(L,ZBSJ),REF(L,ZBSJ)),COLOR00FF00,POINTDOT;

通达信持股心态主图指标公式