How do i code iCustom lines for these two Indicators

 
I have these 2 indicators, how do I code signals for them with iCustom

please i just need a line example

this is what have been doing for turtle channel

double mix1 = iCustom(Symbol(),0,"TheTurtleTradingChannel",0,periodBegin,periodEnd,0,1,1); 

double mix2 = iCustom(Symbol(),0,"TheTurtleTradingChannel",0,periodBegin,periodEnd,1,0,1); 

but its not working correctly

please also show me iCustom for panca breakout
 

.

int curr=(int)iCustom(Symbol(),0,"TheTurtleTradingChannel",TradePeriod,StopPeriod,6,0); 
int prev=(int)iCustom(Symbol(),0,"TheTurtleTradingChannel",TradePeriod,StopPeriod,6,1); 

if(curr==OP_BUY && prev==OP_SELL)
  {
   //---
  }     
 
pipPod:

.

i will try it