Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 117
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
tell me how to treat such fences in meta-quotes quotes)?
We need to intercept messages.
If the message has already been executed, it has already been deleted from the queue.
Ok, I have the following question.
- It beeps on every tick, because it turns out that first indexFirstLeftOnChart is zero. How do I fight this? Build 509.
If a message has already been executed, it has already been deleted from the queue.
I have something on a simple point, a headache. There is a function to search for orders.
t - counter of all orders.
p - counter of pending orders.
I call it from the start:
In fact, when we open it, even when there are no orders, we see this (even when there are no orders, it prints as if there are...):
How is this possible?
int start()
{
OrderSend("EURUSD",OP_BUY,0.1,Ask,3,Bid-15*Point,Bid+15*Point);
Alert(GetLastError());
return;
}
The script didn't work and error 4109 (Trading not allowed) was shown. When trying to change the situation, error 4016 (Uninitialised array) also appeared. I would like to know what causes these errors and how to create a simple trade opening script after all. I just copied the example from tutorial https://book.mql4.com/ru/trading/ordersend (I just added function GetLastError into it) and got error 4109 anyway.
Can you tell me if there is any way to set default comments on the order???
What kind of "order"? What is it for? Where and why does it need a comment?