[求助]漲幅不同分別平倉,怎么編寫? [金字塔]
- 咨詢內容:
條件A,開多;在平倉時,區分兩種情況:開倉價在昨天收盤價跌幅-1%以上的,按條件B平倉;但如果開倉價是在昨天收盤價跌幅-1%以下的,則按贏利兩跳平倉。請教下如何編寫,謝謝
- 金字塔客服:
if b and (enterprice-ref(close,todaybar))/ref(close,todaybar)<=-0.01 then 平倉語句
if (enterprice-ref(close,todaybar))/ref(close,todaybar)>-0.01 and (enterprice-ref(close,to;daybar))/ref(close,todaybar)<0 and h>=enterrpcie+2*mindiff then 平倉語句;
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 1145508240 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容