RobotFX curates the best open-source MetaTrader code to inspire your trading automation.
Real author:
RickD
The i-HighLow indicator draws a channel with the borders that correspond to the highest and lowest values of candlestick shadows for a specified number of bars with a vertical shift at the number of points defined by the indicator input parameters:
Capture price channel breakouts with the Price Channel Expert Advisor. Precise entries and exits. Explore now.
//+----------------------------------------------+ //| Indicator input parameters | //+----------------------------------------------+ input uint period=20; // The number of candlesticks for defining an extremum input uint Filter=50; // Width of the offset from a candlestick in points input int Shift=0; // Horizontal shift of the indicator in bars
This indicator was first implemented in MQL4 and published in CodeBase on 21.05.2007.

Figure 1. The i-HighLow indicator
Level up your trading with professional RobotFX expert advisors and indicators. Visit www.robotfx.org for proven MT4/MT5 tools.
2394