Type/to search

Break High and Low - Volume Index Weighting Strategy

OKEX
0
Follow
18
Followers
  • Data cycle: multiple cycles

  • Backtest can choose OKEX futures

  • Contract: this_week contract

    img
    img

  • Main chart:
    none

  • Secondary chart:
    VJQ, calculation formula: VJQ: EMA (V* (C-REF (C, NC)), N)

Source
MyLang
(*backtest
start: 2018-04-01 00:00:00
end: 2018-05-28 00:00:00
period: 1h
exchanges: [{"eid":"Futures_OKCoin","currency":"BTC_USD"}]
args: [["N",100],["MINAMOUNT",10],["TradeAmount",10,126961],["ContractType","this_week",126961]]
*)

LOTS:=MAX(MINAMOUNT,INTPART(MONEYTOT/O * 0.8));
VJQ:EMA(V*(C-REF(C,NC)),N);
B:=VJQ>0;
S:=VJQ<0;
Strategy parameters
Strategy parameters
percentage of stop loss
EMA index parameter
closing price of how many cycles ago
minimum order quantity at a time
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)