同花顺黑马线副图指标
源码
N:=14;
DRAWGBK(V 1,STRIP(RGB(60,100,255),RGB(180,180,255),1));
个股:EMA(100*(C-LLV(LOW,21))/(HHV(H,21)-LLV(LOW,21)),3),coloryellow,LINETHICK0;
STICKLINE(个股 个股 OR 个股 REF(个股,1),100,0,10,0),ColorFF4AA5;
STICKLINE(个股 个股 OR 个股 REF(个股,1),50,0,10),Color418060;
FILLRGN(个股,REF(个股,1),个股 REF(个股,1),RGB(255,255,0),个股 REF(个股,1),RGB(0,0,255));
关注:IF(CROSS(个股,4),30,0),STICK,LINETHICK3,Color00CECE;
DRAWTEXT(CROSS(个股,4),46,'黑马'),COLOR00FF00;
DRAWTEXT(CROSS(个股,4),40,'1'),COLOR00FF00;
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,14);
VAR3:=BARSLAST(CROSS(VAR2,VAR1))
VAR4:=VOL MA(VOL,4)*2 AND VOL MA(VOL,4)*5;
VAR5:=CROSS(VAR1,VAR2) AND VAR4 AND VAR3;
黑马:IF(VAR5,60,0),STICK,LINETHICK5,COLORF00FF0;
DRAWTEXT(VAR5,78,'黑马!'),COLORF00FF0;
拉升:80,colorgreen,LINETHICK1;
试庄:20,colorwhite,LINETHICK1;
强弱:50,COLORFF00FF,LINETHICK1;