TheTradingParrot

TTP Intelligent Accumulator

TheTradingParrot Mis à jour   
The intelligent accumulator is a proof of concept strategy. A hybrid between a recurring buy and TA-based entries and exits.

Distribute the amount of equity and add to your position as long as the TA condition is valid.

Use the exit TA condition to define your exit strategy.

Decide between adding only into losing positions to average down or take a riskier approach by allowing to add into a winning position as well.

Take full profit or distribute your exit into multiple take profit exists of the same size.

You can also decide if you allow your exit conditions to close your position in a loss or require a minimum take profit %.

The strategy includes a default built-in TA conditions just for showcasing the idea but the final intent of this script is to delegate the TA entries and exists to external sources.

The internal conditions use RSI length 7 crossing below the BB with std 1 for entries and above for exits.

To control the number of orders use the properties from settings:
- adjust the pyramiding
- adjust the percentage of equity
- make sure that pyramiding * % equity equals 100 to prevent over use of equity (unless using leverage)

The script is designed as an alternative to daily or weekly recurring buys but depending on the accuracy of your TA conditions it might prove profitable also in lower timeframes.

The reason the script is named Intelligent is because recurring buy is most commonly used without any decision making: buy no matter what with certain frequency. This strategy seeks to still perform recurring buys but filtering out some of the potential bad entries that can delay unnecessarily seeing the position in profits. The second reason is also securing an exit strategy from the beginning which no recurring buy option offers out-of-the-box.
Notes de version:
- Solved bug with add only in profit (now the option is in the reverse order "add only when in a loss")
- Added time window for backtesting independently bear and bull markets.
- Avg position price line now is hidden if there's no position currently open.

I'm tempted to test this using a signal bot directly. Let me know in the comments if you have already and if you experienced any issues.

Enjoy 🦜
Notes de version:
- Fixed bug: taking partial profits was never able to close the full position. Now when the left over is below the min tick we "force close" all the remaining position.

Join our membership to gain access to the private scripts.
www.thetradingparrot.com
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?