Type/to search

Trading Strategy of Traditional MA Index and KD Index

MA
0
Follow
18
Followers
  • Data Cycle: 15M, 30M, etc.

  • Support: Commodity Futures

  • Indicators are EMA, KD lines, and KD line use default parameters (index parameters fixed 3, 3, 9)

    img
    img

  • Main chart:
    EMA mean, formula: MAC ^^ EMA (C, N);

  • Secondary chart:
    K line in KD, formula: K: SMA (RSV, M1, 1); //RSV moving average
    D line in KD, formula: D: SMA (K, M2, 1); //K moving average value

Source
MyLang
(*backtest
start: 2018-04-01 00:00:00
end: 2018-05-15 00:00:00
period: 30m
exchanges: [{"eid":"Futures_BitMEX","currency":"XBT_USD"}]
args: [["TradeAmount",100,126961],["ContractType","XBTUSD",126961]]
*)

MAC^^EMA(C,N);

NKD:=9;
M1:=3;
Strategy parameters
Strategy parameters
stop loss percentage
EMA parameter
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)