Page 44 of 44

Re: Simple Expert Advisors (EA's) for MT4

Posted: Thu Jun 19, 2025 9:23 pm
by Ganesh
ionone wrote: Fri Jun 13, 2025 3:17 am this is not right.

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....
The trade is not being placed correctly.

Re: Simple Expert Advisors (EA's) for MT4

Posted: Thu Jun 19, 2025 9:32 pm
by ionone
Ganesh wrote: Thu Jun 19, 2025 9:23 pm The trade is not being placed correctly.
it seems to work on my side.

you need to change all the iCustom instances in the code
here is my code