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 | ATR Stop Loss

This indicator will draw ATR based stop loss calculation based on IgorAD,igorad2003@yahoo.co.uk ATRStops MQL4, with adjustable multiplier and ATR period. This indicator includes helper functions and example to run calculation via function call so the calculation logic can be placed in external include file. Work in any timeframe.

Just rename to mq4 to use it in MT4. Feel free to improve, if needed.

This indicator does not repaint.

Parameters :

Length, how many lookback periods to check bar price

ATRperiod, the ATR period

MetaTrader Experts, Indicators, Scripts and Libraries

30852