Grid Tool

It is advisable to start with a basic position and then "set up" the grid on this in a ratio of 1/10.
A major advantage of grid trading is that the average entry price in a trend moves further and further away from the current market price while the position continues to grow.
A small timeframe should be used so that the distance between the trades corresponds as closely as possible to the selected grid gap and since TV backtests are carried out with closed bars.
Before starting a grid, pre-analysis the market to make sure it is trending. Select the grid gap and grid position size that you are comfortable with. Monitor the trend and from time to time take some profit :).
PS: The ADX filter looks interesting.
Two fractals trend lines as entry-filter and exit-filter added.
Automatic increase in position size revised.
Minor improvements.
"Quantity" for exit filters added.
Bug fixes.
New filters added (ema1 x ema2, macd slope, hma).
Trade direction "both" added.
Repainting revised.
Live trading parameters for Alertatron and Bybit added (I am not an affiliate of them. I am just using their services).
Bollinger Bands added.
Scalping mode is unfinished.
Button "Close All When Border Level Is Crossed." added.
TP and SL counter added.
Break even added.
Inputs rearranged.
Trigger and border lines revised.
"Instant Grid" added.
"Instantly On Current Bar Close" option for 1st Entry added.
Trigger and border lines are bar high/low sensitive now.
In backtesting, everything seems to be working as it should. Everything is also implemented for live trading but I haven't tested it live yet.
Break even bug fixed.
The example doesn't use the scalping mode. All parameters are default but Trade direction = short, trend start = 2022-08-10, Break even = "Partly close" enabled, Stop loss count = enabled
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.