How to attach indicators from the EA ?

 

Hello,

I have some difficulties to attach the indicators on my chart from the EA.

What I did was :

void init()
{
   iCustom(Symbol(),PERIOD_CURRENT,"indicator1",0,0);
   iCustom(Symbol(),PERIOD_CURRENT,"indicator2",0,0);
   iCustom(Symbol(),PERIOD_CURRENT,"indicator3",0,0);
}

And it didn't make my indicators show on the subwindows #1, #2 and #3.


How can I make them appear on the subwindows like when I double-click or drag the indicator from the navigator ?

Thanks.

 
Reason: