zfl761028 发表于 2017-4-5 17:00

哪位高人能把这个副图公式改成选股公式,选出抄底的个股,多谢了

DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEA:=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00;
红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED;
STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE;
STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW;
DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);
DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
强1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED,LINETHICK2;
强2:IF(DEA<DIFF,DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;
抄底:=ABS((CROSS("MACD.DIF","MACD.DEA")
&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.09,COLORLIMAGENTA,LINETHICK2;
DRAWTEXT(ABS(抄底)>0,抄底,' 抄底'),COLORRED;
DRAWICON(ABS(抄底)>0,抄底,9);

ffjy 发表于 2017-4-5 20:57

DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEA:=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
抄底:ABS((CROSS("MACD.DIF","MACD.DEA")
&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.09,COLORLIMAGENTA,LINETHICK2;

fj5605 发表于 2017-4-7 06:52


谢谢楼主分享,辛苦了!

652634278 发表于 2017-4-7 09:15


谢谢你的分享啊!

清心@ 发表于 2017-5-2 12:12

DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEA:=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
CROSS(DIFF,DEA);

魏青山 发表于 2017-5-2 12:40

辛苦了!辛苦了!

在水一方12 发表于 2017-5-2 13:25

谢谢楼主分享

在水一方12 发表于 2017-5-2 13:32

谢谢楼主分享

在水一方12 发表于 2017-5-2 13:59

谢谢楼主分享

绿谷天籁 发表于 2017-5-2 18:23

本帖最后由 绿谷天籁 于 2017-5-2 18:35 编辑

DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEA:=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
抄底:ABS((CROSS("MACD.DIF","MACD.DEA")
&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.09;

绿谷天籁 发表于 2017-5-2 18:35

DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEA:=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
抄底:ABS((CROSS("MACD.DIF","MACD.DEA")
&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.09;

18920289855 发表于 2017-5-3 15:33

:handshake

逆进而行 发表于 2017-6-10 09:09


学习学习学习

3163106208 发表于 2017-6-28 18:16

学习学习学习

sjh2108 发表于 2017-6-29 14:49

正确的公式如下:
DIFF:=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
绿柱消失买入:=STICKLINE(DIFF<0,0,DIFF,2,0);
红柱消失卖出:=STICKLINE(DIFF>=0,0,DIFF,2,0) ;
强1:=IF(DIFF>DEA,DIFF,DRAWNULL) ;
强2:=IF(DEA<DIFF,DEA,DRAWNULL) ;
抄底:=ABS((CROSS("MACD.DIF","MACD.DEA")
&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.09 ;
XG:ABS(抄底)>0 ;
页: [1] 2
查看完整版本: 哪位高人能把这个副图公式改成选股公式,选出抄底的个股,多谢了