Grid Tool

The core idea of this grid tool is that you have to concentrate less on the trade entries (this happens automatically time-independent but price-dependant) but rather on the validity of the macro trend. Exiting a trend when it is no longer valid is more important than entering a trade. But as long as the trend is valid, the trader participates exponentially in the overall trend.

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.
Catatan Pelepasan: Selectable timeframes for exit filters added.
Catatan Pelepasan: Take Average-Entry Profit added. I think the option of automatic profit-taking makes sense.
Catatan Pelepasan: Screenshot issue.
Catatan Pelepasan: Additional time frames for exit filters added.
Two fractals trend lines as entry-filter and exit-filter added.
Catatan Pelepasan: Entry filter timeframes added.
Catatan Pelepasan: Tooltips added and minor changes.
Catatan Pelepasan: Minor changes.
Catatan Pelepasan: Sorry... take profit is now working with shorts correctly. I'm too much long focused at Bitcoin :) .
Catatan Pelepasan: Minor changes.
Catatan Pelepasan: Changed/adapted the strategy parameters.
Catatan Pelepasan: Automatic increase in position size for each trade (Martingale) added. In my opinion, Martingale is too risky to trade. But it's part of trading...
Catatan Pelepasan: Stop loss based on average-entry price added.
Catatan Pelepasan: First position size factor added.
Catatan Pelepasan: Local top/bottom added as start price for stop loss grid (position reduction starts earlier).
Catatan Pelepasan: Pin bar entry signal added.
Automatic increase in position size revised.
Catatan Pelepasan: Minor changes.
Catatan Pelepasan: Screenshot issue.
Catatan Pelepasan: Strategy comments revised.
Catatan Pelepasan: "Bug" fixed.
Catatan Pelepasan: Tooltips revised.
Catatan Pelepasan: "Top/Bottom sensitivity" added.
Catatan Pelepasan: "First position" bug fixed.
Minor improvements.
Catatan Pelepasan: Script revised and some new features/improvements added.
Catatan Pelepasan: Removed "Backtest (...)".
Catatan Pelepasan: Repainting option added.
Catatan Pelepasan: Strategy entry id bug fixed.
Catatan Pelepasan: Script converted to Pine v5.
"Quantity" for exit filters added.
Catatan Pelepasan: Info panel for unrealized profit/loss added.
Bug fixes.
New filters added (ema1 x ema2, macd slope, hma).
Catatan Pelepasan: Filter and exits revised.
Trade direction "both" added.
Catatan Pelepasan: Strategy border levels added.
Repainting revised.
Live trading parameters for Alertatron and Bybit added (I am not an affiliate of them. I am just using their services).
Catatan Pelepasan: "Strategy trigger and border levels" bug fix.
Catatan Pelepasan: Panel revised.
Catatan Pelepasan: Script revised (filters, exits, live trading comments).
Catatan Pelepasan: Exit bug fixed.
Catatan Pelepasan: "Remain idle after crossing border level" added.
Bollinger Bands added.
Scalping mode is unfinished.
Catatan Pelepasan: Minor corrections.
Catatan Pelepasan: Minor changes. pubished to get help with mutable variable.
Catatan Pelepasan: Bollinger Bands filter revised.
Button "Close All When Border Level Is Crossed." added.
Catatan Pelepasan: Live trading bug fixed / conditions revised.
TP and SL counter added.
Break even added.
Catatan Pelepasan: Border level logic revised (read tooltips for more info).
Catatan Pelepasan: Border level logic revised.
Catatan Pelepasan: "Border level close" revised.
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Rumah. Anda boleh menyukainya untuk menggunakannya pada carta.


Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?