Please take a look at these two lines of code (lines 139 and 137 of the source)
UpMa = Ma + (StdDev*BandsDeviation);
DnMa = Ma - (StdDev*BandsDeviation);
MA can not cross upper or lower band (it can happen only, and only if you use negative values for BandsDeviation parameter, which is a wrong way of using bollinger bands). Price can cross bands, and that indicator already has alerts when the price (close) crosses upper or lower band at any time
Mr. Mladen, thank you for your inputs.
I'll try to put it this way: would it be possible to edit the code so that arrows and alerts show on the chart ALSO when price crosses bands from outside the bands to the inner part of BB (the area between upper and lower bands). Now they are shown only when price crosses bands from the inside out.
Hi Pjotr, think this version may do what you are asking.
Thanks for your reply Mladen. Yes, I have found a later version - here it is:
please could you make an alert if the color change.
The alert should show Pair, Timeframe and if Buy or Sell, and it should be appear when the candle is already closed.
Many Thanks in advance
Hi Jim Clark, added the alerts and an option for mtf.
Can I have an alert for this pin bar detection Indicator .....
Is there any other better Pin bar detection indicators around .... Something like bullish/bearish pin etc
Hi Rpasupathy, found this one in my files, not sure how the alerts work, but the smiley signals look pretty good.
Vavrey, added our usual alerts.
it works flawlessly.. appreciate your help
Thank you very much for that Mr Tools!
That's absolutely fabulous!
mrtools, I greatly appreciate it! Thank you!
That´s really great !!
Many Thank´s !!!