Page 1 of 1

Indicator in strategy "Buffer is too small"

Posted: Wed Jan 10, 2018 4:56 am
by Faraday
Hi,
I have looked everywhere on site for an answer to this but can't find anything.

I want to use RSI as part of my strategy and the following code I used gives a "Buffer is too small" error (See attached).

Code: Select all

int       IndRSI;
EXPORT void __stdcall  ResetStrategy()
{
IndRSI = CreateIndicator(Currency,1440,"RSI","1;Open");
}


I feel I have missed something but can't work it out.

Any help will be appreciated.

Re: Indicator in strategy "Buffer is too small"

Posted: Wed Jan 10, 2018 7:05 am
by Faraday
Don't worry I've solved it. I was using an out of date Strategy interface. I now have ver 1.11

Is there a more up to date TechnicalFunctions.h file, I'm currently using ver 1.0

Re: Indicator in strategy "Buffer is too small"

Posted: Wed Jan 10, 2018 7:40 am
by FX Helper
Hello,

Here is the latest version of the TechnicalFinctions.pas file we have at the moment.

Re: Indicator in strategy "Buffer is too small"

Posted: Wed Jan 10, 2018 9:45 am
by Faraday
Thanks. Same version I have.