Hello, just to addnwesterhuijs wrote: Tue Jun 10, 2025 8:52 pm Based on the indicator my observation was that TrendSignal buffer 15 has a value of either 1 or -1.
Do be aware that this EA does not close a trade upon an opposite signal, so both a sell and buy can be open at the same time.
ALPHA BAND-EA.mq4
Code: Select all
double lowerBand = iCustom(Symbol(), 0, "Alpha trend bands (mtf +arrows + candles + alerts)", BandPeriod, BandATRMultiplier, 0, 0);
double upperBand = iCustom(Symbol(), 0, "Alpha trend bands (mtf +arrows + candles + alerts)", BandPeriod, BandATRMultiplier, 1, 0);
Code: Select all
double lowerBand = iCustom(Symbol(),0,"Alpha trend bands (mtf + arrows + candles + alerts)", BandPeriod, BandATRMultiplier,14,0);
double upperBand = iCustom(Symbol(),0,"Alpha trend bands (mtf + arrows + candles + alerts)", BandPeriod, BandATRMultiplier,13,0);