在线QQ 发表于 2016-8-6 09:31

:victory::victory::victory:

qianbiao 发表于 2016-8-6 09:39

谢谢。。。

xuyoujiang1977 发表于 2016-8-6 09:47

谢谢楼主分享,楼主辛苦了

红土豆 发表于 2016-8-6 10:00

好好学习。。。。。

股市小学生ms 发表于 2016-8-6 10:03

看看怎样,谢谢楼主无私奉献!

倾听你的心声 发表于 2016-8-6 23:20

学习,我正在学习怎样写选股公式。

TX188 发表于 2016-8-7 21:26

周末快乐 谢谢分享!!!

胡一刀69 发表于 2016-8-7 21:42

通达信0轴上方MAC

zsiyun888 发表于 2016-8-7 21:44

                     非常好啊

开心古海 发表于 2016-8-7 21:57

IFF:EMA(CLOSE,12)-EMA(CLOSE,27); DEA:EMA(DIFF,9); MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK2; 低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1; STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW; DRAWTEXT(低位金叉,0.16,' 低位金叉'),COLORWHITE; JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0)); 二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1; STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF; DRAWICON(二次金叉,DEA*0.9,1) ; DRAWTEXT(二次金叉,0.2,' 二次金叉'),COLORYELLOW; 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.03,6,0),COLOR00FF00; 底背RAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK4; DRAWTEXT(底背离,0.12,' 底背离'),COLORFF00FF; A2:=BARSLAST(REF(CROSS(DEA,DIFF),1)); 顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF); 顶背RAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK4;DRAWTEXT(低位金叉 AND 二次金叉 AND 底背离,0.25,'三全项'),COLOR0000FF,LINETHICK2;

东升123 发表于 2016-8-8 21:43

谢谢版主,支持你。

540088073 发表于 2016-8-8 21:49

真的假的,不过还是先谢了

juanmaocup 发表于 2016-8-8 22:44

A:=AMOUNT/V/100; VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5); QQ:=EMA(((VARA/10)+EMA(A,13)),0); 行情线:=MA(A,1); 重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382; 【操盘线】:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK4; 【黄金线】:IF(重心>=【操盘线】,【操盘线】,DRAWNULL),COLORRED,LINETHICK2; 【空仓线】:IF(重心<【操盘线】,【操盘线】,DRAWNULL),COLORCYAN,LINETHICK2;{DRAWTEXT(ISLASTBAR,【操盘线】,【操盘线】),COLORRED;} {引:EMA(CLOSE,2),LINETHICK1,COLORMAGENTA; 探:MA(CLOSE,5),LINETHICK1;} 变:EMA(CLOSE,5),LINETHICK2,COLORYELLOW; 金:IF(变>REF(变,1),变,DRAWNULL),COLORRED,LINETHICK2; 空:IF(变<REF(变,1),变,DRAWNULL),COLORGREEN,LINETHICK2; {DRAWTEXT(ISLASTBAR,变,【雷达线】),COLORRED;} {顶底信号} DA:=(EMA(H,1)+EMA(L,1)+EMA(H,1)+EMA(H,1))/4; DB:=EMA(REF(HHV(H,25),1),2),COLORGREEN,LINETHICK1; {DRAWTEXT(CROSS(DB,DA),DB,←险),COLORGREEN,LINETHICK1;} DRAWTEXT(CROSS(DA,【操盘线】),【操盘线】-0.5,★B),COLORYELLOW,LINETHICK1; {涨跌停显示} 涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0); STICKLINE(涨停,O,C,3,0),COLORYELLOW; ZDF:=(C-REF(C,1))/REF(C,1)*100; STICKLINE(ZDF<-9.9,O,C,3,0),COLORGREEN; DA9:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4; DB9:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4; DRAWTEXT(CROSS(DA9-DB9,0),L*0.98,B),COLORYELLOW; JH9:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100; DRAWTEXT(CROSS(84,JH9),H*1.02,☆S),COLORGREEN;

8杯水 发表于 2016-8-23 16:31

期待你的分享。

KONGXIAO1 发表于 2016-8-23 18:56

知道vadfvfdbkvdblbxflb   
页: 9 10 11 12 13 14 15 16 17 18 [19] 20 21 22 23 24 25 26 27 28
查看完整版本: 通达信0轴上方MACD二次金叉选股公式源码