Type/to search

Stratégie de canal basée sur l'indicateur de volatilité ATR

OKEX
0
Follow
18
Followers
  • Nom : Stratégie de canal basée sur l'indicateur de volatilité ATR
  • Idée : Stratégie de canal adaptative, stop-loss fixe + take-profit flottant
  • Période de données : Multi-périodes
  • OKEX Futures
  • Contrat : this_week (semaine en cours)
  • Site officiel : www.quantinfo.com

img

  • Graphique principal :
    Tracer UBAND, formule : UBAND^^MAC+MATR;
    Tracer DBAND, formule : DBAND^^MAC-M
    ATR;

  • Graphique secondaire :
    Aucun

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

TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TR1,N);
MAC:=MA(C,N);
Strategy parameters
Strategy parameters
stop loss percentage
ATR index parameter
upper and lower track coefficients
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)