with you mqldev, as always
Multi-timeframe Bollinger bands indicator.
updated version of the old indicator of 2017, which I made for a trader from the US in instagram talk, to trade in majors and options to them, Vitaly in the comments reminded me that I have wanted to update it, so download the latest version and test it.
What is changed compared to the old version:
Added a cross timeframe signal monitor on the chart, it duplicates all signals received from the indicator from all timeframes for the current pair.
Removed the old logic signals, instead introduced a list of logic
what it means
NO_ALERTS – no signals at all just indicator on a chart
OUTSIDE_OF_BB_RANGE – current price out of BB range
BREAK_OUT_BB – breakout BB range (first signal candle, the classic scheme of logic)
FAKE_BREAK_OUT – fake breakout so when the candle break BB range and the next candle is closing in the range back
BREAK_IN_BB – this is break in signal from outside bb range to the middle prices
inverted signals to follow the price breakouts
INVERTED_OUTSIDE_OF_BB_RANGE – inverted signal on current price out of BB range
INVERTED_BREAK_OUT_BB – inverted signal on breakout BB range (first signal candle, the classic scheme of logic)
INVERTED_FAKE_BREAK_OUT – inverted signal on fake breakout so when the candle break BB range and the next candle is closing in the range back
INVERTED_BREAK_IN_BB – inverted signal on this is break in signal from outside bb range to the middle prices
BREAK_BB_RANGE – combination of break out and inverted break in signals
INVERTED_BREAK_BB_RANGE – combination of inverted break out and break in signals
An additional signal modifier Candles_Flip has been added, by default it is set to NO, if you select YES, i.e. enable it, an additional condition for changing the direction of candlesticks will be added to any of the signals: for buy signals – a bearish candle to a bull, for sell signals – a bullish candle to a bearish.
In the MTF_Alerts parameter you can list the timeframes from which you want to receive alert notifications m1 m5 m15 m30 h1 h4 d1 w1 mn separated by spaces
If you want to work only with the current timeframe, leave this parameter empty.
If you want to work with current candle signals just switch Calculation parameter from PREVIOUS_CANDLE to CURRENT_CANDLE method.
If you need automated trading by bollinger bands indicator use Xentrader_Bollinger_Bands signal in Xentrader Online EA, follow the link http://xentrader.online/
Good trading to all!
15.06.2017 fixed M1 bug. Valven444 thank you for your bug report with YouTube.
26.06.2018 Changed at the request of the Scalp.fx now allsignals will alert you when the bar closes outside the Bollinger bands range
01.11.2018 code and logic refactoring
28.11.2019 added historical signals arrows and four new inverted signals
25.01.2020 added Calculation method switcher from previous candle to current candle signals
01.02.2020 added two combined break in and break out signals by request of our user Nick Salvador
06.03.2020 added new parameter InpBandsPipsOffset – this offset also affects to the signals and print two dotted lines with offset from indicator’s low and high bands