Type/to search

Estrategia de canal basada en el indicador de volatilidad ATR

OKEX
0
Follow
18
Followers
  • Nombre: Estrategia de canal basada en el indicador de volatilidad ATR
  • Idea: Estrategia de canal adaptativa, stop loss fijo + take profit flotante
  • Ciclo de datos: Multiciclo
  • Futuros OKEX
  • Contrato: this_week (semana actual)
  • Sitio web oficial: www.quantinfo.com

img

  • Gráfico principal:
    Dibujar UBAND, fórmula: UBAND^^MAC+MATR;
    Dibujar DBAND, fórmula: DBAND^^MAC-M
    ATR;

  • Gráfico secundario:
    Ninguno

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)