手机端
当前位置:爱约股 > 公式技巧 > 卖出和买进两个选股公式

卖出和买进两个选股公式

 网友求助:

M:=17;
MID:EMA(CLOSE,M);
UPPER:MID+2*STD(CLOSE,M),COLORFF0000;
LOWER:MID-2*STD(CLOSE,M),COLORFF0000;
UPPER0:MID+3*STD(CLOSE,M),COLORFF0000;
LOWER0:MID-3*STD(CLOSE,M),COLORFF0000;
DRAWTEXT(HIGH>UPPER0 OR HIGH=UPPER0,HIGH*1.03,'卖出');
DRAWTEXT(LOW<LOWER0 OR LOW=LOWER0,LOW*0.99,'买进');
选股:=LOW<LOWER0 OR LOW=LOWER0;

 

解答如下:

M:=17;
MID:=EMA(CLOSE,M);
UPPER0:=MID+3*STD(CLOSE,M),COLORFF0000;
卖出:HIGH>UPPER0 OR HIGH=UPPER0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
M:=17;
MID:=EMA(CLOSE,M);
LOWER0:=MID-3*STD(CLOSE,M),COLORFF0000;
买进:LOW<LOWER0 OR LOW=LOWER0;

分享至:

相关推荐