MT5 indicator input MA fast period MA fast method MA fast ApplyTo MA slow period MA slow method MA slow ApplyTo BB period BB deviation BB ApplyTo MA period MA method MA ApplyTo check X candles - check distance from last close above or under upper or lower BB check Y candles - check distance from last signal notification on MT5 app on/off play sound on/off ==================== MA fast/slow is for trend BB is for find correction MA is for entry signal buy signal appear when -trend is up -if in last X candles price was equal or above upper band -price close above MA and is under middle BB sell signal appear when -trend is down -if in last X candles price was equial or under lower band -price close under MA and is above middle BB display on MT5 -arrow up or down -SL and TP levels SL level is on last low or high TP is 1:1 of SL in opposite side notification (BUY or SELL, entry price, TP price, SL price) need source code