PROTECTED SOURCE SCRIPT
HolyGrail by FX War Room

Below is a concise and professional description for publishing your "HolyGrail by FX War Room" strategy on TradingView. The description is designed to clearly explain the strategy's purpose, functionality, and usage while adhering to TradingView's guidelines for script publication.
---
### HolyGrail by FX War Room
**Description**
The HolyGrail strategy is a breakout trading system designed to capture price movements outside a user-defined time range. It identifies the highest high and lowest low within a specified session (e.g., market open hours) and triggers long or short trades when the price breaks above the session high or below the session low. The strategy includes risk management with customizable stop-loss and take-profit levels, making it suitable for traders seeking a structured approach to breakout trading.
**Key Features**
- **Customizable Time Range**: Users can set the start and end times (HH:MM) to define the session for calculating the high and low range.
- **Breakout Signals**: Enters long trades on breakouts above the session high and short trades on breakouts below the session low.
- **Visual Cues**: Highlights the active time range with a green background and draws dashed lines for the session high (red) and low (blue). Labels mark "BUY" and "SELL" signals for clarity.
- **Risk Management**: Configurable position size, stop-loss, and take-profit levels (in pips) to align with your trading plan.
- **Flexible Application**: Works across various markets (forex, stocks, crypto) and timeframes when adjusted appropriately.
**How It Works**
1. During the user-defined time range (e.g., 9:00–17:00), the strategy tracks the highest high and lowest low over a 31-bar lookback period.
2. When the time range ends, horizontal lines are drawn at the session high and low.
3. A long trade is triggered when the price closes above the session high, with a stop-loss below the entry and a take-profit above it.
4. A short trade is triggered when the price closes below the session low, with a stop-loss above the entry and a take-profit below it.
5. Trades are exited automatically based on the stop-loss or take-profit levels.
**Settings**
- **Start Hour/Minute**: Set the start time of the session (e.g., 9:00).
- **End Hour/Minute**: Set the end time of the session (e.g., 17:00).
- **Position Size**: Number of contracts/lots per trade (default: 1.0).
- **Stop Loss (Pips)**: Distance for stop-loss (default: 20 pips).
- **Take Profit (Pips)**: Distance for take-profit (default: 40 pips).
**Usage Tips**
- Adjust the time range to match the most active trading session for your instrument (e.g., London session for forex).
- Test the strategy on a demo account or backtest with your preferred market and timeframe to optimize settings.
- Ensure stop-loss and take-profit levels align with your risk management rules.
- Consider market volatility when setting position size and pip values.
**Disclaimer**
Trading involves risk, and past performance is not indicative of future results. Always test strategies thoroughly and use proper risk management. This strategy is provided for educational purposes and should be used at your discretion.
---
### HolyGrail by FX War Room
**Description**
The HolyGrail strategy is a breakout trading system designed to capture price movements outside a user-defined time range. It identifies the highest high and lowest low within a specified session (e.g., market open hours) and triggers long or short trades when the price breaks above the session high or below the session low. The strategy includes risk management with customizable stop-loss and take-profit levels, making it suitable for traders seeking a structured approach to breakout trading.
**Key Features**
- **Customizable Time Range**: Users can set the start and end times (HH:MM) to define the session for calculating the high and low range.
- **Breakout Signals**: Enters long trades on breakouts above the session high and short trades on breakouts below the session low.
- **Visual Cues**: Highlights the active time range with a green background and draws dashed lines for the session high (red) and low (blue). Labels mark "BUY" and "SELL" signals for clarity.
- **Risk Management**: Configurable position size, stop-loss, and take-profit levels (in pips) to align with your trading plan.
- **Flexible Application**: Works across various markets (forex, stocks, crypto) and timeframes when adjusted appropriately.
**How It Works**
1. During the user-defined time range (e.g., 9:00–17:00), the strategy tracks the highest high and lowest low over a 31-bar lookback period.
2. When the time range ends, horizontal lines are drawn at the session high and low.
3. A long trade is triggered when the price closes above the session high, with a stop-loss below the entry and a take-profit above it.
4. A short trade is triggered when the price closes below the session low, with a stop-loss above the entry and a take-profit below it.
5. Trades are exited automatically based on the stop-loss or take-profit levels.
**Settings**
- **Start Hour/Minute**: Set the start time of the session (e.g., 9:00).
- **End Hour/Minute**: Set the end time of the session (e.g., 17:00).
- **Position Size**: Number of contracts/lots per trade (default: 1.0).
- **Stop Loss (Pips)**: Distance for stop-loss (default: 20 pips).
- **Take Profit (Pips)**: Distance for take-profit (default: 40 pips).
**Usage Tips**
- Adjust the time range to match the most active trading session for your instrument (e.g., London session for forex).
- Test the strategy on a demo account or backtest with your preferred market and timeframe to optimize settings.
- Ensure stop-loss and take-profit levels align with your risk management rules.
- Consider market volatility when setting position size and pip values.
**Disclaimer**
Trading involves risk, and past performance is not indicative of future results. Always test strategies thoroughly and use proper risk management. This strategy is provided for educational purposes and should be used at your discretion.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
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.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
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.