In the market watch in MT4, there are several symbols. Some of them could be binary Options.Â
Different brokers have different method of representing a binary Options symbols.Â
For eg:Â
some broker use  .bo at the endÂ
Some broker use  _OP in the names
Other broker may use some other methodology.Â
so, it may become confusing to ensure whether a symbol is Binary Options or not.Â
In the attached code, we use MODE_PROFITCALCMODE to detect if a symbol is binary Option or not.Â
This is very sure shot method of detecting a binary Option symbol
The code iterates through all the symbols in the market watch and detects those symbols which are binary Options.