// Price Buffers double Prices[]; ⋮ int prices_total = ArraySize(price); for(int i = rates_total-1 ; i>=0 ; i--){ Prices[i] = price[i];
- The array Prices has no size. First tick array exceeded, indicator crashes.
- Why the copy?
- The array Prices has no size. First tick array exceeded, indicator crashes.
- Why the copy?
If you are referring to the copy of the Prices array. When I would attempt to use it as a parameter for the CreateAverageRsiBuffer() function. It would not accept it as a reference. Hence I opted to use that instead.
- Chad - Thanks
- Not sure what you mean by the copy?
If you are referring to the "duplicate post". The original was deleted and updated to specifically cater to the revised version of the code whilst trying to avoid redundant comments about the old code. Additionally it had received no responses (More than likely due to the 4th of July holiday weekend) and I did not want it to be overlooked.
CURRENT ISSUE:
The RSI indicator value at position [0] sets to 0. I understand why but how would I go about fixing this? Essentially it basically falls of the screen if that makes sense?
How would I got about fixing this?
Thanks

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
Essentially I am using the following RSI periods:
Now I want to create three plots using the averages from the three periods as follows:
This is all relatively straight forward as you will see in the code I have added. However the issue I am now experiencing is that the band for the average is not plotting.
Any advice would be appreciated.
Code: