Forum

draw line in indicator on seperet window

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

from ea to indicator

hello, I wrote function that calculate and return (for example)variable X(double), how can i past with X to simple indicator that each bar displays it on separate window. right now the same function runs on the ea, and on the indicator, but its too slow. is there a way to make the ea calculate X