通达信买卖顶底/副图源码贴图

买卖顶底副图源码 通达信 贴图

 

VAR1:=(2*CLOSE+HIGH+LOW)/4;

VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);

J:(VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;

D:MA(J,3);

K:MA(J,1);

DRAWTEXT(CROSS(K,D),K,'买'),COLORRED;

DRAWTEXT(CROSS(D,K),D,'卖'),COLORGREEN;