Description
π§ ATR_RR_SignalPanel β Technical & Detailed Description (EN) π§ π
ATR_RR_SignalPanel is an overlay indicator for cTrader that generates trend-change entry signals using a Fast EMA vs Slow EMA regime, then builds a complete virtual trade framework (Entry π, Stop Loss π, Final Take Profit π―, Intermediate Targets π’) using ATR-based risk sizing and a configurable Risk:Reward multiplier βοΈ.
π§ Core Logic (Signal Engine) π¦
- The indicator computes:
- Fast EMA β‘ and Slow EMA π’ on Close.
- ATR (Wilder smoothing) π‘οΈ for volatility-based stop distance.
- A trend regime is defined as:
- Bull trend π’ when
Fast EMA > Slow EMA - Bear trend π΄ when
Fast EMA < Slow EMA
- Bull trend π’ when
- A Trend Change π triggers when the bull/bear state differs from the previous bar (equivalent to Pineβs
bullTrend != bullTrend[1]).
π― Entry Conditions (BUY/SELL) π©π₯
When a trend change occurs:
- BUY signal π’ if:
- Bull trend is active and a trend change is detected
- Optional candle confirmation β : Close > Open (bullish candle)
- SELL signal π΄ if:
- Bear trend is active and a trend change is detected
- Optional candle confirmation β : Close < Open (bearish candle)
π§ͺ Virtual Position Management (Not a cBot) π§©
This indicator does not place orders. Instead it simulates an internal βvirtual positionβ:
- On a new BUY/SELL signal it sets:
- Entry Price = current close π
- Stop Loss = candle extreme Β± ATR Γ multiplier π
- Final Take Profit = Entry Β± (Risk Γ RiskReward) π―
- Intermediate TP levels = steps at 1R, 2R, β¦ up to floor(RR)-1 π’
- It monitors price action bar-by-bar:
- If TP final is touched β marks π― and closes virtual position β
- If SL is touched β marks π and closes virtual position β
- Intermediate TP hits are tracked only once π§·
π Invalidation Logic (Opposite Signal While Active) β οΈ
If a new signal arrives while a virtual trade in the opposite direction exists:
- The previous entry is marked as INVALIDATED β οΈ (INV BUY / INV SELL)
- The prior virtual position is terminated π§―
- A new virtual position is created in the new direction π
π§Ό Multi-Instance Safe (Multiple Copies on Same Chart) π§©π§©
Each indicator instance generates a unique internal ID π, so:
- Lines/text from one instance wonβt overwrite another instance β
- You can run several configurations in parallel (e.g., scalping + swing) π§ π
π§― Anti-Clutter Controls (Markers Limiter) π§Ήβ¨
To keep charts readable, it can:
- Limit the number of text markers drawn (BUY/SELL/TP/SL/INV/TP1β¦) π§Ύ
- Automatically delete older markers when the limit is exceeded β»οΈ
π§· Optional βKeep Last Risk Linesβ π§ π
When enabled, the last Entry/SL/TP lines remain visible even after TP/SL closes:
- Great for post-trade review π§βπ¬
- Great for journaling πβ
βοΈ Parameters β Detailed Explanation (EN) ππ
π Signal & Risk Core
β‘ Fast EMA
- What it does π§ : Sets the period of the fast EMA used to detect regime shifts.
- Effect π: Lower values = more reactive β more signals; higher = smoother β fewer signals.
- Typical ranges ποΈ: 3β10 for fast markets β‘, 10β20 for calmer setups π’
π’ Slow EMA
- What it does π§ : Sets the period of the slow EMA used as the trend baseline.
- Effect π: Higher slow EMA = stronger filtering β fewer trend-change triggers.
- Typical ranges ποΈ: 13β55 depending on style π§
π‘οΈ ATR Period
- What it does π§ : Controls volatility measurement length for ATR.
- Effect π: Short ATR reacts quickly (tighter SL), long ATR stabilizes (steadier SL).
- Typical ranges ποΈ: 10β21 is common β
π SL Multiplier (ATR)
- What it does π§ : Defines Stop Loss distance in ATR units.
- Long π’:
SL = Low - ATR * Mult - Short π΄:
SL = High + ATR * Mult - Effect π―: Higher multiplier = wider SL (fewer stops, bigger risk); lower = tighter SL (more stops).
- Typical values ποΈ: 0.3β2.0 depending on volatility πͺοΈ
βοΈ Risk:Reward (R:R)
- What it does π§ : Multiplies the βriskβ distance to compute final TP.
- Formula π:
- Risk = |Entry β SL|
- Final TP = Entry Β± Risk Γ RR π―
- Intermediate TPs π’: TP1 at 1R, TP2 at 2R, β¦ up to
floor(RR)-1 - Example π§ͺ: RR=3 β TP1 (1R), TP2 (2R), Final TP (3R) π―π―π―
β Require candle confirmation
- What it does π§ : Adds candle direction validation on the signal bar.
- BUY π’: requires Close > Open
- SELL π΄: requires Close < Open
- Effect π§½: Filters out weak flips, reduces noise, may enter later β³
π EMAs Display
ποΈ Show Fast EMA
- What it does π§ : Shows/hides the fast EMA line.
- Use case π‘: Hide if you want a clean chart π§Ό
ποΈ Show Slow EMA
- What it does π§ : Shows/hides the slow EMA line.
- Use case π‘: Keep visible for trend context π§
ποΈ Visual Controls (Clutter Management) π§Ήβ¨
π¦ Show Signals
- What it does π§ : Shows/hides BUY/SELL markers.
- Includes π§·: BUY π’ / SELL π΄ markers (only)
- Tip π‘: Disable for βlines-onlyβ mode π
π·οΈ Show TP Labels
- What it does π§ : Shows/hides labels like TP1, TP2β¦
- Effect π§Ό: Turning OFF removes lots of text noise on higher TFs π
- Note π§·: Labels appear only once per TP hit β
β οΈ Show Invalidation Marks
- What it does π§ : Shows/hides INV BUY / INV SELL markers.
- Use case π§ : Useful when you want to study signal reversals π
π―π Show Final TP/SL Marks
- What it does π§ : Shows/hides final TP and SL markers.
- Use case π: Great for reviewing outcome distribution π²
π Show Risk Lines (Entry/SL/TP)
- What it does π§ : Draws Entry π, SL π, Final TP π― lines on the chart.
- Effect π: Visualizes the virtual trade structure instantly π§
π’ Show Intermediate TP Lines
- What it does π§ : Draws dotted lines for TP1/TP2/... levels.
- Tip π§Ό: Disable if chart gets too βgreen spaghettiβ ππ’
π Keep Last Risk Lines
- What it does π§ : Keeps the last Entry/SL/TP lines visible after virtual exit (TP/SL).
- Why itβs useful π: Perfect for journaling & post-trade analysis π§βπ¬β
π§Ύ Max Markers On Chart (0=unlimited)
- What it does π§ : Limits how many text objects the indicator leaves on the chart.
- How it works β»οΈ: When the limit is exceeded, the oldest markers are removed automatically.
- Recommended ποΈ: 80β200 depending on timeframe and history depth π°οΈ
π§Ύ Show Info Panel
- What it does π§ : Displays a compact status panel on the chart.
- Shows π: Status (LONG/SHORT/No Position), Entry, SL, TP, computed RR.
Summary
The indicator simulates virtual trades by setting entry price, stop loss, and take profit levels using Average True Range (ATR) for volatility-based risk sizing combined with a configurable risk-to-reward multiplier. It tracks intermediate take profit levels and monitors price action bar-by-bar to mark virtual trade outcomes without placing actual orders.
Key features include optional candle confirmation for signals, multi-instance support to run multiple configurations on the same chart, and visual clutter controls such as limiting markers and toggling display of EMAs, signals, and risk lines. An info panel provides a compact status overview of virtual positions. Parameters allow customization of EMA periods, ATR period, stop loss multiplier, and risk-reward ratio to adapt to different trading styles and market conditions.
Supported markets include Forex, indices, commodities, stocks, and cryptocurrencies, with symbols like GBPUSD, EURUSD, XAUUSD, NAS100, and BTCUSD among the tagged assets.
Customer reviews
5 | 100 % | |
4 | 0 % | |
3 | 0 % | |
2 | 0 % | |
1 | 0 % |