Gesundheit

Trend-following Microprofit w/ Smart DCA BACKTESTING VERSION

Gesundheit Updated   
Companion to the alert script:
Tradingview doesn't like backtesting with too little capital or trade sizes less than 1 share, so the "Net Profit" number may not be accurate right off the bat. To get a better idea, change the order size or initial capital so the strategy is trading the appropriate % of initial capital. For example, if your personal capital is $2000 and you are making $100 trades, your trades are 5% of initial capital. That is roughly equivalent to the defaults using orders of 1 BTC with $100,000 capital.

Tightening the stop level will improve the Net Profit to Max Drawdown ratio, making the strategy more suitable for large trade sizes.

This script does not provide alerts for Gunbot. Find the settings you like using this strategy script, then plug those values into the alert script.

If you like this you can buy me chocolate below. Cheers!
Release Notes:
Fudged the strategy report a bit more ;)
Release Notes:
Added option to disable stop-loss when market is in a strong uptrend (thanks @Calvinz for the suggestion!)

Also added much needed RSI filtering and updated the default settings to the best ones I could find.
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?