價格突破前20天的最高價,怎么寫? [開拓者 TB]
- 咨詢內容:
價格突破前20天的最高價,怎么寫?
- TB技術人員:
有人在嗎?
- TB客服:
- Params
- Numeric length(20);
-
-
- Vars
- Numeric HH;
- Numeric LL;
-
- Begin
- hh = Highest(High[1],length);
- ll = Lowest(Low[1],length);
-
- PlotNumeric("hh",hh);
- PlotNumeric("ll", ll);
-
- If(high>=hh) Buy(0,Max(hh,open));
-
- If(low<=ll) SellShort(0,Min(ll,open));
-
-
- End
- Params
- 網友回復: 謝謝版主,學會了
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 1145508240 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容