OPEN-SOURCE SCRIPT

DCA RSI Add funds exit simulator

This script helps with planning on how to exit DCA deals that are in the negative.

The following deal information is required
- Current average position price
- Funds invested
- Required take profit

Additional indicator settings are
- The date/time on which to start the simulator
- Minimum deviation % to start adding funds
- Expected bounceback from when funds are added

The RSI trigger
Adding funds is triggered when the selected RSI settings yield a value that is at or beyond the selected threshold.

How it works
The amount of funds needed are calculated based on the supplied settings, such that the new average price matches the expected bounceback.
It will also show if the exit strategy has failed to hit the TP (this happens when the RSI threshold is hit again)
DCAdca-botsexitexitsignalexitstrategyRelative Strength Index (RSI)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer