thequantscience

Grid Spot Trading Algorithm V2 - The Quant Science

thequantscience Mis à jour   
Grid Spot Trading Algorithm V2 is the last grid trading algorithm made by our developer team.

Grid Spot Trading Algorithm V2 is a fixed 10-level grid trading algorithm. The grid is divided into an accumulation area (red) and a selling area (green).
In the accumulation area, the algorithm will place new buy orders, selling the long positions on the top of the grid.

BUYING AND SELLING LOGIC
The algorithm places up to 5 limit orders on the accumulation section of the grid, each time the price cross through the middle grid. Each single order uses 20% of the equity.
Positions are closed at the top of the grid by default, with the algorithm closing all orders at the first sell level. The exit level can be adjusted using the user interface, from the first level up to the fifth level above.

CONFIGURING THE ALGORITHM
1) Add it to the chart: Add the script to the current chart that you want to analyze.

2) Select the top of the grid: Confirm a price level with the mouse on which to fix the top of the grid.

3) Select the bottom of the grid: Confirm a price level with the mouse on which to fix the bottom of the grid.

4) Wait for the automatic creation of the grid.

USING THE ALGORITHM
Once the grid configuration process is completed, the algorithm will generate automatic backtesting.

You can add a stop loss that destroys the grid by setting the destruction price and activating the feature from the user interface. When the stop loss is activated, you can view it on the chart.
Notes de version:
Optimization of the source code syntax.

Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?