this is not right.mrtools wrote: Wed Jun 11, 2025 1:33 am Maybe for trend:
Code: Select all
iCustom(_Symbol, _Period, "Alpha trend bands (mtf +arrows + candles + alerts)",inp_length,inp_atr_multiplier,inpPrice,BandPeriod,BandATRMultiplier,15,BarToUse);
for bands:
Code: Select all
double lowerBand = iCustom(_Symbol, _Period , "Alpha trend bands (mtf +arrows + candles + alerts)",inp_length,inp_atr_multiplier,inpPrice,BandPeriod,BandATRMultiplier,14,BarToUse); double upperBand = iCustom(_Symbol, _Period , "Alpha trend bands (mtf +arrows + candles + alerts)",inp_length,inp_atr_multiplier,inpPrice,BandPeriod,BandATRMultiplier,13,BarToUse);
correct syntax is :
Code: Select all
iCustom(_Symbol, _Period, "Alpha trend bands (mtf +arrows + candles + alerts",0,0,"alp b1",inp_length, inp_atr_multiplier, inpPrice, 15,BarToUse);also I think there will be an error reaching buffer 15 because it's not been defined correctly in the indi (only 14 buffers available)
EDIT : oh well it works now....