I am having a problem with one of my strategies which I just cannot seem to be able to solve. I've looked up previous "Index was outside the bounds of the array" issues and seen how it's supposed to be fixed with using ...
if ( CurrentBar < 1)
{
return;
}
However sadly it is just not happening. Can anyone look at my code to see what may be going on? Thanks!
Here is the pastebin code for it. https://pastebin.com/uxFnM37U
Comment