OPEN-SOURCE SCRIPT

Magracia Entry-Exit 5 Min Time frame

127
//------------------------------------------------------------------------------------------------------
// 🧭 Indicator Description
//------------------------------------------------------------------------------------------------------
// 📘 Overview:
// This indicator is a modified version of the LuxAlgo pattern logic designed to detect
// high-probability **RBD (Rally–Base–Drop)** and **DBR (Drop–Base–Rally)** reversal structures
// directly on the current candle. It automatically identifies potential BUY and SELL zones,
// plots corresponding trade signals, and dynamically calculates **Take Profit (TP)** and **Stop Loss (SL)** levels.
//
// The goal of this tool is to give clear, visually guided trade entries and exits that
// follow price structure and momentum changes without repainting historical data.
//
//------------------------------------------------------------------------------------------------------
// 🧩 How It Works:
// • **RBD (Rally–Base–Drop)** → Indicates a bearish reversal (SELL signal)
// • **DBR (Drop–Base–Rally)** → Indicates a bullish reversal (BUY signal)
// • Optional **RBR / DBD** continuation patterns can be toggled on for trend continuation setups.
// • When a signal is detected, the script automatically places:
// ▫ A BUY or SELL marker at the candle
// ▫ Dynamic TP (green dotted line) and SL (red dotted line) levels
// ▫ An EXIT marker when either TP or SL is reached
//
//------------------------------------------------------------------------------------------------------
// ⚙️ Inputs:
// • Enable or disable individual pattern types (RBD, RBR, DBD, DBR)
// • Toggle continuation patterns (RBR/DBD)
// • Customize Take Profit and Stop Loss percentages
// • Adjust rally/drop bar colors for easier pattern visualization
//
//------------------------------------------------------------------------------------------------------
// 🧠 Usage Tips:
// • Works best on volatile pairs and short–term timeframes (1m to 15m)
// • Can be combined with volume or trend filters for stronger confirmation
// • When used on higher timeframes (e.g., 4H+), increase TP/SL percentage range
//
//------------------------------------------------------------------------------------------------------
// ⚠️ Notes:
// • Signals are plotted **in real-time on the current candle** (not delayed).
// • This indicator is for visual and educational use only and does not guarantee profitability.
// • For optimal results, combine it with proper risk management and confirmation indicators.
//
//------------------------------------------------------------------------------------------------------
// © Gideon (CC BY-NC-SA 4.0 Licensed)
//------------------------------------------------------------------------------------------------------

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.