Due to differences in technical indicator calculations between my testing platform and MT4 I have decided to try and bring the open source TA-LIB API into MetaTrader via a custom indicator DLL compatible with MetaTrader.
I know that to make functions available to MetaTrader I can simply create an export file and then use the #import declaration in the MT4 code but I am struggling to see how I would use that to write a custom indicator in C and then how to access it via MT4.
I know this can be done but I cannot find any examples anywhere on the internet.
Does anyone have any references or a sample template of an indicator written in C, C++?