The attached code plots the upper and lower range lines on the chart corresponding to the price range over the opening 'n' minutes.
I've adapted the code, trying to get the watchlist to alert me when a price moves out of it's opening range of 'n' Minutes. My code is commented.
It 'almost' works, except that some candidates on the watchlist are not alerted when they should be, and others are alerted incorrectly when they should not be, which gives no confidence that I have got it even nearly correct.
I think the issues are the variables vHigh and vLow, which are not returned according to the values displayed on the chart.
Can anyone please tell me what I am doing wrong!?
Thanks
RR
2012 10 08 15 Opening Range.efs
I've adapted the code, trying to get the watchlist to alert me when a price moves out of it's opening range of 'n' Minutes. My code is commented.
It 'almost' works, except that some candidates on the watchlist are not alerted when they should be, and others are alerted incorrectly when they should not be, which gives no confidence that I have got it even nearly correct.
I think the issues are the variables vHigh and vLow, which are not returned according to the values displayed on the chart.
Can anyone please tell me what I am doing wrong!?
Thanks
RR
2012 10 08 15 Opening Range.efs
Comment