以下是通达信博奕监控源码

 DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,”,0);

个股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;

大盘:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORE67010,LINETHICK2;

STICKLINE(个股>=大盘,个股,大盘,1,0),COLORRED;

STICKLINE(个股<大盘,个股,大盘,1,0),COLORBLUE;

STICKLINE(个股>=大盘,0,大盘,6,0),COLORYELLOW;

STICKLINE(个股<大盘,0,个股,6,0),COLORYELLOW;

关注:IF(CROSS(个股,9),50,0),STICK,LINETHICK3,COLOR00FF00;

DRAWTEXT(CROSS(个股,9),40,’关注!’),COLOR00FF00;

VAR1:=EMA(CLOSE,3);

VAR2:=EMA(CLOSE,21);

VAR3:=BARSLAST(CROSS(VAR2,VAR1))>15;

VAR4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;

VAR5:=CROSS(VAR1,VAR2)  AND VAR4 AND VAR3;

黑马:IF(VAR5,80,0),STICK,LINETHICK4,COLORF00FF0;

DRAWTEXT(VAR5,70,’黑马!’),COLORF00FF0;

 

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