I am trying to compare the SMA values of the last 5 bars for a condition that adds or subtracts to an int value that I wish to use as the plot set.
I keep getting this error in the log when I try to start the indicator:
"Error on calling the 'OnBarUpdate' method for indicator 'DaySlope' on bar 0: Index was out of range. Must be non-negative and less than the size of the collection."
What does that mean?
I would like to post my code but the NT forum website goes to "intenet Explorer canot display...blah blah" when ever I try.
THANKS
Comment