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 4 Indicator | pivots calculation based on pine script v4

For MQL5 version please click here.

pine script v4 function I/O :

pivothigh(source, leftbars, rightbars) → series[float]

pivotlow(source, leftbars, rightbars) → series[float]

This indicator includes two simple functions to calculate the pivotshigh and pivotslow functions based on pine script. The functions can be used as copy and paste snippet in conversion projects from tradingview platform.

Note: The pivots indicators implemented in tradingview platform is lagging. 

  MetaTrader Experts, Indicators, Scripts and Libraries

  MetaTrader Experts, Indicators, Scripts and Libraries

47838