[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 467

 
kraizislot писал(а) >>
Ugh! Where can I find it, please?

https://www.mql5.com/ru/articles/1441

 

Here is a question.

Is it realistic to write a script in MQL4 or 5 that trawls orders?

Or the programming language does not allow for that?

 
618034 >>:

Вот такой вопрос возник.

А реально ли в MQL-4 или 5 написать скрипт, который тралит ордера?

Или язык програмирования этого не позволяет?

What do you mean it moves the pending orders?

 
618034 писал(а) >>

Here is a question.

Is it realistic to write a script in MQL4 or 5 that trawls orders?

Or the programming language does not allow for that?

I think such scripts are available in CodeBase.

 
sanyooooook >>:
в индикаторе Fractals фракталы выводятся на определенном расстояни от экстремумов, как такое сделать в пользовательском индикаторе?

Vinin, maybe you can help?

 

Vinin

Thanks for the prompt reply. I'll look for it now.

 
sanyooooook писал(а) >>

Vinin, maybe you can help?

For convenience, I think it's better to calculate the distance from the candle using ATR. Then you won't have any problems when switching timeframes.

I am asking for help. Do I need to give you a hint or should I do it?

 

I use the script to place two rectangles on the graph - red and blue.

Where they intersect is green.

Can I make it blue?

int start()
  {
          ObjectCreate("1", OBJ_RECTANGLE, 0, iTime(NULL,0,1),  High[1],
                                              iTime(NULL,0,120), Low[120]);              
                                  
          ObjectSet("1", OBJPROP_COLOR, Red);
                   
          
          ObjectCreate("2", OBJ_RECTANGLE, 0, iTime(NULL,0,50),  High[50],
                                              iTime(NULL,0,80),  Low[80]);              
                                                             
          ObjectSet("2", OBJPROP_COLOR, Blue);

   return(0);
}
 
Vinin >>:

Для удобства, мне кажется, лучше расстояние от свечи считать с помощью АТР. Тогда при переключении таймфрейма не будет проблем

Вопрос о помощи. Надо было подсказать или сделать?

suggestion. Implemented by changing the distance (different for different TFs) during initialisation, but still not the way I would like it to be

 

Dear Vinin!

Help me with the script that trawls orders.

I found e-SOTrailing.mq4 script in Trade Base.

I downloaded it, moved it to the folder scripts and opened a stop vou order AUD-USD - 0.9200 in the demo mode and set the trawl level 15.

Everything seems to be done correctly.

But my AUD-USD at 0.9200 is still not being executed.

Perhaps, what else should I do?

Reason: