INVITE-ONLY SCRIPT
Grid Long & Short Strategy [ trader_N08 ]

Core Logic & Methodology
1. Trend & Momentum Filters:
2. Volume Confirmation:
3. Grid Entry System:
4. Risk Management:
---
Default Properties & Backtest Settings
---
Underlying Concepts
1. Trend & Momentum Filters:
- The strategy uses two Exponential Moving Averages (EMAs): a slow EMA (default 200) for trend direction, and a fast EMA (default 50) for additional confirmation.
- For long trades: the price must be above both EMAs and the RSI (Relative Strength Index, period 14) must be above a user-defined threshold (default 40).
- For short trades: the price must be below both EMAs and the RSI must be below a user-defined threshold (default 60).
2. Volume Confirmation:
- Trades are only considered when the current volume exceeds a multiple (default 1.2x) of the 20-period average volume, aiming to avoid low-liquidity signals.
3. Grid Entry System:
- Upon a valid signal, the strategy opens an initial position and sets a “base price.”
- Additional entries (“grid levels”) are added if the price moves against the initial position by a multiple of the Average True Range (ATR), with each subsequent grid level spaced further apart using an expansion factor.
- The number of grid levels is capped (default: 1, user-adjustable) to control risk and position sizing.
4. Risk Management:
- Each position uses both a fixed stop loss and take profit, defined as a percentage of the base entry price (defaults: 0.3% stop, 4% take profit).
- A trailing stop is also applied, based on a user-defined multiple of ATR.
- Only one grid is active per direction at a time; grids reset when all positions are closed.
---
Default Properties & Backtest Settings
- Account Size: 10000$
- Commission: 0.01 %
- Slippage: 5 ticks
- Risk Per Trade: The default settings are designed to risk a small percentage of equity per grid level, but users should verify that their position sizing does not exceed sustainable risk (generally not more than 5–10% per trade).
- Sample Size: The strategy is intended to generate a sufficient number of trades when applied to liquid markets and appropriate timeframes (e.g., 15m–4h charts on major FX, crypto, or indices).
---
Underlying Concepts
- Grid Trading: A method of adding positions at predefined intervals as price moves, aiming to capture mean reversion or trend continuation.
- Trend & Momentum Confirmation: Reduces false entries by requiring alignment of price, moving averages, and RSI.
- ATR-Based Spacing: Uses market volatility to dynamically set grid distances and trailing stops.
- Volume Filter: Seeks to avoid signals during low-activity periods.
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫trader_N08。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
TO GET ACCESS CONTACT ME:
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫trader_N08。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
TO GET ACCESS CONTACT ME:
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。