Forex Blog

First-hand Forex trading experience and information about foreign exchange market that will be useful to traders


Traders Dynamic Index (TDI) Converted to MT5 and cTrader

November 26, 2015 (Last updated on December 18, 2015) by

As a way to celebrate Thanksgiving, I have finally found some time to convert one of the most popular MT4 indicators to the two less popular platforms: MetaTrader 5 and cTrader. You will also find a more detailed and precise description of the indicator on Meanwhile, I have also updated the MT4 version for better compatibility with Build 600 changes and fixed some minor bugs within it.

MetaTrader 5

MT5 version is not very different from the MT4 one except for that it works with indicator buffers in a more natural way, but has to use a slow custom iMAOnArray() function to do rather basic calculation of RSI averages.

TDI - MT5 Version


cTrader version’s source code looks very different compared to its MetaTrader counterparts. It was very easy to program and the resulting code can be understood by a complete newbie. Unfortunately, it does not support alerts as there are no platform-specific alerts in cTrader that can be used in custom indicators or robots.

TDI - cTrader Version

If you find any bugs or if you have any suggestions regarding this Forex technical indicator, please feel free to post in the commentary section below. If you have Traders Dynamic Index coded for some other trading platform, you can share it here too.

Leave a Reply

required (will not be published)