Exit plugins system
Exit Plugins in Pine Algo - add external exit signal sources, set position-closing conditions, and automate the final step of your trading strategy.
Exit Plugins in Pine Algo - add external exit signal sources, set position-closing conditions, and automate the final step of your trading strategy.
Pine Algo umożliwia rozwijanie i optymalizowanie strategii automatycznych w PineScript na platformie TradingView.
The Exit Plugins section in the Pine Algo [psyll] strategy is used to extend the logic for closing positions and controlling position opening through additional filters and confirmations. It works similarly to Entry Plugins, with the difference that it manages the exit timing and blocks openings.
This feature allows precise control over when the strategy should close a position - not only based on the main signal but also on external market conditions such as trend reversal, moving average crossover, volume decline, or confirmation from auxiliary indicators.
Each exit plugin (Plugin 1 and Plugin 2) can be independently activated and configured. The strategy evaluates their logical state, and only when the specified conditions are met will the Exit signal be executed.
This allows the user to:
Each plugin has the same configuration parameters: