DasanC

HMA EA

DasanC Updated   
By default, the strategy works best on 1h timeframe. In theory, it should run well on any timeframe, but you will absolutely need to adjust the Hull Resolution. I recommend starting with 4x the current view (aka, if you are using 5m candles, set the resolution to 20min, which is 4 * 5m).

The settings are pretty self explanatory:
Start Month - Month of the year to begin backtest (automatically beings at 1st of month)
Risk Per Trade (%) - How much of your equity to risk on each trade.
Leverage - Amount of buying power/Margin you have available
Loss (pips) - Distance in pips from the entry to place Stop Loss
Profit (pips) - Distance in pips from entry to place target Take Profit
Trigger Trail (%) - Distance in percentage from entry to begin a trailing Stop Loss
Trail Dist. (pips) - Offset distance of trailing Stop Loss
Hull Res. (min) - Length of candle in minutes to use when calculating the HMA
Hull Period (bars) - Smoothing period for HMA
Release Notes:
Lot of small fixes in the new version including:
  • Better backtest inputs (Year, Month,Day)
  • Ability to set minimum lot size
  • More granular Resolutioon settings

Need Indicators/Strategies for TradingView? -> t.me/pinescripters_jobs
General questions about Pinescript? -> t.me/pinescripters
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?