通信达公式编写 通达信秀才主图指标公式(3)
2016-09-30 13:23 股票知识 zhishi.southmoney.com
VARYGB2:=TROUGHBARS(3,15,1)<10;
VARYGB3:=PEAKBARS(3,15,1)<10;
VARYGB4:=IF(VARYGB2=1,50,0);
VARYGB5:=IF(VARYGB3=1,50,0);
底部:=IF(VARYGB4=50,10,0);
YGBLQH:=IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,25,0),COLORCYAN,LINETHICK1;
DRAWTEXT(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,MIN(O,C)+ABS(C-O)*0.5,'▲'),COLORYELLOW;
DRAWTEXT(TROUGHBARS(3,10,1)=0 AND HIGH>LOW+0.01,MIN(O,C)+ABS(C-O)*0.5,'▲'),COLORMAGENTA;
更多股票公式相关资讯请关注南方财富网
(股票知识网zhishi.southmoney.com)