以下是通达信循序渐进(源码副图贴图 )

N:=5;
现价:C,COLORWHITE;
顶筹: COST(19*N) ,COLORFFFF33;
卖筹: COST(15*N),COLORGREEN,DOTLINE;
买筹: COST(6*N) ,COLORRED,DOTLINE;
底筹: COST(1*N),COLORYELLOW;
 DRAWTEXT(CROSS(现价,底筹) AND REF(COUNT((现价<底筹) AND (MA(C,5)<MA(C,13)),5)=5,1)
 { AND 现价>REF(现价,2)} AND C>REF(H,1),现价-0.5,’↖买底’),COLORRED;
 DRAWTEXT(CROSS(现价,买筹) AND REF(COUNT({(现价>买筹) AND }(现价<买筹),8)=8,1)
 {AND MA(C,3)>=REF(MA(C,3),1)},现价-0.5,’↖低买’),COLORYELLOW;
 DRAWTEXT(CROSS(现价,卖筹) AND REF(COUNT({(现价>买筹) AND }(现价<卖筹),5)=5,1)
 {AND MA(C,3)>=REF(MA(C,3),1)},现价-0.5,’↖高买’),COLORWHITE;
 DRAWTEXT(CROSS(现价,卖筹) AND CROSS(现价,买筹){ AND REF(COUNT((现价<卖筹),5)=5,1)}
 {AND MA(C,3)>=REF(MA(C,3),1)},现价-1.0,’↖双买’),COLORMAGENTA;
 DRAWTEXT(WINNER(C)>0.8 AND CROSS(顶筹,现价),现价+0.5,’↖顶卖’),COLORGREEN;
 

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