SIGNAL_INFO_ID returning 0 though terminal is showing subscribed

 

Hello,

I'm subscribed via the terminal to a Signal. Its showing un the navigator under my account. However, when running the following in my EA I'm always getting 0:

Print(SignalInfoGetInteger(SIGNAL_INFO_ID)); 

Any idea why?

This is essentially the only code in the EA.

Thanks.

 

It was in the announcement:

MQL5: Disabled and deprecated Signal* functions. They will now return empty signal sets.

Documentation on MQL5: Trade Signals
Documentation on MQL5: Trade Signals
  • www.mql5.com
Trade Signals - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
Sergey Golubev #:

It was in the announcement:

MQL5: Disabled and deprecated Signal* functions. They will now return empty signal sets.

Thank you Sergey, are there any alternatives for retrieving signal info that I'm subscribed to via MQL5? 

This is still available via MQL4 and I use it to verify a signal subscription is still enabled and with the right settings. Not sure what to do now when it comes to MQL5 signals.

Thanks in advance for your help.