how use method iCustom with this indicator

 

i want use this indicator


if color red show Comment (" you can sell")

if color green show Comment(" you can buy")

i try this code

 double buy = iCustom(Symbol(),0,"adaptive",0,1);
  double sell = iCustom(Symbol(),0,"adaptive",2,1);
   Comment("  Buy => "+buy+"  Sell => "+sell);
Files:
adaptive.ex4  26 kb
 

MQL7x7:

i want use this indicator 

i try this code

attached

  1. No one's stopping you
  2. No question asked. Detailed explanation of iCustom - MQL4 forum
  3. We humans can't read ex4s.