Errors, bugs, questions - page 928

 
voix_kas:
You obviously didn't see the graph and didn't understand the question. :)
So the market is already open?
 
tol64:

P.S. And have a look at the symbol specification. Quotes and trading sessions section.

Dear, the crux of the question: why during a trading session would an attempt to delete pending order returns a"no price" error?

Can you please explain to me where the logic is?

Files:
nsjbipqzvj.png  45 kb
 
voix_kas:

Dear, the crux of the matter: why during a trading session...

Do the prices on the chart even change? Or now, are we going to start figuring out what time zone something is supposed to work in?
 
voix_kas:

Dear, the gist of the question: why during a trading session is an attempt to delete pending order returns a"no price" error?

Can you please explain to me where the logic is?

You originally put the question wrong and I was trying to find out what your point was. )) So, you set a pending order today at the very beginning of a trading session and when you try to delete it, you get this error?
 

Established pending order at 2013.02.10 22:37. Deleted at 2013.02.10 22:40. In between these events I managed to open a position on the market.

When I tried to enter the market, the first few responses were "no quote". This is understandable and logical to me.

It is not logical, it seems to me, to return a "no price" error when a pending order is removed. Which is what I'm asking about here. Maybe I do not understand the mechanics of pending orders?

For example, if there was no trading session when I tried to delete the pending order, I would understand if the "market is closed" error is returned. But what does a pending order have to do with "no price"?

Hz, I don't know how else to open my question. Is it a crooked server setting by the broker (response code "crooked") or is this return code consistent with market mechanics (if so, why)?

 
tol64:
You originally put the question wrong and I was trying to find out what it was about. )) So you set the pending order today at the very beginning of the trading session and when you try to delete it this error comes out?
Yes, I indicated the opening and closing times above. I have not been able to close it at once. I got a "no price" error. Still managed to close it after 3 minutes.
Документация по MQL5: Стандартные константы, перечисления и структуры / Торговые константы / Свойства позиций
Документация по MQL5: Стандартные константы, перечисления и структуры / Торговые константы / Свойства позиций
  • www.mql5.com
Стандартные константы, перечисления и структуры / Торговые константы / Свойства позиций - Документация по MQL5
 
voix_kas:
Yes, the opening and closing times I indicated above. It didn't work to close it immediately. Returned a "no price" error. Still managed to close it after 3 minutes.

Yes, I looked it up, they get this error very often. Both when setting and deleting a pending order.

//---

Where did you install the terminal from? From MQ or AlfaForex? I have one from MQ 756 build. Try maybe you should contact Service Desk or AlfaForex support.

 

tol64

I see. Thanks. Just thought maybe I was missing something in the mechanics. Maybe it's really the presence/absence of quotes that affects the removal of the pending orders.

P.S. Yes, the terminal is theirs. Bild 756. I will write to both Alpha and MC.

 
lazarev-d-m:
This is a tester glitch, I've already written to the service desk, in fact it just keeps showing up and in practice nothing happens when the price crosses the SellStop/BuyStop level, but it causes great inconvenience in the visual test

Seems to have been fixed in the current build.

Let's have another look at it.

 
ObjectFind function how does it work? Where is the error in the code for finding an object by name? The object's properties change, but I can't find the object itself.

void OnStart()
  {
//---

   if(ObjectCreate(0,"test",OBJ_LABEL,0,0,0))
     {
      ObjectSetString(0,"test",OBJPROP_TEXT,"Init");
      if(ObjectFind(0,"test")<0)
        {
         ObjectSetString(0,"test",OBJPROP_TEXT,"Нашел объект с помощью функции ObjectFind");
        }
      else
        {
         ObjectSetString(0,"test",OBJPROP_TEXT,"Не нашел объект с помощью функции ObjectFind");
        }
     }
  }
Документация по MQL5: Стандартные константы, перечисления и структуры / Константы объектов / Свойства объектов
Документация по MQL5: Стандартные константы, перечисления и структуры / Константы объектов / Свойства объектов
  • www.mql5.com
Стандартные константы, перечисления и структуры / Константы объектов / Свойства объектов - Документация по MQL5
Reason: