通达信假阴真阳-回踩精准(鹏腾2009版本)源码主图贴图

2016-10-11 13:51:00来源:本站整理浏览:359

C1:=IF(CURRBARSCOUNT>2 AND CURRBARSCOUNT<=30,L,0);
位置1:BARSLAST(BETWEEN(C1-CONST(L),0.01,-0.01) AND CONST(COUNT(C>REF(C,1) AND C<O,5)>=1 AND L=LLV(L,5)))NODRAW;
A:DRAWLINE(CURRBARSCOUNT=CONST(位置1)+1,L,ISLASTBAR,L,0)DOTLINE,COLORYELLOW;
DRAWTEXT(ISLASTBAR,A,'精准线'),COLORYELLOW;

C2:=IF(CURRBARSCOUNT>2 AND CURRBARSCOUNT<=30,H,0);
位置2:BARSLAST(BETWEEN(C2-CONST(L),0.01,-0.01) AND CONST(COUNT(C>REF(C,1) AND C<O,5)>=1 AND L=LLV(L,5)))NODRAW;
B:DRAWLINE(CURRBARSCOUNT=CONST(位置2)+1,H,ISLASTBAR,L,0)DOTLINE,COLORYELLOW;
DRAWTEXT(ISLASTBAR,B,'精准线'),COLORYELLOW;

C3:=IF(CURRBARSCOUNT>2 AND CURRBARSCOUNT<=30,O,0);
位置3:BARSLAST(BETWEEN(C3-CONST(L),0.01,-0.01) AND CONST(COUNT(C>REF(C,1) AND C<O,5)>=1 AND L=LLV(L,5)))NODRAW;
D:DRAWLINE(CURRBARSCOUNT=CONST(位置3)+1,O,ISLASTBAR,L,0)DOTLINE,COLORYELLOW;
DRAWTEXT(ISLASTBAR,B,'精准线'),COLORYELLOW;

C4:=IF(CURRBARSCOUNT>2 AND CURRBARSCOUNT<=30,C,0);
位置4:BARSLAST(BETWEEN(C4-CONST(L),0.01,-0.01) AND CONST(COUNT(C>REF(C,1) AND C<O,5)>=1 AND L=LLV(L,5)))NODRAW;
E:DRAWLINE(CURRBARSCOUNT=CONST(位置4)+1,C,ISLASTBAR,L,0)DOTLINE,COLORYELLOW;
DRAWTEXT(ISLASTBAR,B,'精准线'),COLORYELLOW;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式