It about news manager, this old one ( https://clickalgo.com/forex-news-manager ) or rather its API.
I've added all code to my cbot like it was shown in included example, set .dll file reference, also changed access right to Full etc. In news manager, I've set to stop trading 240 mins before news:
Then I start news manager with loaded .csv, it properly says that news for usd and cad are coming in these 240mins:
But when I start my cbot and to be sure its okay I add OnStart this simple code:
and then start it on CAD or USD instance it says "false" in log instead of "true". Do that means it will be only changed to true in exact time of news release, not 240 minutes before and after?
I've checked registry values, they are set as it should:
Just tried it all with example code .algo adding printing this value to OnStart, same thing.