以下是通达信伏击妖股副图公式源码
通达信伏击妖股副图公式源码
副图白色钝化就可以轻仓参与,由白变黄可适量加仓,此指标在底部起涨较准,正适合目前股市。源码放出,欢迎高手优化!
源码:
N:=14;
M:=9;
VOLUME:=MA(VOL,N)/VOL;
MID:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);
EMV:MA(MID*VOLUME*(HIGH-LOW)/MA(HIGH-LOW,N),N);
MAEMV:MA(EMV,M);
DRAWBAND(EMV,RGB(255,215,0),MAEMV,RGB(255,255,255));
妖股: DRAWTEXT(REF(CROSS(EMV,MAEMV),1) AND EMV>1.5*MAEMV,EMV,'★伏击点'),COLORRED;