Can anyone help me modify this attached code?
I am trying to build a simple moving average indicator & rsi indicator that only pay attention to prices during the hours >= 8 to <= 19 GMT. I want the indicator to ignore any prices that fall outside of this hourly range.
It would seem that I should be able to build an array of closing prices where I ignore any hours that don't within the above range. This seems easy however I don't want to have to rebuild the entire array on every new tick.
Can anyone advise how this might be accomplished? I have written lots of EA's but the functions related to indicators and indicator writing itself is very new to me. thanks in advance.
Bob
I am trying to build a simple moving average indicator & rsi indicator that only pay attention to prices during the hours >= 8 to <= 19 GMT. I want the indicator to ignore any prices that fall outside of this hourly range.
It would seem that I should be able to build an array of closing prices where I ignore any hours that don't within the above range. This seems easy however I don't want to have to rebuild the entire array on every new tick.
Can anyone advise how this might be accomplished? I have written lots of EA's but the functions related to indicators and indicator writing itself is very new to me. thanks in advance.
Bob