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)

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian