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 | Skyscraper_Fix

Real author: TrendLaboratory

Fixed version of the Skyscraper indicator. This indicator in its original form has one distinct feature. When calculating on the current bar, it uses volatility of the financial instrument calculated considering all previous chart bars. As a result, when the chart moves to the right, the indicator's NRTR line is moved farther and farther away from the current price values. Such an approach may be viable for short-lived financial instruments, but generally, the algorithm should limit the calculation of volatility to some period, which was done in the proposed version of this indicator. Volatility is defined considering the input parameter:

input uint    Length=10;             // ATR period  

The indicator middle line is also made similar to the main lines in the NRTR form and colored in accordance with the current trend.

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 1. Skyscraper_Fix

22288