πŸ”₯ Version 4.49 - Latest Release

How GAIN OPTIMIZER Works

Advanced Trading Intelligence for Gold (XAUUSD) & Crypto with Multi-Strategy Exit System, Partial Close & News Filter

πŸ“Š Overview

GAIN OPTIMIZER V4.49 is a sophisticated trading indicator designed for Gold (XAUUSD), Crypto, and Forex trading on TradingView. It combines multiple technical analysis methods with advanced profit protection features to identify high-probability trading opportunities.

🎯

7-Point Confluence System

RSI, MACD, EMA, ADX, Supertrend, and Multi-Timeframe analysis combined for precise signals.

πŸ›‘οΈ

Profit Protection

Trailing Stop, Breakeven, Guaranteed Profit, and Stop Loss to protect your capital.

βœ‚οΈ

Partial Close NEW

Close 50% on trailing stop, keep 50% running until Supertrend change.

πŸ“°

News Filter NEW

Automatically pause trading before high-impact news events (NFP, CPI, FOMC).

πŸ€–

PineConnector Ready

Full automation with MT4/MT5 via PineConnector alerts integration.

πŸ“ˆ

Live Dashboard

Real-time statistics: Win Rate, Daily P&L, Active Trades, News Status.

🎯 Signal Detection

GAIN OPTIMIZER uses a sophisticated 7-point confluence scoring system. Each signal requires multiple confirmations to ensure high-probability trades.

Confluence Factors

Factor BUY Condition SELL Condition
1. RSI < 30 (oversold) + rising > 70 (overbought) + falling
2. MACD Crossover above signal line Crossunder below signal line
3. EMA Price above Fast EMA + rising Price below Fast EMA + falling
4. ADX ADX > threshold (strong trend) ADX > threshold (strong trend)
5. Supertrend Bullish (green) Bearish (red)
6. MTF Trend 1 Higher TF bullish Higher TF bearish
7. MTF Trend 2 Higher TF2 bullish Higher TF2 bearish
πŸ’‘ Recommendation

For M5-M15 timeframes, use a minimum confluence score of 4-5 for optimal results. Higher scores mean fewer but higher quality signals.

πŸ›‘οΈ Profit Protection System

Multiple layers of protection to secure your profits and limit your losses.

1
Trade Opens

Signal detected

2
Stop Loss

-0.3% max loss

3
Breakeven

+0.3% triggers BE

4
Trailing Stop

Follows price up

5
Close

Profit secured

Parameters

Parameter Default Description
πŸ›‘ Use Stop Loss ON Enable/disable stop loss protection
πŸ›‘ Stop Loss % 0.3% Maximum loss before trade is closed
πŸ“ˆ Use Trailing Stop ON Enable/disable trailing stop
πŸ”„ Breakeven Trigger % 0.3% Move to breakeven when this profit is reached
πŸ’° Guaranteed Profit % 0.1% Minimum profit when breakeven is triggered
πŸ“ Trailing Step % 0.1% How tight the trailing stop follows price

βœ‚οΈ Partial Close NEW in V4.49

Secure profits while letting winners run. Close a portion of your position on trailing stop, keep the rest for the big move.

1
Trade Opens

0.1 lot

2
Trail Hit

Close 50%

3
Profit Secured

0.05 lot closed

4
Let It Run

0.05 lot remains

5
Supertrend

Close remaining

Visual Feedback

πŸ“Š Labels on Chart

βœ“ Green label = Partial close in profit (trailing stop hit)
βœ— Red label = Partial close in loss (stop loss hit)
πŸ”Ό BUY / πŸ”½ SELL = Final close on Supertrend change with total P&L

PineConnector Commands

// Partial close command
closelongpct // Close % of long position
closeshortpct // Close % of short position

// Example alert:
"LICENSE,closelongpct,XAUUSD"
⚠️ Important

The partial close percentage is configured in the PineConnector EA settings on MT5, not in TradingView. This allows you to adjust it without modifying alerts.

πŸ“° News Filter NEW in V4.49

Automatically pause trading before high-impact economic announcements to avoid volatile whipsaws.

Supported News Events

NFP (Non-Farm Payrolls)
1st Friday 13:30 UTC
CPI (Consumer Price Index)
13:30 UTC
FOMC (Fed Rate Decision)
19:00 UTC
ECB (European Central Bank)
12:45 UTC
Custom News 1
User defined

Parameters

Parameter Default Description
πŸ“° Enable News Filter OFF Block new trades during news events
🚨 Close Before News OFF Close all open trades when entering news window
⏰ Minutes Before 15 min Stop trading X minutes before news
⏰ Minutes After 15 min Resume trading X minutes after news

Dashboard Status

πŸ“° News: βœ… CLEAR // Trading allowed
πŸ“° News: ⚠️ BLOCKED // In news window, no new trades
πŸ“° News: OFF // Filter disabled
πŸ’‘ Pro Tip

Enable "Close Before News" for major events like NFP. This closes your positions 15 minutes before the announcement, avoiding the extreme volatility that follows high-impact releases.

πŸ• Trading Sessions

Limit your trading to specific market sessions for optimal liquidity and volatility.

πŸ‡¬πŸ‡§
London Session
07:00 - 16:00 UTC
πŸ‡ΊπŸ‡Έ
New York Session
12:00 - 21:00 UTC
πŸ‡―πŸ‡΅
Asia Session
00:00 - 09:00 UTC
πŸ”₯ Best for XAUUSD

Gold trades best during the London/NY overlap (12:00-16:00 UTC). Enable both London and New York sessions for maximum opportunities.

πŸ€– PineConnector Integration

Fully automated trading with MT4/MT5 via PineConnector alerts.

Alert Commands

Action Alert Message
Open BUY LICENSE,buy,XAUUSD,risk=0.1
Open SELL LICENSE,sell,XAUUSD,risk=0.1
Close BUY (full) LICENSE,closelong,XAUUSD
Close SELL (full) LICENSE,closeshort,XAUUSD
Close BUY (partial) LICENSE,closelongpct,XAUUSD
Close SELL (partial) LICENSE,closeshortpct,XAUUSD
1
TradingView

Signal detected

2
Alert Fires

Webhook sent

3
PineConnector

Receives order

4
MT5 EA

Executes trade

βš™οΈ Recommended Settings

Optimized parameters for different timeframes and assets.

XAUUSD (Gold) - M10/M15

Parameter Value
Breakeven Trigger 0.18%
Guaranteed Profit 0.06%
Trailing Step 0.08%
Supertrend Factor 2.5
Min Confluence 4-5

BTCUSD (Bitcoin) - M10/M15

Parameter Value
Breakeven Trigger 0.15-0.35%
Guaranteed Profit 0.12-1.0%
Trailing Step 0.15-0.25%
Supertrend Factor 3.0
Min Confluence 4-5
⚠️ Always Backtest

These are starting points. Always backtest and optimize parameters for your specific broker, spread, and trading conditions.

πŸš€ Ready to Start Trading?

Get instant access to GAIN OPTIMIZER V4.49 with all features including Partial Close, News Filter, and PineConnector integration.

Get Started - 7-Day Free Trial