卖出和买进两个选股公式
-
相关简介:编写要求: www.guhai.com.cn 股海网解答: 网友求助: 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(HIGHUPPER0 OR HIGH=UPPER0
-
文章来源:股海网作者:股海网发布时间:2019-03-18浏览次数:
编写要求:
www.guhai.com.cn股海网解答:
网友求助:
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;
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;
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;
上一篇:止损预警
下一篇:把郑云的“青春之歌”出现红块做成选股公式