: |
|
Hi everybody,
I asked me the same thing, how can I backtest my Binary Order EAs.
I found no way to do this with MT4/5 strategy tester.
But there is a way to backtest with the historical tick data inside MT4/5 tester, it works fine.
I would share my results here, if somebody will help me with the binary oder String.
It seems to be a big secret to use OrderSend() inside EA program.
If I use the orderstrings like previous posts, I always get [Trade is disabeled] answer from Core Liquidity in DEMO account.
Does anybody know Why?
This is my EA code (hardcoded testvalues):
int ticket = OrderSend(Symbol(),OP_SELL,10.0,Bid,0,0,0,"BO exp: 60",Identifier,0,clrBlue);
//MessageBox(expirycmd +" " + _Symbol + " " + Bid);
I also tried :
"BO exp: 60" instead of "BO exp:60"
close[0] instead of Bid
MarketInfo(Symbol(),MODE_BID) instead of Bid
Nothing worked....
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi...
I am developing an Expert for Binary Options it is openig orders for BO normally... But when i try to do Backtests, stops when an order is created... see :
Below the code for creating an order with expiration in 5 minutes: