扬州林 发表于 2010-2-23 19:19

有买点的macd

DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA), COLORSTICK;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,0,0.3,8,0),COLORYELLOW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,0.2,8,0),COLORFF80FF;
DRAWICON(二次金叉,DEA*0.9,1) ;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,0,0.1,8,0),COLORRED;
DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;
DRAWTEXT(低位金叉 OR 二次金叉 OR 底背离,0,' 买'),COLORLIBLUE;
XG:低位金叉 OR 二次金叉 OR 底背离;
选: EMA(CLOSE,12)-EMA(CLOSE,26)>0 AND MACD>0;
1 大家都知道,macd是中线指标,可能会有点滞后,但是出现后可能后面的行情比较好。
2 想提前知道,可用60分钟
3 一定要结合别的指标,才好用。一个指标不可能解决问题。


yase130 发表于 2018-11-17 11:47

DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA), COLORSTICK;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,0,0.3,8,0),COLORYELLOW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,0.2,8,0),COLORFF80FF;
DRAWICON(二次金叉,DEA*0.9,1) ;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,0,0.1,8,0),COLORRED;
DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;
DRAWTEXT(低位金叉 OR 二次金叉 OR 底背离,0,' 买'),COLORLIBLUE;
XG:低位金叉 OR 二次金叉 OR 底背离;
选: EMA(CLOSE,12)-EMA(CLOSE,26)>0 AND MACD>0;

学习一下啦 发表于 2014-3-9 14:16

:)学习一下啦:)

速战快乐赚钱 发表于 2018-11-16 11:45

很受启发,谢谢了

东北蛙 发表于 2010-2-23 19:27

有买点的macd

罗蹦蹦 发表于 2010-2-23 19:29

学习学习!

兴安岭 发表于 2010-2-23 19:32

顺势而为......!!!
非常感谢!

李杜 发表于 2010-2-23 19:36

ddddddddddddddddddddddddddddddddddddddd

北夜极光 发表于 2010-2-23 19:46

有买点的···

刘兵 发表于 2010-2-23 19:48

节日激情已退,生活回到原位,
过年吃喝很累,餐餐都是美味,
自己身体宝贵,开始清理肠胃,
白天多喝开水,晚上早点去睡,
大家友情珍贵,上述提醒免费

且歌且行 发表于 2010-2-23 19:59

ddddddddddddddddd

ctxiong 发表于 2010-2-23 20:02

学习了。楼主辛苦,,,,,,,,,,
只有好好学习,才能他天天向上!!!!

江苏扬州读者 发表于 2010-2-23 20:11

只有好好学习,才能他天天向上!!!!

么么茶 发表于 2010-2-23 20:17

回复 1# 扬州林


    谢谢老师。这个有未来吗,请指教。

成大华 发表于 2010-2-23 20:21

哈哈哈哈哈哈

(独狼) 发表于 2010-2-23 20:25

有买点的macd

爱拼才会赢啊 发表于 2010-2-23 21:03

宋德福的升幅随碟附送地方的升幅随碟附送地方

一冲飞天 发表于 2010-2-23 21:41

888888888888888888
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 有买点的macd