draw line in indicator on seperet window
This does not make sense you have an ea that calls an indicator in separate window but you create the object in the ea's oninit() function?
You need to create the object in the indicator using property:
indicator_separate_window |
|
Show the indicator in a separate window |
Please see:
- www.mql5.com
indicator_separate_window was set already,
i wrote the create inside the oninit of the indicator and it didn't work, then i paste it to OnCalculate() and it worked
thanks a lot.
hi,
i want to draw line, i have ea who calls indicator in separate window,
i creatObject inside Oninit at the EA right?
ObjectCreate(0,"44line",OBJ_HLINE,1,0,200);
what am i missing?