OPEN-SOURCE SCRIPT

AI Bollinger Bands Strategy with SL, TP, and Bars Till Close

This auto trader uses Bollinger Bands (with adjustable length and deviation) and an optional EMA filter to trigger trades. It enters short trades when the prior candle closes above the upper band and then reverses, and long trades when the prior candle is below the lower band and then turns bullish. Risk is managed via:

Trailing stops activated when price crosses the middle band.
Predefined stop loss and take profit levels.
An option to close trades after a set number of bars.
Additionally, you can toggle the visual display of Bollinger Bands and EMA on the chart.

Wyłączenie odpowiedzialności