Techno: There is nothing complicated. there are 4 arrays, each refers to one order of the same type, you know the names, each array has 4 numbers, the first is a ticket, the second an opening price, the third a take and the fourth a moose. got it?
BUT THERE ARE NO TARGETS OR MOOSE... THEY ONLY APPEAR WHEN MODIFYING TRIGGERED ONES.
sllawa3: AND THIS EA IS JUST A QUESTION OF HOW TO BYPASS THE SELECT ERROR (THE LAST VARIABLE LEFT WHEN IT FAILS DUE TO MISSING ORDERS)
there will be no errors in this EA because it is correctly designed. If you understand, write the condition for closing the second order if the first one opened (by code) Takes will appear in due time, it is too early now, we should do everything point by point
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.
There is nothing complicated. there are 4 arrays, each refers to one order of the same type, you know the names, each array has 4 numbers, the first is a ticket, the second an opening price, the third a take and the fourth a moose. got it?
BUT THERE ARE NO TARGETS OR MOOSE... THEY ONLY APPEAR WHEN MODIFYING TRIGGERED ONES.
AND THIS EA IS JUST A QUESTION OF HOW TO BYPASS THE SELECT ERROR (THE LAST VARIABLE LEFT WHEN IT FAILS DUE TO MISSING ORDERS)
that's how you spell it
DB[2] ==0 || DB[3] ==0 ? FOR MODIFICATION ?
if(DB[0]>1&&DB[2]==0||DB[3]==0)