以下是同花顺黑马线副图源码

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),CulorFF4AA5;
STICKLINE(个股<个股 OR 个股<REF(个股,1),50,0,10),Culor418060;
FILLRGN(个股,REF(个股,1),个股>REF(个股,1),RGB(255,255,0),个股<REF(个股,1),RGB(0,0,255));
关注:IF(CROSS(个股,4),30,0),STICK,LINETHICK3,Culor00CECE;
DRAWTEXT(CROSS(个股,4),46,’黑马’),COLOR00FF00;
DRAWTEXT(CROSS(个股,4),40,’1′),COLOR00FF00;
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,14);
VAR3:=BARSLAST(CROSS(VAR2,VAR1))>15;
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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。