人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

您現在的位置:程序化交易>> 期貨公式>> 博易大師>> 博易大師知識>>正文內容

指標在5.2 14 使用正常,但在5.4 24版本不能正常使用,懇請老師修改一下。 [博易POBO]

咨詢內容:

指標在5.2 14 使用正常,但在5.4 24版本不能正常使用,懇請老師修改一下。

?A1 := IF(((REF(CLOSE,1) >= REF(CLOSE,5)) AND (CLOSE < REF(CLOSE,4))),1,0);
?A2 := IF(((REFX(CLOSE,1) < REF(CLOSE,3)) AND (A1 = 1)),2,0);
?A3 := IF(((REFX(CLOSE,2) < REF(CLOSE,2)) AND (A2 = 2)),3,0);
?A4 := IF(((REFX(CLOSE,3) < REF(CLOSE,1)) AND (A3 = 3)),4,0);
?A5 := IF(((REFX(CLOSE,4) < CLOSE) AND (A4 = 4)),5,0);
?A6 := IF(((REFX(CLOSE,5) < REFX(CLOSE,1)) AND (A5 = 5)),6,0);
?A7 := IF(((REFX(CLOSE,6) < REFX(CLOSE,2)) AND (A6 = 6)),7,0);
?A8 := IF(((REFX(CLOSE,7) < REFX(CLOSE,3)) AND (A7 = 7)),8,0);
?A9 := IF(((REFX(CLOSE,8) < REFX(CLOSE,4)) AND (A8 = 8)),9,0);
?B1 := IF((A9 = 9),1,0);
?B2 := IF((REF(A9,1) = 9),2,0);
?B3 := IF((REF(A9,2) = 9),3,0);
?B4 := IF((REF(A9,3) = 9),4,0);
?B5 := IF((REF(A9,4) = 9),5,0);
?B6 := IF((REF(A9,5) = 9),6,0);
?B7 := IF((REF(A9,6) = 9),7,0);
?B8 := IF((REF(A9,7) = 9),8,0);
?B9 := IF((REF(A9,8) = 9),9,0);
?M1 := ((((((((B1 + B2) + B3) + B4) + B5) + B6) + B7) + B8) + B9);
?DRAWTEXT((M1 = 1),(LOW * 0.998),'1'),COLORFF00FF;
?DRAWTEXT((M1 = 2),(LOW * 0.998),'2'),COLORFF00FF;
?DRAWTEXT((M1 = 3),(LOW * 0.998),'3'),COLORFF00FF;
?DRAWTEXT((M1 = 4),(LOW * 0.998),'4'),COLORFF00FF;
?DRAWTEXT((M1 = 5),(LOW * 0.998),'5'),COLORFF00FF;
?DRAWTEXT((M1 = 6),(LOW * 0.998),'6'),COLORFF00FF;
?DRAWTEXT((M1 = 7),(LOW * 0.998),'7'),COLORFF00FF;
?DRAWTEXT((M1 = 8),(LOW * 0.998),'8'),COLORFF00FF;
?AA1 := IF((CLOSE < REF(CLOSE,4)),1,0);
?AA2 := IF(((CLOSE < REF(CLOSE,4)) AND (REF(AA1,1) = 1)),1,0);
?AA3 := IF(((CLOSE < REF(CLOSE,4)) AND (REF(AA2,1) = 1)),1,0);
?AA4 := IF(((CLOSE < REF(CLOSE,4)) AND (REF(AA3,1) = 1)),1,0);
?AA5 := IF(((CLOSE < REF(CLOSE,4)) AND (REF(AA4,1) = 1)),1,0);
?AA6 := IF(((CLOSE < REF(CLOSE,4)) AND (REF(AA5,1) = 1)),1,0);
?AA7 := IF(((CLOSE < REF(CLOSE,4)) AND (REF(AA6,1) = 1)),1,0);
?AA8 := IF(((CLOSE < REF(CLOSE,4)) AND (REF(AA7,1) = 1)),1,0);
?AA9 := IF(((CLOSE < REF(CLOSE,4)) AND (REF(AA8,1) = 1)),1,0);
?BB1 := IF(((AA9 = 1) AND (REF(AA9,1) = 0)),1,0);
?DRAWTEXT((BB1 = 1),(LOW * 0.998),'9'),COLORGREEN;
?A11 := IF(((REF(CLOSE,1) <= REF(CLOSE,5)) AND (CLOSE > REF(CLOSE,4))),1,0);
?A21 := IF(((REFX(CLOSE,1) > REF(CLOSE,3)) AND (A11 = 1)),2,0);
?A31 := IF(((REFX(CLOSE,2) > REF(CLOSE,2)) AND (A21 = 2)),3,0);
?A41 := IF(((REFX(CLOSE,3) > REF(CLOSE,1)) AND (A31 = 3)),4,0);
?A51 := IF(((REFX(CLOSE,4) > CLOSE) AND (A41 = 4)),5,0);
?A61 := IF(((REFX(CLOSE,5) > REFX(CLOSE,1)) AND (A51 = 5)),6,0);
?A71 := IF(((REFX(CLOSE,6) > REFX(CLOSE,2)) AND (A61 = 6)),7,0);
?A81 := IF(((REFX(CLOSE,7) > REFX(CLOSE,3)) AND (A71 = 7)),8,0);
?A91 := IF(((REFX(CLOSE,8) > REFX(CLOSE,4)) AND (A81 = 8)),9,0);
?B11 := IF((A91 = 9),1,0);
?B21 := IF((REF(A91,1) = 9),2,0);
?B31 := IF((REF(A91,2) = 9),3,0);
?B41 := IF((REF(A91,3) = 9),4,0);
?B51 := IF((REF(A91,4) = 9),5,0);
?B61 := IF((REF(A91,5) = 9),6,0);
?B71 := IF((REF(A91,6) = 9),7,0);
?B81 := IF((REF(A91,7) = 9),8,0);
?B91 := IF((REF(A91,8) = 9),9,0);
?M11 := ((((((((B11 + B21) + B31) + B41) + B51) + B61) + B71) + B81) + B91);
?DRAWTEXT((M11 = 1),(HIGH * 1.004),'1'),COLORFF00FF;
?DRAWTEXT((M11 = 2),(HIGH * 1.004),'2'),COLORFF00FF;
?DRAWTEXT((M11 = 3),(HIGH * 1.004),'3'),COLORFF00FF;
?DRAWTEXT((M11 = 4),(HIGH * 1.004),'4'),COLORFF00FF;
?DRAWTEXT((M11 = 5),(HIGH * 1.004),'5'),COLORFF00FF;
?DRAWTEXT((M11 = 6),(HIGH * 1.004),'6'),COLORFF00FF;
?DRAWTEXT((M11 = 7),(HIGH * 1.004),'7'),COLORFF00FF;
?DRAWTEXT((M11 = 8),(HIGH * 1.004),'8'),COLORFF00FF;
?AA11 := IF((CLOSE > REF(CLOSE,4)),1,0);
?AA21 := IF(((CLOSE > REF(CLOSE,4)) AND (REF(AA11,1) = 1)),1,0);
?AA31 := IF(((CLOSE > REF(CLOSE,4)) AND (REF(AA21,1) = 1)),1,0);
?AA41 := IF(((CLOSE > REF(CLOSE,4)) AND (REF(AA31,1) = 1)),1,0);
?AA51 := IF(((CLOSE > REF(CLOSE,4)) AND (REF(AA41,1) = 1)),1,0);
?AA61 := IF(((CLOSE > REF(CLOSE,4)) AND (REF(AA51,1) = 1)),1,0);
?AA71 := IF(((CLOSE > REF(CLOSE,4)) AND (REF(AA61,1) = 1)),1,0);
?AA81 := IF(((CLOSE > REF(CLOSE,4)) AND (REF(AA71,1) = 1)),1,0);
?AA91 := IF(((CLOSE > REF(CLOSE,4)) AND (REF(AA81,1) = 1)),1,0);
?BB11 := IF(((AA91 = 1) AND (REF(AA91,1) = 0)),1,0);
?DRAWTEXT((BB11 = 1),(HIGH * 1.004),'9'),COLORGREEN;

?

?來源:程序化99網( www.kzuj.com.cn )

博易技術人員: 您好,這個代碼我復制進去能夠正常顯示啊?對比了老版本顯示的也是一樣的,請問能否詳細描述下問題。 指標不錯,短期可以用用 來源 程序化久久網

 

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

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


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 毛片在线看免费版 | 美国成人免费视频 | 婷婷六月丁 | 一级毛片免费在线 | 欧美一区二区三区免费播放 | 很很在线视频观看 | v视界影院视频一区二区三区 | 亚洲午夜久久 | h网站免费在线观看 | 日韩欧美不卡一区二区三区 | 99视频在线精品 | 这里只有精品在线播放 | 在线看www | 麻豆精品传媒一二三区在线视频 | 成人午夜免费在线观看 | 久久精品国产久精国产果冻传媒 | 中国性xxx免费视频 中国野外性xxxx | 亚洲一区免费视频 | 欧美日韩免费看 | 香蕉视频首页 | 成人18免费网站在线观看 | 99在线热播精品免费 | 青春草免费视频 | 一区二区在线观看视频 | 亚洲免费小视频 | 亚洲成熟xxxx | 成人夜夜 | 日韩激情淫片免费看 | 男女日日 | 国产亚洲精品拍拍拍拍拍 | 成人永久福利在线观看不卡 | 亚洲免费黄色网址 | video欧美 | 国产精品欧美激情第一页 | 亚洲伊人久久综合影院2021 | 操美女影院 | 天天射视频 | 在线免费观看a视频 | 免费午夜在线视频 | 曰批免费视频播放免费观看网站 | 欧美成人性色xxxx视频 |