adr_adr

Simple MACD Strategy

adr_adr 已更新   
This simple MACD strategy takes in account a given a time frame and the basic MACD parameters ( short, long, signal values).
The current implementation does not takes persistance or thresholds in accounts.
發布通知:
EMA open instead of close value in calculation
發布通知:
Option for choosing open / close for ema calculation function
發布通知:
Custom label in for EMA input switch
發布通知:
Strategy update:
  • after the long trade closed it automatically opens a short trade until the next MACD crossover, when short is closed and long is opened.
發布通知:
Updated switch for Short and Long strategy options
發布通知:
Long Short switch update
發布通知:
"Short only" option added to strategy types
發布通知:
Multiple updates issued:
  • Threshold values implementation, which can offset the MACD histogram crossing value. Eg.: thresholdUp: +10 => Long open triggers at MACD histogram value 20
  • Persistance implementation, which sets a history offset after crossing over threshold
  • Gekko strategy mode for using thresholdUp/thresholdDown and persistence
  • Plotting persistance - last bar since cross
發布通知:
This update merges the previously developed threshold and persistence values into the basic Long/Short/Long&Short strategies.

All strategy types are currently supporting the original Gekko MACD strategy parameters. If you don't need threshold and persistence values use zero values in those parameters.

Changelog:
  • Pyramiding OFF by default
  • Initial capital set to 6500 by default
  • Long/Short/Long&Short final startegies implemented
  • Bars since buy/sell are calculated and plotted based on threshold and persistence
受保護腳本
該腳本是閉源發佈的,您可以自由使用。您可以把它加入到常用以在圖表上使用它。您無法查看或修改其原始碼。
免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?