Does anyone have a function coded to calculate EMA?
-
- Posts: 4
- Joined: Mon Oct 13, 2008 5:51 pm
Does anyone have a function coded to calculate EMA?
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?
DMN
- Terranin
- Site Admin
- Posts: 833
- Joined: Sat Oct 21, 2006 4:39 pm
Re: Does anyone have a function coded to calculate EMA?
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.
Hasta la vista
Mike
Mike
-
- Posts: 3
- Joined: Sat Oct 03, 2020 11:30 am
Re: Does anyone have a function coded to calculate EMA?
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?
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?
-
- Posts: 1479
- Joined: Mon Apr 01, 2013 3:55 am
Re: Does anyone have a function coded to calculate EMA?
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.
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.
Return to “Programming lessons”
Who is online
Users browsing this forum: No registered users and 6 guests