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

[复制链接]
查看67 | 回复0 | 2022-7-24 04:17:33 | 显示全部楼层 |阅读模式

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;

654344543.jpg

654344543.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则