I think I need a simple array to do this job but I'm clearly missing
something. I want to count the times RSI crosses above OB (70) and then
record the highest RSI level for each time that happens. Then I want to
calculate the average RSI highest level over the last 5 events. Is there a
clever way to do this?
|