Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Envelopes Channel with 3-Color Trend Candles - indicator for MetaTrader 5

Views:
25
Rating:
(1)
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Envelopes Trend Candles
Filter out market noise and spot true breakouts at a glance.
Envelopes Trend Candles transforms the classic Envelopes channel into an intuitive, visual trend-filtering system. Instead of forcing you to constantly track whether price closes inside or outside the bands, the indicator dynamically repaints chart candles into three distinct color states based on real-time market momentum.
How It Works
  • Neutral / Consolidation Zone (Gray): Candles closing between the upper and lower Envelopes bands are painted gray, visually signaling sideways chop and helping you stay out of low-probability flat markets.
  • Bullish Breakout / Uptrend (Green): Candles closing above the upper band turn bright green, highlighting strong upward momentum.
  • Bearish Breakout / Downtrend (Red): Candles closing below the lower band turn red, indicating sustained selling pressure.
Key Features
  • Instant Visual Clarity: Eliminates emotional reactions to minor counter-trend pullbacks inside a strong move.
  • Fully Customizable Envelopes Engine: Supports all standard MetaTrader 5 moving average methods (SMA, EMA, SMMA, LWMA) and applied price types.
  • Clean Chart Option: Includes a toggle to hide the channel lines ( Show channel bands = false ), leaving only the clean 3-color candle structure on your chart.
  • Lightweight & Fast: Built using native MQL5 buffers for zero lag and smooth multi-chart performance.
Input Parameters
  • Moving average period — Lookback period for the central moving average (default: 20 ).
  • Horizontal shift — Shifts the indicator forward or backward in bars (default: 0 ).
  • Smoothing method — MA calculation type ( SMA , EMA , SMMA , LWMA ).
  • Applied price — Price source used for band calculations (default: Close ).
  • Deviation in percent (%) — Channel width as a percentage from the central MA (default: 0.10% ).
  • Show channel bands — Toggle visibility of the upper and lower dotted lines ( true / false ).
Quick Setup Tip

For the cleanest visual experience, press F8 on your chart -> Colors tab, and set Bar Up , Bar Down , Bull Candle , and Bear Candle to None so the standard terminal candles do not overlap with the indicator's 3-color candles.


111
Breaker Block Retest Zones Breaker Block Retest Zones

Breaker block indicator for Gold (XAUUSD) and any symbol on MT5. Finds order blocks on closed bars, keeps them hidden and draws only the ones price closed through, with waiting, retested and failed states and alerts on the flip and on the first retest. Open source code.

RequestAudit: Check the Trade Requests of an Unchanged EA in the Tester RequestAudit: Check the Trade Requests of an Unchanged EA in the Tester

A library for MetaTrader 5 that checks every trade request of an existing Expert Advisor in the Strategy Tester, with one include line and no other change. Volume, stops level, freeze level, margin, trade mode and the order limit are checked; the request then goes out unchanged, and the Journal and a CSV list each violation with the file and line that sent it.

Five Point Retest Five Point Retest

Five-point retest structures found on closed bars and turned into plans: a retest band, a target at point 3 and a fail level. Each plan runs until the target is touched or a close goes past the fail level, then fades, and a panel shows how many bullish and bearish structures reached the target on the chart you are looking at.

MACD Signals MACD Signals

Indicator edition for new platform.