Indicator in strategy "Buffer is too small"

How to create strategies and indicators
Message
Author
Faraday
Posts: 3
Joined: Wed Jan 10, 2018 3:46 am

Indicator in strategy "Buffer is too small"

#1 Postby Faraday » Wed Jan 10, 2018 4:56 am

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.
Attachments
Capture.JPG
Capture.JPG (32.36 KiB) Viewed 9552 times

Faraday
Posts: 3
Joined: Wed Jan 10, 2018 3:46 am

Re: Indicator in strategy "Buffer is too small"

#2 Postby Faraday » Wed Jan 10, 2018 7:05 am

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

FX Helper
Posts: 1037
Joined: Mon Apr 01, 2013 3:55 am

Re: Indicator in strategy "Buffer is too small"

#3 Postby FX Helper » Wed Jan 10, 2018 7:40 am

Hello,

Here is the latest version of the TechnicalFinctions.pas file we have at the moment.
Attachments
TechnicalFunctions.zip
(1.52 KiB) Downloaded 247 times

Faraday
Posts: 3
Joined: Wed Jan 10, 2018 3:46 am

Re: Indicator in strategy "Buffer is too small"

#4 Postby Faraday » Wed Jan 10, 2018 9:45 am

Thanks. Same version I have.


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 4 guests