同花顺跟庄主图指标
源码
DRAWGBK(V 1,STRIP(RGB(90,110,255),RGB(130,130,255),1));
VAR4:=(LOW+HIGH+CLOSE)/3;
操作: MA(VAR4,4),LINETHICK2,Color46FFFF;
拉升:HHV(操作,9),colorred,LINETHICK2;
压力:HHV(操作,28),ColorFFFF44;
买卖:LLV(操作,9),LINETHICK2,Color00DD00;
底部: LLV(LOW,55)*1.02,ColorFF2DFF;
顶部: HHV(HIGH,44)*0.98,ColorFFFFFF;
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);DRAWTEXT(FILTER(BB13 1 AND EMA(X1,13) REF(EMA(X1,8),1),10),
EMA8,' 45升'),colorwhite;
收益:MGSYX(33),Color6700CE;
换手率:VOL/CAPITAL*100,ColorFFFF00;
STICKLINE(操作 REF(操作,1),操作,操作+0.018,5,0),coloryellow,LINETHICK4;
STICKLINE(拉升 REF(拉升,1),拉升,拉升+0.018,5,0),coloryellow,LINETHICK2;
STICKLINE(拉升=REF(拉升,1),拉升,拉升,1,1),colorred;
STICKLINE(买卖=REF(买卖,1),买卖,买卖,1,1),colorred;
STICKLINE(买卖 REF(买卖,1),买卖,买卖+0.028,4,1),COLORF00FF0,LINETHICK2;
STICKLINE(顶部=REF(顶部,1),顶部,顶部,7,1),colorred;
STICKLINE(压力=REF(压力,1),压力,压力,7,1),colorred;
STICKLINE(底部=REF(底部,1),底部,底部,1,1),colorred;
STICKLINE(CLOSE OPEN,OPEN,LOW,0.5,0 ),Color35FFFF;
STICKLINE(CLOSE OPEN,CLOSE,HIGH,0.5 ,0 ),Color1717FF;
STICKLINE(OPEN =CLOSE,CLOSE,LOW,0.5 ,0 ),ColorFFFFFF;
STICKLINE(OPEN =CLOSE,OPEN,HIGH,0.5 ,0 ),Color00FF00;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,10,0 ),ColorD8D8D8;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,8,0 ),ColorCCCCCC;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,4,0 ),ColorDEDEDE;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,2,0 ),ColorE6E6E6;
STICKLINE(OPEN =CLOSE ,CLOSE ,OPEN,1,0 ),ColorFFFFFF;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,10,0) ,COLOR000066;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,8,0) ,COLOR000077;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,4,0) ,COLOR000099;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,2,0) ,COLOR0000bb;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,1,0) ,COLOR0000dd;
var9Q:=C= HHV(C,4)AND (REF(C,1) =REF(C,2) OR REF(C,1) =REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE =REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C =REF(C,1) OR REF(C,3)=HHV(C,4) AND C =REF(C,1) AND C =REF(C,2);
STICKLINE(var9Q,C,(O+C)/2,10,0),color000066;
STICKLINE(var9Q,C,(O+C)/2,8,0),color000077;
STICKLINE(var9Q,C,(O+C)/2,4,0),color000099;
STICKLINE(var9Q,C,(O+C)/2,2,0),color0000bb;
STICKLINE(var9Q,C,(O+C)/2,1,0),color0000dd;
varaQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
STICKLINE(varaQ,C,(O+C)/2,10,0),colorff33ff;
STICKLINE(varaQ,C,(O+C)/2,8,0),colorff55ff;
STICKLINE(varaQ,C,(O+C)/2,4,0),colorff77ff;
STICKLINE(varaQ,C,(O+C)/2,2,0),colorff99ff;
STICKLINE(varaQ,C,(O+C)/2,1,0),colorffbbff;
varbQ:=C=LLV(C,4) AND (REF(C,1) REF(C,2) OR REF(C,1) REF(C,3)) OR REF(C,1)=LLV(C,4) AND C REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1) HHV(C,4) AND C REF(C,1) OR REF(C,3)=LLV(C,4) AND C REF(C,1) AND C REF(C,2);
STICKLINE(varbQ,C,(O+C)/2,10,0),Color006400;
STICKLINE(varbQ,C,(O+C)/2,8,0),Color008800;
STICKLINE(varbQ,C,(O+C)/2,4,0),Color009F00;
STICKLINE(varbQ,C,(O+C)/2,2,0),Color00C600;
STICKLINE(varbQ,C,(O+C)/2,1,0),Color00F200;
varcQ:=REF(C,1)=LLV(C,4) AND C =REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1) =REF(C,3) AND REF(C,2) REF(C,4) AND C =REF(C,1);
STICKLINE(varcQ,O,(O+C)/2,10,0),color0090FF;
STICKLINE(varcQ,O,(O+C)/2,8,0),color009FFF;
STICKLINE(varcQ,O,(O+C)/2,4,0),color00B5FF;
STICKLINE(varcQ,O,(O+C)/2,2,0),color00E4FF;
STICKLINE(varcQ,O,(O+C)/2,1,0),color00EEFF;
vardQ:=REF(C,1)=HHV(C,4) AND C REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1) REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1) REF(C,2)) AND REF(C,2) =REF(C,4) AND C REF(C,1);
STICKLINE(vardQ,O,(O+C)/2,10,0),Color888800;
STICKLINE(vardQ,O,(O+C)/2,8,0),Color999900;
STICKLINE(vardQ,O,(O+C)/2,4,0),ColorC6C600;
STICKLINE(vardQ,O,(O+C)/2,2,0),ColorDEDE00;
STICKLINE(vardQ,O,(O+C)/2,1,0),ColorFFFF15;
Var326:=IF(CLOSE REF(CLOSE,1),88,0);
Var327:=IF(CLOSE/REF(CLOSE,1) 1.050 AND HIGH/CLOSE 1.010 AND Var326 0, 91, 0);
STICKLINE(Var327 90,L*0.99,L*0.95,4,0),coloryellow;DRAWTEXT(Var327 90,LOW*0.95,'☆'),coloryellow;