Event from Indicator to Bot not working.
Created at 09 Apr 2021, 13:47
Event from Indicator to Bot not working.
09 Apr 2021, 13:47
I'm trying so hard to make event work, I have a indicator(the one on the left) and a bot(the one on the right).
I would like to fire the event from the indicator and get it in the bot, but no matter what I tried it wont fire the event.
Even tried with a reference type before static without success.
amusleh
09 Apr 2021, 17:15
Hi,
You have to call your indicator Calculate method from your cBot OnTick/Bar methods, as the indicator Calculate method is a lazy method its not called automatically unless you do it manually.
@amusleh