Join our fan page
- Views:
- 1746
- Rating:
- Published:
- Updated:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
SHK Heikin Ashi MACD Signal Arrows is a chart window indicator for MetaTrader 5. It calculates synthetic Heikin Ashi candle values and displays them on the main chart with configurable candle colors.
The main purpose of the indicator is to make Heikin Ashi direction changes easier to inspect on a live chart while keeping signal calculation controlled by completed bars. By default, arrows are evaluated after a candle has closed, so a temporary color change on the forming candle is not treated as a final signal.
Signal logic
The indicator can mark buy and sell arrows after a confirmed Heikin Ashi color change. The number of confirmation candles is configurable. The indicator also includes an optional MACD histogram divergence filter. When this filter is enabled, a buy arrow requires a recent bullish regular divergence and a sell arrow requires a recent bearish regular divergence.
Candle display modes
The indicator can show standard Heikin Ashi coloring, trend based coloring, or momentum based coloring. The candle display can also be disabled if only arrows and marker buffers are required.
Alerts
Popup alerts, mobile push notifications, email alerts, and sound alerts can be enabled separately. A cooldown setting helps prevent repeated alerts from the same signal direction on every tick.
Main inputs
MaxBarsToCalculate controls how many recent bars are processed. ShowHeikinAshiCandles enables or disables the candle display. UseClosedBarsOnly keeps signal calculation on completed candles. ConfirmationCandles controls how many candles are required before a color change is confirmed.
RequireMACDDivergenceConfirmation enables or disables the MACD divergence filter. MACDFastEMA, MACDSlowEMA, and MACDSignalEMA control the MACD histogram calculation. EnablePopupAlert, EnablePushAlert, EnableEmailAlert, and EnableSoundAlert control alert delivery.
EA integration
The indicator exposes readable buffers for use through iCustom. Separate buffers are used for candle data, candle color state, momentum circles, buy arrows, sell arrows, and visual spacing.
Limitations
This indicator does not open, close, or manage trades. It is a visual technical analysis tool only. Signals should be checked on a demo chart before being used in live trading decisions.
The MACD filter implements regular bullish and bearish divergence only. Hidden divergence, multi symbol scanning, higher timeframe confirmation, and Expert Advisor order execution are outside this CodeBase version.
No DLL, WebRequest, account lock, expiry, or external data feed is used.

GoldLondonBreakout
Locks in the Asian session range on XAUUSD, then places an OCO breakout pair (BuyStop/SellStop) for the London open, with ATR-based stops and risk-percent position sizing. No indicators, no discretion — the range is measured, not guessed.
RSI Histogram
This is an MQL5 custom indicator for MetaTrader 5 called RSI Histogram. It plots the standard RSI line in a separate window, plus a color-coded histogram version of the same RSI values that changes color based on momentum:
Portfolio Correlation Analyzer
Read-only analytics for accounts that run several Expert Advisors. It groups closed trades by magic number and measures what running those systems together actually saves you: standalone versus combined drawdown, the pairwise correlation matrix drawn as a heat map on the chart, and a Monte Carlo reshuffle of the portfolio's period returns.
GoldScalpBot — Autonomous XAUUSD Scalper with Local App Bridge (IC Markets)
What it does DEMO = unlimited free. LIVE = 7-day trial, then rent GoldScalping Pro on MQL5 Market: https://www.mql5.com/en/market/product/190166 Trades XAUUSD on M5 during London / New York sessions Entry logic: EMA momentum + short breakout/retest filters Exits: ATR-based Stop Loss / Take Profit + optional time-stop Risk: fixed % of equity per base trade Lot scaling: increases only after consecutive wins (capped) — no martingale after losses Daily loss stop and max spread filter Optional local HTTP bridge for a companion mobile/web app (monitor, pause, close, modify SL/TP)