K:ATAN((LLV(EMA(C,80),10)/HHV(EMA(C,80),10)-1)*100)*180/3.1416;
D:ATAN((EMA(C,80)/REF(EMA(C,80),10)-1)*100)*180/3.1416;
AA:=K-D>REF(K-D,1);
BB:=K-D<REF(K-D,1);
STICKLINE(AA,K,D,8,0) ,COLOR00FF00;
STICKLINE(D>=REF(D,2) AND K>=REF(K,2),K,D,8,0) ,COLOR00FF00;
STICKLINE(BB ,D,K,8,0 ),COLORFF00FF;
STICKLINE(D<=REF(D,2) AND K<REF(K,2),D,K,8,0 ),COLORFF00FF;
202108201512.jpg
|