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.