Download Binary Options Strategy Free

Interesting script?
So post a link to information technology –
let others appraise it

Views:
21052
Rating:


votes: 16

Published:
2016.12.22 fourteen:38
Updated:
2017.01.23 09:03

This library provides input parameters and functions to build your Binary Options strategy stored in an indicator to test and improve your strategy in the Strategy Tester of MetaTrader 4 with the Binary Options Strategy Tester utility from Marketplace.


Installation:

Download this library (BinaryOptionsStrategyLibrary.mqh)and place it into\Includebinder ([path to your MetaTrader 4]\MQL4\Include). After that you are able to utilize the functions past including the file (meet Usage).


Usage:

If you have downloaded and stored the libary into \Include binder ([path to your MetaTrader 4]\MQL4\Include), you are able to include information technology like this:

#include
<BinaryOptionsStrategyLibrary.mqh>

The library will be bachelor similar described in the instance above if it is placed in \Include folder of your MetaTrader 4.
Irresolute the content of the library is not needed!


Provided input parameters:

The library provides the following input parameters to use in your indicator which contains your Binary Options strategy:


input
YesNo oneTradePerCandle                   = Aye;
input
YesNo shouldCheckOnlyAtBeginningOfCandle  = YES;      

Binary Options Strategy Library Input Parameters

Binary Options Strategy Library Input Parameters


Provided functions:

The library provides the following functions to utilise in your indicator which contains your Binary Options strategy.

PlaceTrade()

Place a trade (OP_SELL or OP_BUY) in Binary-Options-Strategy-Tester.

void
PlaceTrade(
int
_tradeOperation

);

Parameters:

_tradeOperation
– [in] Trade functioning type. Information technology tin can be OP_SELL or OP_BUY of Trade operation enumeration.

Render value:

No return value.

PrintDebugValue()

Prints out debug values while Binary-Options-Strategy-Tester is running.

void
PrintDebugValue(
string
_labelText=“”,

string
_valueText=“”,

int
_row=0
);

Parameters:

_labelText
– [in] Text of the characterization.

_valueText
– [in] Value to print out.

_row
– [in] Row of the message, starting with 0.

Return value:

No render value.

CallStrategy()

Part will decide if tester has to check for the strategy rules. Call this function in OnCalculate event of your indicator which contains your Binary Options strategy.

void
CallStrategy();

Parameters:

No parameters.

Render value:

No return value.

Note:

CallStrategy() office in the library will call a part named CheckMyRules() in your indicator where you have to identify your atmospheric condition of your Binary Option strategy.
Therefore
you have to implement the role CheckMyRules() in your Binary Options strategy indicator.


Case:

See “How to build and test a Binary Options strategy with the MetaTrader four Strategy Tester” for an example how to apply this library and implement CheckMyRules() in combination with Binary Options Strategy Tester utility from marketplace.


FAQ:

  • Question: I can not compile the library without errors. What is going wrong?
  • Reply: Y’all exercise not need to compile the library (this mqh file). It will be included in your Binary Options strategy.
  • Question: Why you did not show a consummate case how to use the library on this page to go the next steps?
  • Respond: A consummate example is shown in the article “How to build and exam a Binary Options strategy with the MetaTrader 4 Strategy Tester”.
  • Question: Do I need to hire the Binary-Options-Strategy Tester in Market place to examination and improve my Binary Options strategies?
  • Reply: Yes. To use the utility “Binary-Options-Strategy Tester” from Marketplace you lot accept to rent it.
  • Question: I got errors like “Cannot telephone call .. BinaryOptionsStrategyTester.ex4::PrintDebugValue” or “Cannot load .. \Experts\Market\BinaryOptionsStrategyTester.ex4” in the log of MetaTrader 4. What can I practise?
  • Answer: Make sure to employ the latest version (greater than v1.00) of the library. Check the version tag in lawmaking of your library and see changelog v1.01 for more than information.


Further informations:

  • Binary Options Strategy Tester — Binary Options Test Framework utility from marketplace to test and improve your Binary Options strategy with Strategy Tester of MetaTrader 4.
  • How to build and test a Binary Options strategy with the MetaTrader 4 Strategy Tester — Article with an example of a Binary Options strategy stored in an indicator to use with Binary-Options-Strategy-Tester.


Changelog:

v1.01

  • Fixed “Cannot load..” and “Cannot telephone call..” errors by changing the import filename from “..\\Experts\\Marketplace\\BinaryOptionsStrategyTester.ex4” to “..\\Experts\\Market place\\Binary Options Strategy Tester.ex4”. Filename of Binary Options Strategy Tester from Market place is “Binary Options Strategy Tester.ex4” instead of causeless “BinaryOptionsStrategyTester.ex4”. Therefore the import of the file did non lucifer the correct filename of Binary Options Strategy Tester utility which causes in errors like “Cannot call .. BinaryOptionsStrategyTester.ex4::PrintDebugValue” or “Cannot load .. \Experts\Market\BinaryOptionsStrategyTester.ex4”.

LB & SB using RSI & Momentum
LB & SB using RSI & Momentum

The aforementioned EA’south equally previously released. The additional lawmaking allows the user to ready parameters on RSI and Momentum.

Ultimate Moving Average
Ultimate Moving Average

Moving Boilerplate based on Ultimate Oscillator. It calculates weighted average of 3 moving averages (Simple, Exponential, Smoothed or Linear Weighted).

Source: https://www.mql5.com/en/code/16659

Baca juga:  Why Binary Options Are Bad

You May Also Like