On Saturday, May 13, the new build 402 of the MetaTrader 4 will be released:
- Fixed timezone correction when downloading history data to History Center.
- Fixed freezing of mobile terminals during startup and LiveUpdate on the HTC devices.
- Fixed bugs reported in error messages.
Hi
My buy and sell scripts dont work anymore with 401 error 4062
what to do ?
Regards,
Hans
Hello
Another script "breakeven" is removing all my trendlines and fiblevels wil send it to you
We have checked your script Buy_3.mq4 on the 225-th build. It doesn't work there either. We didn't change anything in that place.
Are you sure that the script worked previously? You should explicitly initialize all string variables before using them.
We have checked your script Buy_3.mq4 on the 225-th build. It doesn't work there either. We didn't change anything in that place.
Are you sure that the script worked previously? You should explicitly initialize all string variables before using them.
it worked perfect before
with the breakeven script it is removing al my trendlines it did this never before
with the breakeven script it is removing al my trendlines it did this never before
I've asked you about the Buy_3.mq4 script.
On Saturday, May 13, the new build 402 of the MetaTrader 4 will be released:
- Fixed timezone correction when downloading history data to History Center.
- Fixed freezing of mobile terminals during startup and LiveUpdate on the HTC devices.
- Fixed bugs reported in error messages.
Hi Rosh,
I have been writing a bit of code for EAs recently. I've come across the following problem when I use the following lines:
extern double MACD_THRESH = 0.0018;
//... then inside main()
Print( MACD_THRESH );
// it prints "0.0001" and hence fails a logic test
Can you suggest how to handle double numbers?
Kind regards,
Leonymus
with the breakeven script it is removing al my trendlines it did this never before
Yes, it is correct behaviour of this script. Because I see in one function ObjectsDeleteAll();
int start() { int totalorders=OrdersTotal(); for(int i=totalorders-1;i>=0;i--) { OrderSelect(i,SELECT_BY_POS); { if(OrderSymbol()==Symbol() && OrderType()==OP_BUY) { OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice(),OrderTakeProfit(),0,Green); ObjectsDeleteAll(); // if there is an OP_BUY order then delete all grafical objects } if(OrderSymbol()==Symbol() && OrderType()==OP_SELL) { OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice(),OrderTakeProfit(),0,Green); } } } return; }I consider at all your questions were answered.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
On Saturday, May 13, the new build 402 of the MetaTrader 4 will be released:
- Fixed timezone correction when downloading history data to History Center.
- Fixed freezing of mobile terminals during startup and LiveUpdate on the HTC devices.
- Fixed bugs reported in error messages.
The live update will be available via the LiveUpdate system.