PostMessageA(Parent(), WM_COMMAND, 33042, 0); - page 8

 
Andrei01 >>:

А каким образом рисуются экспертом трендовые линии в подокне? - ведь эксперт не может открывать подокна сам.

Нужно подцеплять для этого пустой индикатор шоб болтался сбоку?

Yes?... That's weird... My subwindow opens.
 
Zhunko >>:
Да?... Странно... У меня открывает подокна.

What's the point of guessing? Here's the simplest code

int init(){ 

   ObjectsDeleteAll();

   ObjectCreate("niceLine",OBJ_TREND,0,Time[0],High[0],Time[25],Low[25]);
   ObjectSet("niceLine",OBJPROP_RAY,false);
   ObjectSet("niceLine",OBJPROP_COLOR,Blue);

   WindowRedraw();
   
return(0); 
}
//--------------------------------------------------------------------
int start(){


   return(0);
}
Replace 0 with 1 in the third parameter and you will see in the tester that no subwindow is opened and therefore nothing will be output.
 
It's a joke. Of course, it doesn't open subwindows with MQL4 tools.