Hi all,
I have been wracking my brain for about half a day on this. I've written some code to put a colored line in an indicator window to represent the higher time frame trend. Because I am comparing the higher time frame series to historical values I am using the getValue function instead of getSeries, which cause the problem that my indicator gets out of phase with the higher time frame. I have tried running reloadefs() at the start of every new bar, but it hangs the computer. So all day long I manually reload the indicator to make sure it is synced up.
Is there an easiers way?
Thanks,
Jonathan
I have been wracking my brain for about half a day on this. I've written some code to put a colored line in an indicator window to represent the higher time frame trend. Because I am comparing the higher time frame series to historical values I am using the getValue function instead of getSeries, which cause the problem that my indicator gets out of phase with the higher time frame. I have tried running reloadefs() at the start of every new bar, but it hangs the computer. So all day long I manually reload the indicator to make sure it is synced up.
Is there an easiers way?
Thanks,
Jonathan
Comment