Login Page - Create Account

Support Board


Date/Time: Mon, 20 May 2024 17:35:24 +0000



Post From: Need code for the following alarm.

[2014-05-24 16:18:08]
RQ - Posts: 50
M5amhan, I am hoping you can help me out with code for an alarm.

I use two Bollinger bands; the length setting (bars back) is different. For purposes of this discussion let's say the small Bollinger band length is 10 and the large Bollinger band length is 50.

I am not interested in the middle band; I focus on the upper and lower bands.

Alarm condition if the upper band on the small Bollinger crosses above the upper band on the large Bollinger I need an alert and I would like (if possible) to be able to change the background colour of the chart; and the background should stay coloured until the small upper Bollinger band returns back inside the large Bollinger upper band.

I want exactly the same thing but just in reverse for the lower Bollinger bands. (Chart background colour should be the same for the Bollinger higher or lower breakout.
Is this possible? Thanks