Hello, I have a problem with trade directional trend index (dtit_str.efs). I have noticed that sometimes ( seldom) the bar color does not change despite that the line crosses zero. That happens only if dtit_str.efs is executed with real time data. If I reload the study (so as the real time data become old) the problem does not exist any more. But I want to make it work with real time data. I am looking the script but i can't find why that happens. The only thing that i can think is that main is not executed during that period. But i don't know why. Is that possible? How often is make being executed? There is not any setComputeOnClose(false) in that script however main is not executed on the close of each bar (it looks like it is executed evry tick). Any help would be appreciate.
Thanks
Thanks
Comment