ramsay09

Grid Tool

ramsay09 アップデート済   
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.
リリースノート:
Selectable timeframes for exit filters added.
リリースノート:
Take Average-Entry Profit added. I think the option of automatic profit-taking makes sense.
リリースノート:
Screenshot issue.
リリースノート:
Additional time frames for exit filters added.
Two fractals trend lines as entry-filter and exit-filter added.
リリースノート:
Entry filter timeframes added.
リリースノート:
Tooltips added and minor changes.
リリースノート:
Minor changes.
リリースノート:
Sorry... take profit is now working with shorts correctly. I'm too much long focused at Bitcoin :) .
リリースノート:
Minor changes.
リリースノート:
Changed/adapted the strategy parameters.
リリースノート:
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...
リリースノート:
Stop loss based on average-entry price added.
リリースノート:
First position size factor added.
リリースノート:
Local top/bottom added as start price for stop loss grid (position reduction starts earlier).
リリースノート:
Pin bar entry signal added.
Automatic increase in position size revised.
リリースノート:
Minor changes.
リリースノート:
Screenshot issue.
リリースノート:
Strategy comments revised.
リリースノート:
"Bug" fixed.
リリースノート:
Tooltips revised.
リリースノート:
"Top/Bottom sensitivity" added.
リリースノート:
"First position" bug fixed.
Minor improvements.
リリースノート:
Script revised and some new features/improvements added.
リリースノート:
Removed "Backtest (...)".
リリースノート:
Repainting option added.
リリースノート:
Strategy entry id bug fixed.
リリースノート:
Script converted to Pine v5.
"Quantity" for exit filters added.
リリースノート:
Info panel for unrealized profit/loss added.
Bug fixes.
New filters added (ema1 x ema2, macd slope, hma).
リリースノート:
Filter and exits revised.
Trade direction "both" added.
リリースノート:
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).
リリースノート:
"Strategy trigger and border levels" bug fix.
リリースノート:
Panel revised.
リリースノート:
Script revised (filters, exits, live trading comments).
リリースノート:
Exit bug fixed.
リリースノート:
"Remain idle after crossing border level" added.
Bollinger Bands added.
Scalping mode is unfinished.
リリースノート:
Minor corrections.
リリースノート:
Minor changes. pubished to get help with mutable variable.
リリースノート:
Bollinger Bands filter revised.
Button "Close All When Border Level Is Crossed." added.
リリースノート:
Live trading bug fixed / conditions revised.
TP and SL counter added.
Break even added.
リリースノート:
Border level logic revised (read tooltips for more info).
リリースノート:
Border level logic revised.
リリースノート:
"Border level close" revised.
リリースノート:
Code revised/updated.
Inputs rearranged.
Trigger and border lines revised.
リリースノート:
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.
リリースノート:
Close Partly On Break Even added.
リリースノート:
Break even on live trading bug fixed.
リリースノート:
Minor changes.
リリースノート:
"Close & Stop" added.
リリースノート:
Screen shot issue.
リリースノート:
Live trading bug fixed.
リリースノート:
Live trading bugs fixed. "Auto increase in position size" bug on live trading is still pending.
リリースノート:
"Min Lot Size" for repetitive break even on backtesting added.
Break even bug fixed.
リリースノート:
Made break even "Min Lot size" available for live trading.
リリースノート:
Short entry bug fixed.
リリースノート:
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
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?