FreedX Grid Backtest

freedx Atualizado   
█ FreedX Grid Backtest is an open-source tool that offers accurate GRID calculations for GRID trading strategies. This advanced tool allows users to backtest GRID trading parameters with precision, accurately reflecting exchange functionalities. We are committed to enhancing trading strategies through precise backtesting solutions and address the issue of unreliable backtesting practices observed on GRID trading strategies. FreedX Grid Backtest is designed for optimal calculation speed and plotting efficiency, ensuring users to achieve fastest calculations during their analysis.


The core of the FreedX Grid Backtest tool lies in its ability to simulate grid trading strategies. Grid trading involves placing orders at regular intervals within a predefined price range, creating a grid of orders that capitalize on market volatility.


⚙️ Backtest Range:
    → Purpose: Allows users to specify the backtesting range of GRID strategy. Closes all positions at the end of this range.
    → How to Use: Drag the dates to fit the desired backtesting range.

⚙️ Investment & Compounding:
    → Purpose: Allows users to specify the total investment amount and select between fixed and compound investment strategies. Compounding adjusts trade quantities based on performance, enhancing the grid strategy's adaptability to market changes.
    → How to Use: Set the desired investment amount and choose between "Fixed" or "Compound" for the investment method.

⚙️ Leverage & Grid Levels:
    → Purpose: Leverage amplifies the investment amount, increasing potential returns (and risks). Users can define the number of grid levels, which determines how the investment is distributed across the grid.
    → How to Use: Input the desired leverage and number of grids. The tool automatically calculates the distribution of funds across each grid level.

⚙️ Distribution Type & Mode:
    → Purpose: Users can select the distribution type (Arithmetic or Geometric) to set how grid levels are determined. The mode (Neutral, Long, Short) dictates the direction of trades within the grid.
    → How to Use: Choose the distribution type and mode based on the desired trading strategy and market outlook.

⚙️ Enable LONG/SHORT Grids exclusively:


Beyond automated settings, the tool offers manual adjustments for traders seeking finer control over their grid strategies.


⚙️ Manual Level Adjustment:
    → Purpose: Enables traders to manually set the top, reference, and bottom levels of the grid, offering precision control over the trading range.
    → How to Use: Activate manual levels and adjust the top, reference, and bottom levels as needed to define the grid's scope.

⚙️ Stop Triggers:
    → Purpose: Provides an option to set upper and lower price limits, acting as stop triggers to close or terminate trades. This feature safeguards investments against significant market movements outside the anticipated range.
    → How to Use: Enable stop triggers and specify the upper and lower limits. The tool will automatically manage positions based on these parameters.


This guide gives you a quick and clear overview of the FreedX Grid Backtest tool, explaining how you can use this cutting-edge tool to improve your trading strategies.
Notas de Lançamento:
🛠️ Default settings updated.
Notas de Lançamento:
🛠 Investment Settings:
    → Auto mode added.
    → Information updated.
    → Fixed mode enhanced with a fixed contracts variable for more realistic testing.

🛠 UI:
    → Quantity and capital control information tables added to notify the user.
Notas de Lançamento:
🛠 Grid Settings:
    → Target modes added. Exchange mode is the default, and it sets take-profit levels based on exchange behavior.
    → Default Settings changed.
    → Recalculate: If "After order is filled" is enabled, the grid calculates more accurately on higher timeframes. It is set to passive by default due to warnings.

Automate your backtested strategies with our trading automation software. Visit us at
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?