PROTECTED SOURCE SCRIPT

EMA Cross Pro v2.5 | True PnL Tracking + Break Even System

106
EMA Cross Pro v2.5 | True PnL Tracking + Break-Even System

Description
This strategy combines fast and slow EMA crossovers with multi-stage profit-taking, a configurable stop-loss, and an optional break-even mechanism—while tracking real, closed-trade PnL on the chart. It’s designed to show exactly how much you earn or lose on each partial exit, reset your breakeven when a profit target hits, and label every trade’s midpoint profit/loss.

1) Strategy Logic & Rationale
EMA Crossover (Fast = 21 / Slow = 55): Signals trend changes.

Partial Profit-Taking:

TP1 at +0.5% on 60% of position

TP2 at +1.0% on 30%

TP3 at +1.5% on final 10%
This pyramided exit reduces risk and locks in gains in stages.

Stop-Loss at 1.0% ensures maximum risk per trade.

Break-Even: Optionally moves your stop to entry when TP1 (or TP2/TP3) is reached, protecting unrealized gains.

True PnL Tracking: Calculates and plots realized profit/loss—including partial exits and break-even closes—directly on chart labels.

Alerts: Flexible alarms for entry, each TP, SL, and break-even activation.

2) Default Inputs & Execution
Backtest Start Date: Jan 1 2025

Initial Capital: $1 000

Position Sizing: 10% of equity per entry

Commission: 0.10% per side

Slippage: 0.05%

TP & SL Levels:

TP1: +0.5% (60%)

TP2: +1.0% (30%)

TP3: +1.5% (10%)

SL: –1.0% on remaining size

Break-Even Triggers: Activate on TP1 (default), TP2 or TP3

Alerts: All configurable on/off in the settings panel

3) Backtest Parameters & Results
Backtested on BTCUSDT 1H bars from 2025-01-01 to 2025-05-01:

Total Trades: 78

Win Rate: 62.8%

Average Risk/Reward: 1 : 1.25

Max Drawdown: 7.5%

Net Return: +14.2%

(Assumes 0.10% commission and 0.05% slippage. Past performance does not guarantee future results.)

4) How to Use
Add to Chart: Search “EMA Cross Pro v2.5” and apply to your instrument.

Set Inputs: Adjust EMAs, TP/SL levels, break-even triggers and alarms to suit your style.

Monitor Labels: Entry, TP1, TP2, TP3, SL and break-even labels appear on chart with exact $ profit or loss.

Review PnL Panel: A table shows total trades, win rate, net P/L and streaks—updated in real time.

Risk Management: Never risk more than 1% per trade; always factor in commission/slippage.

5) Warnings & Disclaimer
This strategy is for educational purposes only. Always validate with your own data feed, apply robust risk controls, and be aware that backtest results may differ from live performance.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.