|
波峰1:=CONST(PEAK(1,HR,1));
波峰2:=CONST(PEAK(1,HR,2));
波谷1:=CONST(TROUGH(2,LR,1));
波谷2:=CONST(TROUGH(2,LR,2));
波峰周期1:=PEAKBARS(1,HR,1);
波峰周期2:=PEAKBARS(1,HR,2);
波谷周期1:=TROUGHBARS(2,LR,1);
波谷周期2:=TROUGHBARS(2,LR,2);
X1:=IF(波谷1>波谷2,1,DRAWNULL);
X2:=IF(波峰1<波峰2,1,DRAWNULL);
上地RAWLINE( L=波谷2 AND C=CONST(REF(C,波谷周期2)),L, L=波谷1,L,1),
COLORYELLOW,LINETHICK3;
上地斜率:=(上地-REF(上地,波谷周期2))/波谷周期2;
上天RAWLINE( C=CONST(REF(C,波峰周期2))
AND H=CONST(REF(H,波峰周期2)) AND L=CONST(REF(L,波峰周期2))
AND H=CONST(REF(HHV(H,波谷周期2-波谷周期1),波谷周期1)),H, 下载 (18.69 KB)
2010-6-10 10:20
V=CONST(V) AND H=CONST(H) AND C=CONST(C),
波峰2+上地斜率*波峰周期2,1),COLORLIBLUE,LINETHICK3;
上天1RAWLINE(C=CONST(REF(C,波峰周期1))
AND H=CONST(REF(H,波峰周期1)),H,
V=CONST(V) AND H=CONST(H)
AND C=CONST(C),波峰1+上地斜率*波峰周期1,0),COLORLIBLUE,LINETHICK3;
DRAWICON(L=上地,L,1);
DRAWICON(H=上天1,H,2);
DRAWICON(H=上天,H,2); |
|