Getting Values From Custom Indicator

 

This is my snippet, i want to know is there some thing wrong with my code or how do i get these values properly

 double kf1 = iCustom(NULL, PERIOD_CURRENT, "xixi_tz_1_10",1000, false,true, false, false,clrBlue ,5, clrBlue, clrBlue, clrBlue, 10,15, clrBlue,0,0 );
 double kf2 = iCustom(NULL, PERIOD_CURRENT, "xixi_tz_1_10",1000, false,true, false, false,clrBlue ,5, clrBlue, clrBlue, clrBlue, 10,15, clrBlue,1,0 );
 double kf3 = iCustom(NULL, PERIOD_CURRENT, "xixi_tz_1_10",1000, false,true, false, false,clrBlue ,5, clrBlue, clrBlue, clrBlue, 10,15, clrBlue,2,0 );

the h value means the number of candles to confirm the box ,

boxes

inputs

Files:
 
Nothing wrong with your code. However, the rectangles are objects not part of the buffers.