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

431
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

433
hello coders,
I have a request please. found this ea on the net, hopefully it is not decompiled one.
can anyone please make it like once it opens an order as per the logic (fast ma crosses below slow ma opens sell and vise versa) to close on the same candle when it expiries, let's say it opened sell on 15 mins candle, to close the postion once the same 15 min candle is finished regardless of the outcome.
thank u very much
Green