Swing Algo V1

Dean_Trader Updated   
This indicator can be used for e.g. swing algorithmic trading. It will give Buy/Long and Sell/Short signals on the chart. This algorithm uses a combination of several (custom) functions and rules to find good entry points for trend trading. After many iterations and tests I came up with this particular setup, which is highly optimized for the $ETH/$USD trading pair on the daily (D) timeframe. It is however possible to change algorithmic parameters within the indicator settings to tune this swing algorithm for other assets and timeframes. You don't need any programming skills or similar abilities to navigate this indicator.

Also you can choose the backtest time interval to test the perfomance of this algorithm for different time windows and different trading pairs. Here various backtesting parameters (e.g. trading fees) can be customized. Additionally to the TradingView Strategy Tester you can also plot your equity directly on the chart to get a sense for the performance. For this you can also scale the equity graph to e.g. match the starting point of your equity with some price point on the chart to get a direct comparison to 'Buy & Hold' strategies over time.

Note: In general it seems that cryptocurrencies are rather swing-algorithm-friendly, while I cannot recommend trading classical assets like stock or indices (e.g. S&P 500) with this indicator (although you can of course try to find good setups).

This indicator (and all other content I provide) is no financial advice. If you use this indicator you agree to my Terms and Conditions which can be found on my twitter profile linked in my signature.
Release Notes:
Updated input parameters accomodating for newer data.

Website (for access to my scripts):
Twitter (for Swing Algo footage):
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 Dean_Trader 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.


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?

Warning: please read before requesting access.