Rejoignez notre page de fans
- Publié par:
-
Syed Jawad Hussain Naqvi
Quantitative Developer 🇵🇰
• MQL5 Author — algorithmic trading systems built on statistical modeling, recursive signal processing, and quantitative market analysis
• Technical skills: MQL5, Python, C++, statistical modeling, competitive programming - Vues:
- 108
- Note:
- Publié:
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Spread Monitor is a single-file MQL5 Expert Advisor that shows the trading spread of the attached symbol on a colour-coded panel in the chart corner. Spread is the difference between the ask and bid price, and MetaTrader 5 reports it as an integer number of points through SYMBOL_SPREAD. The utility reads this value on each refresh, stores it in a fixed-size rolling buffer, and recalculates four statistics on that history: the current spread, the average, the minimum, and the maximum. It also counts how many stored samples exceed the warning level, so the trader can see how often the spread is high on this symbol and not only at one moment. The status row turns red when the current spread is above the warning level and green otherwise.
The refresh is throttled to a configurable interval, so the panel does not rebuild on every tick. The history is kept in memory and resets when the EA is removed, the symbol is changed, or the terminal restarts. The panel objects carry a fixed name prefix, so the EA removes only its own objects on exit and leaves other chart objects alone.
The utility does not place, modify, or close any order, and it does not block trading by other programs. Its inputs are the warning level in points, the number of samples kept, the refresh interval in seconds, the panel corner, and the horizontal and vertical offsets. It is intended for traders who want to see spread behaviour during the session, before deciding when to trade.

FxCraft Example EA – Range Breakout with pending orders
Educational Expert Advisor: daily range breakout with BuyStop/SellStop pending orders, risk-reward take profit and trading days. Clean, commented MQL5 code with margin and stop level checks. Demo and Strategy Tester only.
FxCraft Example EA – Bollinger Bands mean reversion
Educational Expert Advisor: Bollinger Bands return to the mean with an optional RSI filter and trading hours. Clean, commented MQL5 code with margin, volume and stop level checks. Demo and Strategy Tester only.
Line Master – Fast and Slow Trend Lines with Trend Change Signals
Line Master is a trend-following indicator for MetaTrader 5 that displays fast and slow dynamic price lines to help traders identify market direction and potential trend changes. Blue represents a bullish trend, while red represents a bearish trend. Visual markers highlight changes in the indicator's trend state. The indicator includes adjustable Fast Length and Slow Length parameters, allowing traders to customize its sensitivity. It can be used on forex, gold (XAUUSD), indices, and other MT5-supported markets. For better results, combine its signals with price action, support and resistance levels, and proper risk management. Signals are not guaranteed and should be confirmed before entering a trade.
PropGuard Lite - daily and max loss guard for prop firm accounts
Risk tool for prop firm accounts: closes all positions and blocks new trades when the daily loss or max loss limit is reached. Never opens trades on a live chart.