INVITE-ONLY SCRIPT

HFT Momentum Backtester

Updated
Default Settings are meant to be used in XBT/USD chart on 1 hour time frame. If you want to use for another asset on another time frame YOU MUST CHANGE THE SETTINGS

This is momentum-based strategy designed by HFT Research in order to take advantage of volatile, trending markets.

snapshot
snapshot

Use ADX

ADX stands for average directional index . It is an indicator that measures volatility in the market. Unfortunately, the worst market condition for this strategy is sideways market. ADX becomes a useful tool since it can detect trend. If the volatility is low and there is no real price movement, ADX will pick that up and will not let you get in trades during a sideways market. It will allow you to enter trades only when the market is trending.

Use MA CrossOver

This strategy’s main driver is the moving average cross over however, unlike many other indicators, this strategy has ALL the moving averages that are on trading view. Total of 13 different moving averages all calculated in a different fashion available in a drop-down menu. You are able to choose two different moving averages to cross for your entry as well as being able to adjust the length of each individual moving average.

Use MA Spread % Filter

As an extra protection, we introduced MA spread % filter. We all know that momentum strategy works when there is actually a trend that has momentum. When there is no trend and market side choppy, we get a lot of noisy signals. In order to battle that we have introduced MA spread % filter. Using this piece of setting, you will be able to chose how strong the cross over actually is. If price is moving sideways, the moving averages will cross each other barely. If the price has actually any steam and momentum, MA 1 will cross over MA 2 aggressively because it will be trending market.

First you chose what the minimum % difference there should be between your 2 moving averages. If you keep this too tight, it won’t be as useful and if you keep this too large then the script will not generate any signals. Trust us, there is a fine balance in between! Then you proceed to chose your moving averages that the bot should keep track of.


Check our website for more information.

Backtest assumes the following;
You have 1000$ to trade
You use 1% of your capital on cross margin with 1% Stop Loss. Therefore, every trade has 100% equity effect on your balance and 1% stop loss has 1% loss effect
0.06% commission taking Binance as base. Please change commission if you are using another exchange.
Release Notes
Made some visual adjustments, cleaned the plotting that was cluttering the chart
Release Notes

- Cleared the plotting that used to clutter the chart
-Changed the default TP and SL settings
Release Notes
- Minor Visual Change
algotradingautomatedtradingBTCUSDEURUSDmomentumstrategyMoving AveragesS&P 500 (SPX500)Trend AnalysisVolatilityVolumeXAUUSD

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact HFTResearch for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

Author's instructions

Want to use this script on a chart?

Warning: please read before requesting access.

Please visit Website for other indicators, bots and strategies hftresearch.com/

Follow us on Twitter: twitter.com/HFTResearch

Telegram: t.me/HFTResearchChat

Discord: discord.gg/K7w2WnQ
Also on:

Disclaimer