您現在的位置:程序化交易>> 期貨公式>> 文華財經>> 文華財經知識>>正文內容

請修改文化指標 [文華財經]

  • 咨詢內容: ?DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9);MACD:(DIF-DEA)*2,COLORSTICK;低位金叉:CROSS(DIF,DEA) AND DIF<-0.1,NODRAW,COLORFFFF11;STICKLINE(低位金叉 AND PERIOD>1,0,-0.10,1,0),COLORYELLOW;DRAWTEXT(低位金叉,DIF,'金叉ICON',COLORYELLOW;JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,NODRAW,COLORLIMAGENTA;STICKLINE(MACD>=0,MACD,0,0.01,1),COLORF00FF0;STICKLINE(二次金叉 AND PERIOD>1,0,MACD*1.001,1,0),COLORFF00FF;DRAWICON(二次金叉 AND PERIOD>1,DEA*1.004,13) ;DRAWTEXT(二次金叉,DIF,?金叉',COLORFFFF46;連綠:BARSLASTCOUNT(MACD<0),COLORGREEN,NODRAW;連紅:BARSLASTCOUNT(MACD>0),NODRAW,COLORRED;連高:BARSLASTCOUNT(MACD>REF(MACD,1)),COLORYELLOW,NODRAW;連低:BARSLASTCOUNT(MACD<REF(MACD,1)),COLORFFFF11,NODRAW;A11:=BARSLAST(REF(CROSS(DIF,DEA),1));底背:=REF(CLOSE,A11+1)>CLOSE AND DIF>REF(DIF,A11+1) AND CROSS(DIF,DEA);STICKLINE(底背 AND PERIOD>1,0,MACD,1,0),COLORRED;DRAWTEXT(底背,DEA*0.1,'背',COLORYELLOW;A21:=BARSLAST(REF(CROSS(DEA,DIF),1));頂背:=REF(CLOSE,A21+1)<CLOSE AND REF(DIF,A21+1)>DIF AND CROSS(DEA,DIF);DRAWTEXT(頂背,DEA,'背',COLORYELLOW;STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,0.001,0),COLORAA00BB;STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,0.001,0),COLORFFAA00;STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,0.001,0),COLOR00AAFF;STICKLINE(MACD>=REF(MACD,1) AND MACD>0,0,MACD,0.001,0),COLOR0000AA;DRAWICON(CROSS(DIF,DEA),DEA,1);DRAWICON(CROSS(DEA,DIF),DEA,2);IF(DIF>DEA,DIF,DRAWNULL),COLORRED;IF(DEA<DIF,DEA,DRAWNULL),COLORLIBLUE,LINETHICK1;

    ?

    ?來源:程序化99

  • 文華技術人員: ?參考:
    DIF:EMA(CLOSE,12)-EMA(CLOSE,26); DEA:EMA(DIF,9); MACD:(DIF-DEA)*2,COLORSTICK; 低位金叉:CROSS(DIF,DEA) AND DIF<-0.1,NODRAW,COLORFFFF11; STICKLINE(低位金叉 AND PERIOD>1,0,-0.10,1,0),COLORYELLOW; DRAWTEXT(低位金叉,DIF,'金叉ICON',COLORYELLOW; JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0)); 二次金叉:CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,NODRAW,COLORMAGENTA; STICKLINE(MACD>=0,MACD,0,0.01,1),COLORF00FF0; STICKLINE(二次金叉 AND PERIOD>1,0,MACD*1.001,1,0),COLORFF00FF; DRAWICON(二次金叉 AND PERIOD>1,DEA*1.004,13) ; DRAWTEXT(二次金叉,DIF,'次金叉',COLORFFFF46; 連綠:BARSLASTCOUNT(MACD<0),COLORGREEN,NODRAW; 連紅:BARSLASTCOUNT(MACD>0),NODRAW,COLORRED; 連高:BARSLASTCOUNT(MACD>REF(MACD,1)),COLORYELLOW,NODRAW; 連低:BARSLASTCOUNT(MACD<REF(MACD,1)),COLORFFFF11,NODRAW; A11:=BARSLAST(REF(CROSS(DIF,DEA),1)); 底背:=REF(CLOSE,A11+1)>CLOSE AND DIF>REF(DIF,A11+1) AND CROSS(DIF,DEA); STICKLINE(底背 AND PERIOD>1,0,MACD,1,0),COLORRED; DRAWTEXT(底背,DEA*0.1,'背',COLORYELLOW; A21:=BARSLAST(REF(CROSS(DEA,DIF),1)); 頂背:=REF(CLOSE,A21+1)<CLOSE AND REF(DIF,A21+1)>DIF AND CROSS(DEA,DIF); DRAWTEXT(頂背,DEA,'背',COLORYELLOW; STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,0.001,0),COLORAA00BB; STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,0.001,0),COLORFFAA00; STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,0.001,0),COLOR00AAFF; STICKLINE(MACD>=REF(MACD,1) AND MACD>0,0,MACD,0.001,0),COLOR0000AA; DRAWICON(CROSS(DIF,DEA),DEA,1); DRAWICON(CROSS(DEA,DIF),DEA,2); IF(DIF>DEA,DIF,NULL),COLORRED; IF(DEA<DIF,DEA,NULL),COLORBLUE,LINETHICK1;

 

有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友

可聯系技術人員 QQ: 262069696  點擊在線交流或微信號:cxh99cxh99  進行 有償收費 編寫!

怎么收費,代編流程等詳情請點擊閱讀!

(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 亚洲综合综合在线| 国产尤物在线视精品在亚洲| 久久久久99精品成人片欧美| 欧美裸体XXXX极品少妇| 国产一级一级毛片| 永久看日本大片免费35分钟| 嫩草影院在线视频| 久久国产劲暴∨内射| 欧美日韩在线观看视频| 再深点灬再大点灬舒服| 颤声娇是什么意思| 国产精品高清m3u8在线播放| 一级做a毛片免费视频| 日韩在线一区二区三区免费视频| 亚洲精品一区二区三区四区乱码| 中文字幕羽月希黑人侵犯| 欧美精品一二三| 午夜香港三级在线观看网| 99久久精品国产一区二区三区| 欧美三级在线观看视频| 免费在线观看污视频网站| 青草青草视频2免费观看| 国产精品手机在线亚洲| jizz国产视频| 无翼乌无遮挡h肉动漫在线观看| 亚洲一级理论片| 特级做a爰片毛片免费看无码| 国产精品2019| caopon国产在线视频| 手机在线看片国产日韩生活片| 亚洲精品在线网站| 美女扒开大腿让男人桶| 国产成人亚洲精品无码车a | 中文乱码精品一区二区三区 | 欧美俄罗斯乱妇| 国产乱子伦一区二区三区| 18女人腿打开无遮挡软| 天天干天天射天天操| 中文字幕一区二区三区久久网站| 日韩精品无码一区二区三区| 亚洲国产日韩欧美一区二区三区|