At least it shows something. In iFractals on zero bar it is unlikely to work with fractals, and in OrderSend there are errors with Ask and Bid. Use Print("err "+GetLastError()) to check possible errors. And in general, why reinvent the wheel, if there is a ready Expert Advisor - Roman. 09.03.2011 16:56
Fractalu= iFractals( 0, 0, MODE_UPPER, 3) ; Fractall=iFractals( 0, 0,MODE_LOWER, 3); When I put three at the end, the alarms with errors to the log started to fill, so the condition was met, that was the main brake! Error 4062!
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
At least it shows something. In iFractals on zero bar it is unlikely to work with fractals, and in OrderSend there are errors with Ask and Bid. Use Print("err "+GetLastError()) to check possible errors. And in general, why reinvent the wheel, if there is a ready Expert Advisor - Roman. 09.03.2011 16:56
Thank you very much! I will use Print("err "+GetLastError()) !
Why reinvent the wheel.
Well I'm learning mql4 as I go along, and I understand something better in the book, and I'll have a look at Roman's adviser.
Fractall=iFractals( 0, 0,MODE_LOWER, 3); When I put three at the end, the alarms with errors to the log started to fill, so the condition was met, that was the main brake! Error 4062!
Where the fuck does he need a stringer?
Don't mock yourself and the branch - his thong is here on the page - in the EXPERTS.rar folder
he needed a string here - OrderSend(Symbol(), OP_BUY, volume, Ask, Point*3, Bid- stoploss*Point, Ask+ takeprofit*Point, "Pose66", 1234567890, 0, Red);Alert("buy",GetLastError());
The name of the symbol is the first parameter, you have 0.
Don't mock yourself and the thread - the string is here on the page - in the folder EXPERTS.rar
+1 Dimka-novitsek, let's think together how to improve.
+1 Dimka-novitsek, let's think together how to improve.
I wrote in a private message.
he needed a string here - OrderSend(Symbol(), OP_BUY, volume, Ask, Point*3, Bid- stoploss*Point, Ask+ takeprofit*Point, "Pose66", 1234567890, 0, Red);Alert("buy",GetLastError());
The name of the symbol is the first parameter, you have 0.
Thank you!!!
By the way, sorry, personal mail is not it?
I'll look at it, but what's there to improve, I wrote it in 20 minutes.
My brother's here, now he can play the game.