Assista a como baixar robôs de negociação gratuitos
Encontre-nos em Facebook!
Participe de nossa página de fãs
Script interessante?
Coloque um link para ele, e permita que outras pessoas também o avaliem
Você gostou do script?
Avalie seu funcionamento no terminal MetaTrader 5
Experts

Check Binary Options Symbol - expert para MetaTrader 4

Visualizações:
4315
Avaliação:
(24)
Publicado:
2021.12.17 12:37
Atualizado:
2022.02.03 11:17
Precisa de um robô ou indicador baseado nesse código? Solicite-o no Freelance Ir para Freelance

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.

    Check Trade Time Check Trade Time

    This code base is a simple function to check if current time lies within two specified times. Many times it is required by the Ea to enter trades between two specific time of the day only. This code takes two inputs, one is the start time and second is the end time. The code will check if the current time is in between start time and end time and will return accordingly.

    One click close One click close

    The code is used to demonstrate how one can create a button on the chart and assign a function to it. The code is used to delete all orders after clicking on the button. The deletion takes care of various scenarios and shows error messages.

    Bullish Bearish Color Bullish Bearish Color

    This indicator draws coloured histograms to identify bullish and bearish bars.

    Check Trading time Check Trading time

    This code base is a simple function to check if current time lies within two specified times.