您現在的位置:程序化交易>> 股票公式>> 同花順>> 同花順公式>>正文內容

MACD彩帶速率副圖指標公式源碼 自制MACD填色[同花順公式]

相關標簽:

?

1,粉紅是多頭上漲,不做賣出
2,大紅是空頭反彈
3,綠色是多頭回調
4,藍色是空頭下跌,不做買入
5,白色為原速率開始減緩,后續有可能會出現變盤點,以金叉或死叉為變盤點
6,配合KDJ或DMI指標

?

?

原理解析:


?

?來源:程序化99( www.tumamayizhan.com )

源碼:

?

?

DIFF :EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;
DEA :EMA(DIFF,9),coloryellow;
MACD : 2*(DIFF-DEA);
ZERO:0;
DRAWICON(CROSS(DIFF,DEA),DEA*1.02,1);
DRAWICON(CROSS(DEA,DIFF),DEA*0.98,2);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>0 AND DIFF>REF(DIFF,1) AND DEA>REF(DEA,1),colorlired);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>0 AND DIFF>REF(DIFF,1) AND DEA<REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>0 AND DIFF<=REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>0 AND DIFF<=REF(DIFF,1) AND DEA<REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF<0 AND DIFF>REF(DIFF,1) AND DEA>REF(DEA,1),colorred);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF<0 AND DIFF>REF(DIFF,1) AND DEA<REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF<0 AND DIFF<=REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF<0 AND DIFF<=REF(DIFF,1) AND DEA<REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF>0 AND DIFF<REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF>0 AND DIFF<REF(DIFF,1) AND DEA<REF(DEA,1),colorgreen);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF>0 AND DIFF>=REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF>0 AND DIFF>=REF(DIFF,1) AND DEA<REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF<0 AND DIFF<REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF<0 AND DIFF<REF(DIFF,1) AND DEA<REF(DEA,1),colorblue);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF<0 AND DIFF>=REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF<0 AND DIFF>=REF(DIFF,1) AND DEA<REF(DEA,1),colorwhite);
TIPTEXT(ISNULL(REFX(&CLOSE,1)),0,' www.tumamayizhan.com '),colorred;
TIPTEXT(ISNULL(REF(CLOSE,1)),0,'同花順程序化交易');

?

公式導入教程: 【通達信公式源碼導入方法教程】 【同花順公式源碼導入方法教程】 【大智慧新一代公式源碼導入方法教程

?

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯系技術人員 QQ: 1145508240  點擊這里給我發消息進行 有償 編寫!不貴!點擊查看價格!

 


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
  主站蜘蛛池模板: 国产日韩欧美成人| 狠狠色先锋资源网| 欧美在线色视频| 色噜噜狠狠色综合欧洲selulu| 竹菊影视欧美日韩一区二区三区四区五区| 污视频网站观看| 日韩电影免费观看| 精品国产亚洲第一区二区三区| 爱情论坛免费在线看| 日本黄色电影在线| 国内精品久久人妻互换| 国产乱人伦偷精品视频| 亚洲欧美另类综合日韩| 中文乱码字幕午夜无线观看| 51视频精品全部免费最新| 草草久久久无码国产专区| 涩涩涩在线视频| 日本高清中文字幕在线观穿线视频| 波多野结衣免费在线观看| 欧洲卡一卡二卡在线| 成在线人视频免费视频| 国产精品露脸国语对白河北| 国产深夜福利在线观看网站| 无码日韩AV一区二区三区| 娇妻之欲海泛舟1一42| 欧美中文字幕在线视频| 欧美a级毛欧美1级a大片| 好大好深别停视频视频| 国内大量揄拍人妻精品視頻| 国产乱妇无码大黄aa片| 亚洲国产三级在线观看| 一级做a爰片毛片| 亚洲AV一二三区成人影片| 亚洲国产成人久久综合一区77| 亚欧日韩毛片在线看免费网站| 久久精品欧美日韩精品| 免费国产成人手机在线观看 | 亚洲成av人片在线观看无| 制服丝袜日韩欧美| 二区久久国产乱子伦免费精品| 女人张开腿让男人桶视频免费大全 |