股票论坛

标题: 请老师做个(进)选股公式,先在这里谢谢了!! [打印本页]

作者: 心诚    时间: 2016-8-3 17:21
标题: 请老师做个(进)选股公式,先在这里谢谢了!!
源码:

MA5:MA(CLOSE,5),LINETHICK1,COLORGREEN;
MA10:MA(CLOSE,10),LINETHICK1,COLORRED;
_现价:CLOSE,COLORWHITE,NODRAW;
_10日涨跌%: (C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORGREEN,NODRAW;
给:=EMA(C,2),COLORRED;
力:=EMA(SLOPE(C,9)*20+C,37);
买:=CROSS(给,力);
卖:=CROSS(力,给);
DRAWICON(买,L*0.97,1);
DRAWTEXT(买,L*0.95,'进'),COLORYELLOW;
DRAWICON(卖,H*1.03,2);
DRAWTEXT(卖,H*1.08,'撤'),COLORWHITE;
STICKLINE(给>=力,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(给>=力,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(给>=力,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(给>=力,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(给<力,LOW,HIGH,0.01,0),COLORFFDD00;
STICKLINE(给<力,CLOSE,OPEN,2,0),COLORFFFF00;
STICKLINE(CROSS(给,力),OPEN,CLOSE,2.5,0),COLORYELLOW;
STICKLINE(CROSS(力,给),OPEN,CLOSE,2.5,0),COLORWHITE;



作者: 甘代津    时间: 2016-8-3 17:21
买:
MA5:=MA(CLOSE,5),LINETHICK1,COLORGREEN;
MA10:=MA(CLOSE,10),LINETHICK1,COLORRED;
_现价:=CLOSE,COLORWHITE,NODRAW;
_10日涨跌%:=(C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORGREEN,NODRAW;
给:=EMA(C,2),COLORRED;
力:=EMA(SLOPE(C,9)*20+C,37);
买:CROSS(给,力);

卖:
MA5:=MA(CLOSE,5),LINETHICK1,COLORGREEN;
MA10:=MA(CLOSE,10),LINETHICK1,COLORRED;
_现价:=CLOSE,COLORWHITE,NODRAW;
_10日涨跌%: =(C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORGREEN,NODRAW;
给:=EMA(C,2),COLORRED;
力:=EMA(SLOPE(C,9)*20+C,37);
卖:CROSS(力,给);

作者: 蓝天水秀    时间: 2016-8-12 09:18
请哪位大师编写一个指标:
1.MACD绿柱背离
2.MACD背离
3.满足上面两个条件,分别在主图的K线下方用箭头表示出来。谢谢!





欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2