изображение.png

Main link

https://www.tradingview.com/script/xvY3bq6D-Azgard-DoubleGrid-Strategy-Backtest-Eng/

Interface and settings

The most important setting for deep backtesting is shown at the bottom of the document

Entry signal

For the backtest you should first connect an indicator with +1 signals to enter the position (1) or connect any suitable indicator (below). You can also enter a trade without signals on each bar (2), using the inbuilt filters (below)

Settings of grids

изображение.png

The settings of the first grid are standard for such bots and allow you to adjust the number of orders, the distance between them, martingale and the size of the first order.

изображение.png

The settings of the second grid allow you to configure order sizes as a continuation of the first grid or individually, individual martingale and distance between the grids are also configurable.

Connecting any indicator

To enter a position, you can connect any indicator that has information available about its lines or points on the chart

Example 1: Using the crossing of a certain line by the price

изображение.png

To open a trade when the price crosses the Bolinger indicator basis line upwards, you select the appropriate line and specify ‘Use for price’ and ‘Crossing up’. If this condition is met (for closing bar), the trade will be opened.

Example 2: Using two lines for the signal