通达信短底红副图无未来

M:=(OPEN+CLOSE)/2;

A:=HHV(M,20);

B:=LLV(M,20);

X:=(M-B)/(A-B)*100;

MO:50;

N:=1;

MK:SMA(X,5,N);

MD:SMA(X,10,N);

MJ:SMA(X,20,N);

D:=LLVBARS(MK,5);

STICKLINE(D==1 AND REF(MK,1)<50 AND MK>REF(MK,1),MK,50,2,0),COLORRED;

(0)

相关推荐