丑鬼 发表于 2017-3-9 22:04:46

中线通道选择合适机会抄底

这公式里的低A一般股价到这会反弹


M3:=MA(C,3);
M30:=MA(C,30);
QS:=(CLOSE - M30) / M30* 100;
N:=30;
N1:=30;
N2:=N+N1;
高A:(CONST(REF(HHV(QS, N1),N))/100+1)*M30,COLORMAGENTA,POINTDOT;
高:(CONST(HHV(QS, N2))/100+1)*M30,COLORRED,POINTDOT;
低A:(CONST(REF(LLV(QS, N1),N))/100+1)*M30,COLORLIGRAY,POINTDOT;
低:(CONST(LLV(QS, N2))/100+1)*M30,COLORBLUE,POINTDOT;
IF(M3>低A AND 低A>REF(低A,1),((HHV(高,高A)-C)/(低-低A/低))*100,0),NODRAW;
A1:=C>REF(C,4);
A2:=C<REF(C,4);
T1:=A2 AND REF(A1,1);
T2:=A2 AND REF(T1,1);
T3:=A2 AND REF(T2,1);
T4:=A2 AND REF(T3,1);
T5:=A2 AND REF(T4,1);
T6:=A2 AND REF(T5,1);
T7:=A2 AND REF(T6,1);
T8:=A2 AND REF(T7,1);
T9:=A2 AND REF(T8,1);
T10:=A2 AND REF(T9,1);
T11:=A2 AND REF(T10,1);
T12:=A2 AND REF(T11,1);
T13:=A2 AND REF(T12,1);
T14:=A2 AND REF(T13,1);
DRAWTEXT(T6,L,'6'),COLORBLUE;
DRAWTEXT(T7,L,'7'),COLORBLUE;
DRAWTEXT(T8,L,'8'),COLORBLUE;
DRAWTEXT(T9,L,'9'),COLORRED;
B1:=C<REF(C,4);
B2:=C>REF(C,4);
D1:=B2 AND REF(B1,1);
D2:=B2 AND REF(D1,1);
D3:=B2 AND REF(D2,1);
D4:=B2 AND REF(D3,1);
D5:=B2 AND REF(D4,1);
D6:=B2 AND REF(D5,1);
D7:=B2 AND REF(D6,1);
D8:=B2 AND REF(D7,1);
D9:=B2 AND REF(D8,1);
D10:=B2 AND REF(D9,1);
D11:=B2 AND REF(D10,1);
D12:=B2 AND REF(D11,1);
D13:=B2 AND REF(D12,1);
D14:=B2 AND REF(D13,1);
DRAWTEXT(D6,H+(H-C)*0.5,'6'),COLORRED;
DRAWTEXT(D7,H+(H-C)*0.5,'7'),COLORRED;
DRAWTEXT(D8,H+(H-C)*0.5,'8'),COLORRED;
DRAWTEXT(D9,H+(H-C)*0.5,'9'),COLORBLUE;


月亮 发表于 2017-5-8 13:26:15

好好好好好好
页: [1]
查看完整版本: 中线通道选择合适机会抄底