Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Position in channel

The indicator shows the position of the current price in a channel.

First it determines the channel boundaries. The upper boundary is defined as the maximal value of High[], the lower boundary is determined from the minimal values of Low[]. If the current value of Close[0] is located in the middle of the channel, its value is equal to 0. The price position is determined relative to the upper (from 0 to 10) and lower (from 0 to -10) channel boundaries.

Input parameters:

  • Period - number of bars, used in calculation of the channel.
  • X Coordinate - the horizontal shift relative to the lower right corner.
  • Y Coordinate - the vertical shift relative to the lower right corner.

MetaTrader Experts, Indicators, Scripts and Libraries

194

Best MetaTrader Indicators + Profitable Expert Advisors