i want to draw line, i have ea who calls indicator in separate window,
i creatObject inside Oninit at the EA right?
what am i missing?
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:
Show the indicator in a separate window
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.