bvcnn1222 发表于 2016-12-6 00:03

谁可以把这个股票指标改成选股公式

A:=V*100/CAPITAL;
XHM:=MA(A,180);
DIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
MACD0:=2*(DIFF0-DEA0);
爆发点: (MACD0>REF(MACD0,1)*2.5 AND MACD0>15),COLORFF00FF;
STICKLINE(爆发点,00,30,6.0,0),COLORMAGENTA;
DRAWTEXT(爆发点,33,'↑爆发点'),COLORWHITE;
地狱底:0,COLORGRAY;
地狱线:10,COLORGRAY;
地平线:20,COLORLIMAGENTA;
天际线:80,COLORGRAY;
RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
神仙:SMA(RSV,7,1),COLORWHITE,LINETHICK3;
魔鬼:SMA(SMA(RSV,7,1),3,1),COLORYELLOW,LINETHICK3;
轨迹:SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORRED,LINETHICK3;
财神到:IF(CROSS(神仙,20),20,0),POINTDOT;
DRAWICON((CROSS(神仙,20)),5,1);
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
MRD:=CROSS(FF,MA15);
DRAWTEXT(MRD ,25 ,'买' ),COLORFFFFFF;
买: IF(MRD ,20 ,0),COLORFFFFFF,LINETHICK3;

阳光正好 发表于 2016-12-6 03:15

谢谢分享!!!!!!!!!!!!!!!!

童心缘 发表于 2016-12-6 06:57

有未来小心使用

wuxiaoyanyan 发表于 2016-12-6 16:28

最后两行不要,换成XG:MRD;就行了

云中山 发表于 2016-12-6 17:30

A:=V*100/CAPITAL;
XHM:=MA(A,180);
DIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
MACD0:=2*(DIFF0-DEA0);
爆发点: (MACD0>REF(MACD0,1)*2.5 AND MACD0>15),COLORFF00FF;
STICKLINE(爆发点,00,30,6.0,0),COLORMAGENTA;
DRAWTEXT(爆发点,33,'↑爆发点'),COLORWHITE;
地狱底:0,COLORGRAY;
地狱线:10,COLORGRAY;
地平线:20,COLORLIMAGENTA;
天际线:80,COLORGRAY;
RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
神仙:SMA(RSV,7,1),COLORWHITE,LINETHICK3;
魔鬼:SMA(SMA(RSV,7,1),3,1),COLORYELLOW,LINETHICK3;
轨迹:SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORRED,LINETHICK3;
财神到:IF(CROSS(神仙,20),20,0),POINTDOT;
DRAWICON((CROSS(神仙,20)),5,1);
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
MRD:=CROSS(FF,MA15);
DRAWTEXT(MRD ,25 ,'买' ),COLORFFFFFF;
买: IF(MRD ,20 ,0),COLORFFFFFF,LINETHICK3;
选股:mrd;
{兄弟,这样的指标多的是,不是太准,只可作为参考,还得从量价关系上分析。}
{选股时综合选股,选股=1即可}

密码就是123 发表于 2016-12-6 18:38

此公式用到了未来函数的,建议不要用。

bvcnn1222 发表于 2016-12-6 20:06

当前公式 : 爆发点 (条件选股公式)
错误句 :
财神到:IF(CROSS(神仙,20),20,0),POINTDOT
详细信息 : 不是指标画线公式,不能指定画线类型!
错误起始位置 : 530 ; 长度: 3

xiedao 发表于 2016-12-7 06:38

爆发点 选股

A:=V*100/CAPITAL;
XHM:=MA(A,180);
DIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
MACD0:=2*(DIFF0-DEA0);
爆发点: (MACD0>REF(MACD0,1)*2.5 AND MACD0>15),COLORFF00FF;

财神到 选股

RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
神仙:=SMA(RSV,7,1);
财神到:CROSS(神仙,20);

买点 选股
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
MRD:=CROSS(FF,MA15);
买: IF(MRD ,20 ,0);



东升123 发表于 2016-12-7 06:52


A:=V*100/CAPITAL;
XHM:=MA(A,180);
DIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
MACD0:=2*(DIFF0-DEA0);
爆发点: (MACD0>REF(MACD0,1)*2.5 AND MACD0>15),COLORFF00FF;
STICKLINE(爆发点,00,30,6.0,0),COLORMAGENTA;
DRAWTEXT(爆发点,33,'↑爆发点'),COLORWHITE;
地狱底:0,COLORGRAY;
地狱线:10,COLORGRAY;
地平线:20,COLORLIMAGENTA;
天际线:80,COLORGRAY;
RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
神仙:SMA(RSV,7,1),COLORWHITE,LINETHICK3;
魔鬼:SMA(SMA(RSV,7,1),3,1),COLORYELLOW,LINETHICK3;
轨迹:SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORRED,LINETHICK3;
财神到:IF(CROSS(神仙,20),20,0),POINTDOT;
DRAWICON((CROSS(神仙,20)),5,1);
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
MRD:=CROSS(FF,MA15);
DRAWTEXT(MRD ,25 ,'买' ),COLORFFFFFF;
买: IF(MRD ,20 ,0),COLORFFFFFF,LINETHICK3;

wawaya 发表于 2016-12-7 09:02

有未来函数DCLOSE 谨慎使用

班上英 发表于 2016-12-25 15:44

A:=V*100/CAPITAL;
XHM:=MA(A,180);
DIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
MACD0:=2*(DIFF0-DEA0);
爆发点:= (MACD0>REF(MACD0,1)*2.5 AND MACD0>15);



RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
神仙:=SMA(RSV,7,1);
魔鬼:=SMA(SMA(RSV,7,1),3,1);
轨迹:=SMA(SMA(SMA(RSV,6,1),5,1),3,1);
财神到:=IF(CROSS(神仙,20),20,0);

LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
MRD:=CROSS(FF,MA15);

买: IF(MRD ,20 ,0);

无幽谷 发表于 2016-12-25 16:08

各位股友,我加入股海论坛以来,很想知道资深老师们是用的啥样的主图,有义气的股友给发一下,或者是告诉具体名称哪里有卖的。
页: [1]
查看完整版本: 谁可以把这个股票指标改成选股公式