Page 1 of 1

RSI into EA

Posted: Mon Jul 04, 2016 12:06 pm
by lucafx
Hello,
I'm starting to program in Delphi for FT2 using its API and, if I figure out well, every indicator should be coded again into the EA (there are not function-ready for recall the indicators).
If anyone has used RSI into his ea, would you mind giving me a snippet code on how you have calculated the RSI?

Thanks in advance,
Luca

Re: RSI into EA

Posted: Tue Jul 05, 2016 6:22 am
by FX Helper
Hello,

You can access to the indicator from the EA.

CreateIndicator function to get the indicator ID, GetIndicatorValue to get the buffer value of the indicator.

You can find more info in the Forex Tester program, Help -> Strategies API

Re: RSI into EA

Posted: Wed Jul 06, 2016 12:41 pm
by lucafx
Thanks for your help!

L.