empty values in custom indicators - page 2

 
Asa Sh #:
   int Handle = iCustom(A_MySymbol, MyTimeFramesMQL4(t), "A");    double p = 0;    double MyLegsIndicator[];    int copy = CopyBuffer(Handle, d, i, 1, MyLegsIndicator);


   int Handle = iCustom(A_MySymbol, MyTimeFramesMQL4(t), "A");
   double p = 0;
   double MyLegsIndicator[];
   ArraySetAsSeries(MyLegsIndicator, true);
   int copy = CopyBuffer(Handle, d, i, 1, MyLegsIndicator);
You need the yellow line. I did not test your code further. There might be other issues also.
Reason: