以下是通达信周期竖线主图源码(无源码的请下载附件导入)
通达信指标:周期竖线主图
T1:=MOD(BARSLAST(BARSCOUNT(C)=0),25);
T2:=MOD(BARSLAST(BARSCOUNT(C)=4),25);
T3:=MOD(BARSLAST(BARSCOUNT(C)=9),25);
T4:=MOD(BARSLAST(BARSCOUNT(C)=14),25);
T5:=MOD(BARSLAST(BARSCOUNT(C)=19),25);
HH:=CONST(HHV(H,130));
LL:=CONST(LLV(L,130));
STICKLINE(T1=0,HH,LL,0.01,0)COLORRED;
STICKLINE(T2=0,HH,LL,0.01,0)COLORBLUE;
STICKLINE(T3=0,HH,LL,0.01,0)COLORYELLOW;
STICKLINE(T4=0,HH,LL,0.01,0)COLORGREEN;
STICKLINE(T5=0,HH,LL,0.01,0)COLORWHITE;
814533073.jpg
|