九毛八公式指标
公式模块:
《七日均线+boll线来作主图》的源码为:
MA7:EMA(CLOSE,7),COLORFFFFFF;
MID:MA(CLOSE,20),COLORYELLOW;
UPPER:MID+2*STD(CLOSE,20),COLORRED,DOTLINE;
LOWER:MID-2*STD(CLOSE,20),COLORGREEN,DOTLINE;
条件选股为:
1.股价缩量回调到七日线不破七日线反身向上或者缩量破掉七日线在中轨企稳,股价站上七日线。
2.股价缩量回调到下轨不破下轨反身向上或者股价缩量破掉下轨后反身向上。
这2个条件是2个选股公式,麻烦老师了!辛苦啦!
{1.}
MID:=MA(CLOSE,20);
UPPER:=MID+2*STD(CLOSE,20);
LOWER:=MID-2*STD(CLOSE,20);
V/REF(V,1)<1 AND crOSS(MA(C,7),L) AND C>MA(C,7) AND MA(C,7)>REF(MA(C,7),1) OR (V/REF(V,1)<1 AND L<MA(C,7) AND C>MID AND C>MA(C,7));
===============
{2.}
MID:=MA(CLOSE,20);
UPPER:=MID+2*STD(CLOSE,20);
LOWER:=MID-2*STD(CLOSE,20);
V/REF(V,1)<1 AND CROSS(LOWER,L) AND C>LOWER AND LOWER>REF(LOWER,1) OR (V/REF(V,1)<1 AND L<LOWER AND C>LOWER AND LOWER>REF(LOWER,1));