Sp500 Ema Smart Trader

0 reviews
6 weeks
0 / 0 USD
growth since 2026 -6%
To see trades in realtime, please log in or register
  • Equity
  • Drawdown
Trades:
5
Profit Trades:
1 (20.00%)
Loss Trades:
4 (80.00%)
Best trade:
4.12 USD
Worst trade:
-11.25 USD
Gross Profit:
4.12 USD (2 379 pips)
Gross Loss:
-16.74 USD (4 660 pips)
Maximum consecutive wins:
1 (4.12 USD)
Maximal consecutive profit:
4.12 USD (1)
Sharpe Ratio:
-0.46
Trading activity:
9.04%
Max deposit load:
88.38%
Latest trade:
3 days ago
Trades per week:
3
Avg holding time:
23 hours
Recovery Factor:
-0.76
Long Trades:
4 (80.00%)
Short Trades:
1 (20.00%)
Profit Factor:
0.25
Expected Payoff:
-2.52 USD
Average Profit:
4.12 USD
Average Loss:
-4.19 USD
Maximum consecutive losses:
4 (-16.69 USD)
Maximal consecutive loss:
-16.69 USD (4)
Monthly growth:
-6.31%
Algo trading:
60%
Drawdown by balance:
Absolute:
16.69 USD
Maximal:
16.69 USD (8.35%)
Relative drawdown:
By Balance:
8.37% (16.74 USD)
By Equity:
6.75% (13.14 USD)

Distribution

Symbol Deals Sell Buy
US500 3
BA.LSE 1
MSFT.NAS 1
1 2 3
1 2 3
1 2 3
Symbol Gross Profit, USD Loss, USD Profit, USD
US500 -12
BA.LSE 0
MSFT.NAS 0
5 10 15 20 25 30
5 10 15 20 25 30
5 10 15 20 25 30
Symbol Gross Profit, pips Loss, pips Profit, pips
US500 -1.9K
BA.LSE -250
MSFT.NAS -122
2K 4K 6K
2K 4K 6K
2K 4K 6K
  • Deposit load
  • Drawdown
Best trade: +4.12 USD
Worst trade: -11 USD
Maximum consecutive wins: 1
Maximum consecutive losses: 4
Maximal consecutive profit: +4.12 USD
Maximal consecutive loss: -16.69 USD

The average slippage based on execution statistics on real accounts of various brokers is specified in pips. It depends on the difference between the provider's quotes from "ICMarketsEU-MT5-5" and the subscriber's quotes, as well as on order execution delays. Lower values mean better quality of copying.

ICMarketsEU-MT5-5
0.00 × 1
To see trades in realtime, please log in or register

📌 Product Description

SP500 EMA EA with Smart TSL & RSI
A professional, fully automated Expert Advisor designed specifically for high-precision SP500 index trading.

Built by Peter Dimitrov, this EA combines a reliable EMA crossover system, dynamic risk-based position sizing, RSI filtering, advanced smart trailing stop logic, and fully configurable trading sessions.


🔍 Strategy Overview
This Expert Advisor uses a robust trend-following logic based on the crossover of two EMAs (21 & 200 by default), combined with RSI filtering to avoid entering during overextended market conditions.

When a valid signal appears, the EA calculates the recent market low, determines an adaptive stop-loss distance, and automatically adjusts the lot size based on the trader’s Max Risk % setting. This ensures controlled and consistent risk management on every trade.

The integrated Smart Trailing Stop (TSL) mechanism dynamically follows price peaks and adjusts the stop-loss only when the conditions are optimal—ensuring trend trades are protected without reducing profit potential.


📈 Recommended Symbol & Timeframe

Symbol: SP500 / US500 / S&P 500 CFDs or futures

Timeframe: M30 (default)

Account Types: ECN, Raw Spread, low-spread accounts recommended


✨ Key Features

✔ EMA Crossover Trend Strategy
Entry triggered when the fast EMA crosses the slow EMA.
Uses previous bar values to avoid repainting.
Suitable for SP500 (US500) and other major indices.

✔ RSI Filter
Prevents buying into overbought conditions.
Fully configurable period & threshold.

✔ Smart Trailing Stop (TSL)
Moves the stop-loss only when new peaks are formed.
Respects broker stop levels and price precision.
Avoids micromodifications with built-in minimum movement threshold.

✔ Dynamic Risk Management
Risk per trade is automatically calculated from:
Recent market volatility
Stop-loss distance
MaxRiskPercent input
Lot size is adjusted to ensure consistent risk exposure.

✔ Configurable Trading Sessions
Trade only during specific hours (server time).
Helps avoid low-liquidity and high-spread periods.

✔ Clean, Optimized, Market-Ready Code
Uses MQL5 OOP trade library.
Handles all safety checks: indicators, margin, tick value, stop levels.
Includes protection for invalid data and abnormal conditions.

 Input Parameters

Parameter Description
FastEMAPeriod Fast EMA period (trend detection)
SlowEMAPeriod Slow EMA period
RSIPeriod RSI period
RSIThreshold Avoid entries when RSI is above threshold
MaxRiskPercent Automatic lot calculation per trade (percent of account balance)
RecentLowBars Number of bars to scan for recent lows
TpMultiplier Take profit based on stop-loss distance
Magic Magic number for position tracking
TimeFrame Indicator timeframe
StartHour / EndHour Trading time window (server hours)
IsTsl Enable/disable Smart Trailing Stop
MaxSpreadPoints Maximum allowed spread in points (adaptive per symbol, e.g., higher for SP500)
NearCloseMinutes Minutes before session end to block new entries
MaxModifyRetries Maximum retries for modify/close per ticket within RetryWindowSec
RetryWindowSec Time window (seconds) to count retries


🧩 How It Works
Detects EMA cross (fast ↑ slow) using confirmed historical data.
Checks RSI to avoid overbought conditions.
Determines the most recent low and calculates stop-loss distance.
Computes the optimal lot size based on risk percentage.
Places a market BUY order with SL & TP.
Monitors the trade and dynamically updates stop-loss using Smart TSL.
Closes position if the reverse EMA cross appears.

🔒 Built-In Safety Features
SL/TP validation against broker stop levels
Margin and free margin checks
Tick size and tick value fallbacks
Automatic normalization of lot size
Indicator readiness validation
Weekend & low-liquidity session protection

📌 Notes

  • For best results, use a broker with low spreads on the SP500 index.
  • Optimization can be done on EMA periods, RSI threshold, and session hours.
  • For the best performers, you can check the input settings in the screenshots.
  • This Expert Advisor does not guarantee future profits. 
  • Тhe default input settings are based solely on historical testing and may require periodic adjustment by the user as market conditions evolve.

No reviews
2026.02.20 16:39
Share of days for 80% of trades is too low
2026.02.20 15:37
Share of days for 80% of trades is too low
2026.02.20 14:37
Removed warning: No trading activity detected on the Signal's account for the recent period
2026.02.13 09:50
Removed warning: No trading activity detected on the Signal's account for the recent period
2026.02.13 09:50
Trading operations on the account were performed for only 2 days. This comprises 6.67% of days out of the 30 days of the signal's entire lifetime.
2026.02.13 09:50
80% of trades performed within 1 days. This comprises 3.33% of days out of the 30 days of the signal's entire lifetime.
2026.02.13 08:50
Removed warning: No trading activity detected on the Signal's account for the recent period
2026.02.13 08:50
Trading operations on the account were performed for only 2 days. This comprises 6.67% of days out of the 30 days of the signal's entire lifetime.
2026.02.13 08:50
80% of trades performed within 1 days. This comprises 3.33% of days out of the 30 days of the signal's entire lifetime.
2026.01.15 21:49
Share of trading days is too low
2026.01.15 21:49
Share of days for 80% of trades is too low
2026.01.15 20:49
Share of trading days is too low
2026.01.15 20:49
Share of days for 80% of trades is too low
2026.01.14 10:27
Trading operations on the account were performed for only 0 days. This comprises 0% of days out of the 1 days of the signal's entire lifetime.
2026.01.14 10:27
80% of trades performed within 0 days. This comprises 0% of days out of the 1 days of the signal's entire lifetime.
2026.01.14 10:27
Low trading activity - only 0 trades detected in the last month
2026.01.14 10:27
This is a newly opened account, and the trading results may be of random nature
2026.01.14 10:27
The number of deals on the account is too small to evaluate trading quality
To see trades in realtime, please log in or register
Signal
Price
Growth
Subscribers
Funds
Balance
Weeks
Expert Advisors
Trades
Win %
Activity
PF
Expected Payoff
Drawdown
Leverage
30 USD per month
-6%
0
0
USD
187
USD
6
60%
5
20%
9%
0.24
-2.52
USD
8%
1:30
Copy