Page 1 of 1

Does anyone have a function coded to calculate EMA?

Posted: Wed Oct 29, 2008 9:27 pm
by donovo13
I have the code to calculate SMA (Simple Moving Averages) but would like to test with EMA (Exponential Moving Averages) does anyone have a function coded to calculate EMA?

Re: Does anyone have a function coded to calculate EMA?

Posted: Thu Oct 30, 2008 3:23 pm
by Terranin
donovo13 wrote:I have the code to calculate SMA (Simple Moving Averages) but would like to test with EMA (Exponential Moving Averages) does anyone have a function coded to calculate EMA?


You can find this function in Examples\Indicators\ folder, see TechnicalFunctions.pas of TechnicalFunctions.cpp and look for GetMA function, it can calculate any kind of MA.

Re: Does anyone have a function coded to calculate EMA?

Posted: Tue Oct 06, 2020 5:56 pm
by carloswm85
Thanks for the information, Terranin.

I have some knowledge on plain C programming language.

Can you tell me where I can find the documentation necessary for coding and setting up my own indicators for FT4?

Re: Does anyone have a function coded to calculate EMA?

Posted: Mon Oct 12, 2020 6:56 am
by FX Helper
Hello,

You an find API files in C:\ForexTester4\Examples\Indicators\C++ folder by default.
API description can be found in "Help" menu in the Forex Tester program.