ramsay09

Grid Tool

ramsay09 Cập nhật   
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.
Phát hành các Ghi chú:
Selectable timeframes for exit filters added.
Phát hành các Ghi chú:
Take Average-Entry Profit added. I think the option of automatic profit-taking makes sense.
Phát hành các Ghi chú:
Screenshot issue.
Phát hành các Ghi chú:
Additional time frames for exit filters added.
Two fractals trend lines as entry-filter and exit-filter added.
Phát hành các Ghi chú:
Entry filter timeframes added.
Phát hành các Ghi chú:
Tooltips added and minor changes.
Phát hành các Ghi chú:
Minor changes.
Phát hành các Ghi chú:
Sorry... take profit is now working with shorts correctly. I'm too much long focused at Bitcoin :) .
Phát hành các Ghi chú:
Minor changes.
Phát hành các Ghi chú:
Changed/adapted the strategy parameters.
Phát hành các Ghi chú:
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...
Phát hành các Ghi chú:
Stop loss based on average-entry price added.
Phát hành các Ghi chú:
First position size factor added.
Phát hành các Ghi chú:
Local top/bottom added as start price for stop loss grid (position reduction starts earlier).
Phát hành các Ghi chú:
Pin bar entry signal added.
Automatic increase in position size revised.
Phát hành các Ghi chú:
Minor changes.
Phát hành các Ghi chú:
Screenshot issue.
Phát hành các Ghi chú:
Strategy comments revised.
Phát hành các Ghi chú:
"Bug" fixed.
Phát hành các Ghi chú:
Tooltips revised.
Phát hành các Ghi chú:
"Top/Bottom sensitivity" added.
Phát hành các Ghi chú:
"First position" bug fixed.
Minor improvements.
Phát hành các Ghi chú:
Script revised and some new features/improvements added.
Phát hành các Ghi chú:
Removed "Backtest (...)".
Phát hành các Ghi chú:
Repainting option added.
Phát hành các Ghi chú:
Strategy entry id bug fixed.
Phát hành các Ghi chú:
Script converted to Pine v5.
"Quantity" for exit filters added.
Phát hành các Ghi chú:
Info panel for unrealized profit/loss added.
Bug fixes.
New filters added (ema1 x ema2, macd slope, hma).
Phát hành các Ghi chú:
Filter and exits revised.
Trade direction "both" added.
Phát hành các Ghi chú:
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).
Phát hành các Ghi chú:
"Strategy trigger and border levels" bug fix.
Phát hành các Ghi chú:
Panel revised.
Phát hành các Ghi chú:
Script revised (filters, exits, live trading comments).
Phát hành các Ghi chú:
Exit bug fixed.
Phát hành các Ghi chú:
"Remain idle after crossing border level" added.
Bollinger Bands added.
Scalping mode is unfinished.
Phát hành các Ghi chú:
Minor corrections.
Phát hành các Ghi chú:
Minor changes. pubished to get help with mutable variable.
Phát hành các Ghi chú:
Bollinger Bands filter revised.
Button "Close All When Border Level Is Crossed." added.
Phát hành các Ghi chú:
Live trading bug fixed / conditions revised.
TP and SL counter added.
Break even added.
Phát hành các Ghi chú:
Border level logic revised (read tooltips for more info).
Phát hành các Ghi chú:
Border level logic revised.
Phát hành các Ghi chú:
"Border level close" revised.
Phát hành các Ghi chú:
Code revised/updated.
Inputs rearranged.
Trigger and border lines revised.
Phát hành các Ghi chú:
Inputs rearranged for a better usability.
"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.
Phát hành các Ghi chú:
Close Partly On Break Even added.
Phát hành các Ghi chú:
Break even on live trading bug fixed.
Phát hành các Ghi chú:
Minor changes.
Phát hành các Ghi chú:
"Close & Stop" added.
Phát hành các Ghi chú:
Screen shot issue.
Phát hành các Ghi chú:
Live trading bug fixed.
Phát hành các Ghi chú:
Live trading bugs fixed. "Auto increase in position size" bug on live trading is still pending.
Phát hành các Ghi chú:
"Min Lot Size" for repetitive break even on backtesting added.
Break even bug fixed.
Phát hành các Ghi chú:
Made break even "Min Lot size" available for live trading.
Phát hành các Ghi chú:
Short entry bug fixed.
Phát hành các Ghi chú:
Added scalper mode (only for backtesting). This still needs to be worked out, but hopefully conveys the idea I was trying to implement. I'm not following the development any further as it doesn't make sense with the current state of Tradingview's 'Strategy Tester'. Further development would only make sense with a 'strategy tester' similar to that of MT4/MT5.

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
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?