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 | Simple dollar index indicator

Solution: in error condition - timer activation of Copy* with testing of flag (error occurrence).

Calculation according to close prices. Recalculation is not made if index has been calculated and there are not any changes.

Calculation formula was taken from here

There is one input parameter: amount of bars for calculation (== amount of bars for line mapping).

MetaTrader Experts, Indicators, Scripts and Libraries

All pairs are called for calculation. There is not any difference where to launch. A pair, where the indicator is launched, is displayed in the upper left corner near (short) indicator name.

MetaTrader Experts, Indicators, Scripts and Libraries

It is advisable to add synchronization and checks for practical use ( particularly on small (less then H1) timeframes). But this is another story.

1830

Best MetaTrader Indicators + Profitable Expert Advisors