Announcement

Collapse
No announcement yet.

Problem with trade directional trend index

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with trade directional trend index

    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

  • #2
    Problem with trade directional trend index (an example)

    Hi, I have added a print screen (example.jpg) of a esignal chart which indicates the problem. Is there any way to solve it? Any saggestions would be appreciated. Thanks.
    Attached Files

    Comment

    Working...
    X