OPEN-SOURCE SCRIPT

BRN Advanced DCA Bot V 1.0

76
Of course. Here is the step-by-step configuration guide written in English.

1. Entry Trigger (QQE)
This section controls the signal that initiates a new DCA round.

RSI Period (QQE): Controls the period of the RSI used in the indicator. Lower values make it faster and more sensitive (more signals); higher values make it slower (fewer signals).

RSI Smoothing (SF): A smoothing factor. Increasing this value filters out more noise, resulting in more confirmed but later signals.

QQE Factor: The multiplier that creates the indicator's bands. You should only change this if you have advanced knowledge of the QQE indicator.

Recommendation: Start with the default values and adjust the RSI Period and Smoothing to find the signal frequency you desire.

2. Trend Filter (Supertrend)
This section defines the main trend to guide the trades.

Use Trend Filter?: If checked, the strategy will only open orders (including DCA orders) if they are in the direction of the Supertrend. This is an important safety filter.

ATR Period & ATR Multiplier: These two parameters define the Supertrend's sensitivity.

Higher Period/Multiplier: Makes the Supertrend less sensitive, ideal for following long-term trends.

Lower Period/Multiplier: Makes it more sensitive to price changes, ideal for smaller timeframes.

Supertrend Timeframe (MTF): Allows you to use a Supertrend from a higher timeframe (e.g., 4h) to filter signals on a lower timeframe (e.g., 15m). Leave it blank to use the current chart's timeframe.

Close DCA on Trend Reversal?: If enabled, it will immediately close a DCA round if the Supertrend flips against your position. An excellent risk management tool.

TRADE SETUP
Here you define the financial management and the DCA structure.

Base Order Value ($): The dollar value of your first order.

DCA Order Value ($): The base value for the subsequent orders (the DCA orders).

Step between DCAs (%): The percentage distance between each DCA order, calculated from the initial entry price. E.g., 1.0 means DCA orders will be placed at -1%, -2%, -3%, etc., from the initial price.

Max Orders in Round: The total number of orders allowed (Base Order + DCA Orders). If the value is 5, it means 1 base order and 4 DCA orders.

DCA Value Multiplier: Increases the value of each subsequent DCA order (known as Martingale). A value of 2.0 means each new order will be double the value of the previous one. Use with extreme caution, as it exponentially increases risk.

3. Backtest & Execution
Settings for testing the strategy.

Test Start/End Date: Defines the time period that the backtest will analyze.

Cooldown between Rounds (bars): Sets a number of "waiting" candles after a round closes before the strategy can open a new one. This helps prevent immediate re-entries in choppy markets.

4. Direction & Activation
Controls the overall direction of the trades.

Strategy Direction:

Buy (Long): The strategy will only execute buy trades.

Sell (Short): The strategy will only execute sell trades.

Automatic: The strategy uses the Supertrend to decide whether to look for buy or sell signals. This is the main setting for automation.

5. Take Profit & Stop Loss
Defines your profit targets and your loss limits.

Take Profit Mode:

Fixed: Closes the position when it reaches a fixed percentage profit target.

Trailing: The profit target moves along with the price, helping to capture more gains in a strong trend.

Take Profit (%) on AVERAGE price: The desired profit percentage, calculated from the average price of all your open orders.

Trailing TP Callback (%): Used only in "Trailing" mode. It's the percentage the price can pull back from its peak before the order is closed.

Round Stop-Loss (%): The maximum percentage loss you are willing to accept for the entire round. This is your primary safety net.

SL Based on: Defines how the Stop Loss is calculated.

Initial Price: The SL is fixed based on the first entry. This is safer.

Average Price: The SL moves as new DCA orders are added. This is riskier.

Final Recommendation: Always start by configuring the strategy in Backtest mode over a relevant period. There is no "perfect" setting; it must be optimized for each specific asset and timeframe.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.