My problem is that I get several more triggers from the indicator than it supposed to give.
Explanation:
I have a custom indicator. If gives some triggers couple of times a day.
I have defined a public variable array that stores the triggers. Indicator works and the print command shows exactly the time and details of the true triggers.
Now I have created an empty strategy. The only thing it has at the moment is OnBarUpdate it waits for the trigger of the indicator and prints a message with the data. (Bar number,time etc)
This is the bases for the strategy.
. In the display window I see the print lines from the strategy as well as from the indicator. But I get more lines from the strategy then the indicator.
At times of day where there are no indicator triggers.
Where to look?
Comment