Join our fan page
- Views:
- 7064
- Rating:
- Published:
- Updated:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Trading Strategy:
- RSI-based mean reversion strategy
- Configurable overbought (default 80) and oversold (default 20) thresholds
- Automatic signal detection on RSI crossing threshold levels
- Exits positions when opposite signal appears
Risk Management:
- Fixed or percentage-based position sizing
- Risk calculation based on Balance, Equity, or Free Margin
- Configurable lot size limits (min/max)
- Maximum concurrent positions control
Stop Loss & Take Profit:
- Fixed SL/TP in points
- Dynamic SL/TP based on ATR volatility
- Adjustable volatility multipliers for SL and TP
- Optional disable (set to 0)

Advanced Features:
- Scale-Out: Partial profit taking at configurable volatility levels
- Session Filter: Trade only during specified hours (broker time)
- Volatility-based sizing: ATR-based dynamic position management
- Slippage and spread control
Configuration:
- Magic number for multi-EA compatibility
- Custom trade comments
- Fully optimizable parameters
- Built-in optimization score (Profit/Drawdown ratio)
Custom MACD: Elevate Your Trading with Real-Time Signal Alerts to Your Phone
Custom MACD for MetaTrader 5 enhances the classic MACD with real-time signal alerts sent to your phone. Detect trends and reversals with customizable parameters, intuitive visuals, and automated buy/sell notifications.
BBMA - Bollinger Band Moving Average
All indicators required by BBMA Strategy in a single indicator.
ADX Indicator (MQL5)
The ADX (Average Directional Index) Smoothed indicator enhances the standard ADX by applying dual exponential smoothing filters to reduce noise and provide clearer trend signals. It plots three lines: smoothed +DI (blue), -DI (red), and the main ADX line (green). This refined version helps traders identify trend strength and potential direction changes with reduced false signals. The indicator excels at confirming established trends and warning of weakening momentum before actual price reversals occur, making it valuable for both trend following strategies and determining optimal entry/exit points.
Function for converting the number of seconds to years, months, days, hours, minutes, seconds
It is taken into account that there are 30 days in a month, 365 days in a year The script demonstrates the counter of time until the beginning of the new year