以下是通达信宝宝看盘选股/副图源码

VAR1:=EMA(EMA(CLOSE,9),9);
 VR:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
 STICKLINE(VR<0,VR,0,1,0),COLORCCCCCC;
 A10:=CROSS(VR,0);
卖出:IF(VR<0,VR,0),COLORCCCCCC,LINETHICK0;
建仓:IF(A10,5,0),LINETHICK0,COLOR00AAAA;
 DRAWTEXT(A10,-5,’拉升’),COLORYELLOW;

STICKLINE(VR>REF(VR,1) AND VR>0,VR,0,1,0),COLOR0000AA;
主升浪:IF(VR>REF(VR,1) AND VR>0,VR,0),COLOR0000DD,LINETHICK0;
 VAR2:=100*WINNER(CLOSE*0.95);
 STICKLINE(VAR2>50 AND COST(85)<CLOSE AND VR>0,VR,0,1,0),COLOREE00EE;
牛市:IF(VAR2>50 AND COST(85)<CLOSE AND VR>0,VR,0),COLORFF00FF,LINETHICK0;
 STICKLINE(VR<REF(VR,1) AND VR>0,VR,0,1,0),COLOR00AA00;
出货:IF(VR<REF(VR,1) AND VR>0,VR,0),COLOR00FF00,LINETHICK0;

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