Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Binary Options Strategy Library - Library for MetaTrader 4 | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 7 reads | 0 comments |

Binary Options Strategy Library - library for MetaTrader 4

Binary Options Strategy Library - library for MetaTrader 4

The library provides input parameters and functions to build binary options strategies stored in indicators to test and improve your strategies using Strategy Tester for MetaTrader 4 Binary Options Strategy Tester utility from the market.

Download this library ( BinaryOptionsStrategyLibrary.mqh) and place it in the \include folder ([path to MetaTrader 4]\MQL4\Include). You can then use these functions by including the file (see Usage).

If you have downloaded the library and stored it in the \Include folder ([path to MetaTrader 4]\MQL4\Include), you can include it like this:

The library provides the following input parameters that can be used in indicators containing binary options strategies:

Binary Options Strategy Library - library for MetaTrader 4

Binary Options Strategy Library - library for MetaTrader 4

The library provides the following functions that can be used in indicators containing binary options strategies.

Trade in the Binary Options Strategy Tester (OP_SELL or OP_BUY).

_tradeOperation - [input] Trade operation type. It can be OP_SELL or OP_BUY of the Trade operation enumeration.

No return value.

print debug value()

Print out debug values ​​when Binary-Options-Strategy-Tester is run.

_labelText - [in] Label text.

_valueText - [input] The value to print.

_row - [in] Message row, starting from 0.

No return value.

The function will decide whether the tester must check the policy rules. This function is called in the OnCalculate event of the indicator containing the binary options strategy.

No parameters.

No return value.

See " How to Build and Test Binary Options Strategies Using the MetaTrader 4 Strategy Tester " for an example of how to implement CheckMyRules() using this library in conjunction with the Binary Options Strategy Tester utility in Markets.


Attachment download

📎 binaryoptionsstrategylibrary.mqh (4.75 KB)

Source: MQL5 #16659

Verification code Refresh