無料でロボットをダウンロードする方法を見る
Facebook上で私たちを見つけてください。
私たちのファンページに参加してください
興味深いスクリプト?
それではリンクにそれを投稿してください。-
他の人にそれを評価してもらいます
記事を気に入りましたか?MetaTrader 5ターミナルの中でそれを試してみてください。
エキスパート

Check Binary Options Symbol - MetaTrader 4のためのエキスパート

ビュー:
4605
評価:
(25)
パブリッシュ済み:
2021.12.17 12:37
アップデート済み:
2022.02.03 11:17
MQL5フリーランス このコードに基づいたロボットまたはインジケーターが必要なら、フリーランスでご注文ください フリーランスに移動

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.