加入跨周期語句圖表顯示不正常 [金字塔]
-
咨詢內容:
在1分鐘為周期的圖表交易程序中,加入了如下跨周期引用語句,圖表顯示就不正常了,請問是什么原因?如何解決?
kong601:stkindi('','空頭開空小時.kongshiti',0,5); kong602:stkindi('','空頭開空小時.kongxiaoxian',0,5); kong603:stkindi('','空頭開空小時.kongshiti2',0,5);
kong60:=kong601 or kong602 or kong603;
附件:加入前:2.jpg ?加入后:1.jpg?
-
金字塔客服:
以下是“空頭開空小時”技術指標
kongshiti:ma(c,5)<ma(c,10) and ma(c,10)<ma(c,20) and ma(c,10)<ma(c,120) and c<ma(c,5) // 近期均線對遠期空頭排列 5《10 ?c《5 and o>c and o-c>c-l and o-c>h-o ?//實體陰線 and not(o<ma(c,5) and h>ma(c,5)) ?//排除 開5線上 最高穿5線 and not(o>ma(c,5) and o>ma(c,10)) // 排除穿兩線 and not(o/c<1+35/10000) //實體大于 35 and not((c-l)/(o-c)>0.3); //下影線比實體小于0.3 ? kongshiti2:ma(c,5)<ma(c,20) and ma(c,5)<ma(c,120) and ma(c,5)>ma(c,10) and ma(c,10)<ma(c,20) and ma(c,10)<ma(c,120) and c<ma(c,10) ?// 近期均線對遠期空頭排列 10<5 ?c《10 ? and o>c and o-c>c-l //實體陰線
? and not(o/c<1+35/10000) //實體大于 35 ? and not((c-l)/(o-c)>0.3); ?//下影線比實體小于0.3
kongxiaoxian:ma(c,5)<ma(c,10) and ma(c,10)<ma(c,20) and ma(c,10)<ma(c,120) and h<ma(c,5) and h<ma(c,10) ?// 近期均線對遠期空頭排列 5《10 ?h《5 and max(c,o)/min(c,o)<1+10/10000 ?// 小實體陰陽 and not(h-max(c,o)>max(c,o)-l); ? // 排除長上影線?
?來源:程序化久久網( www.kzuj.com.cn )
-
用戶回復:
這個程序測試都是正常的,但圖表顯示時,k線都被壓縮成一條線,不知為什么?
?
-
網友回復:
改了一下坐標屬性,正常了。
?
- 網友回復: k線被壓縮了,你在價格坐標軸上右鍵,勾選僅隨k線變動
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容