Login Page - Create Account

Support Board


Date/Time: Sun, 08 Sep 2024 01:57:57 +0000



[User Discussion] - A way to Apply the Crossover Alert to Moving Average Bands.

View Count: 1726

[2015-06-19 01:03:45]
djcurcio - Posts: 236
Does anyone know of the way to achieve this?
I have two Moving Averages Indicators and each create a band (Fill Top & Fill Bottom).
I would like to create an alert when one band crosses over the other.
If a band (a pair of the MAs) could be defined as a fictitious indicator (F1 and F2) I could use the Crossover Alert =Crossover(F1,F2).
Is there a way to achieve this?
Or might it be a suggestion to Sierra?
Thanks


[2015-06-19 05:43:37]
Sawtooth - Posts: 4083
Try this:

Add two instances of the Color Bar Based On Alert Condition study.

Put this formula in one:
=AND(MIN(ID1.SG1,ID1.SG2)>MAX(ID2.SG1,ID2.SG2),MIN(ID1.SG1[-1],ID1.SG2[-1])<MAX(ID2.SG1[-1],ID2.SG2[-1]))
and this formula in the other:
=AND(MAX(ID1.SG1,ID1.SG2)<MIN(ID2.SG1,ID2.SG2),MAX(ID1.SG1[-1],ID1.SG2[-1])>MIN(ID2.SG1[-1],ID2.SG2[-1]))

where ID1 is the faster band, and ID2 is the slower band.

-This will give you a visual of where the alerts will be.
-If you don't want the visual, you could put each formula in the two different band studies.
-You could combine the two formulas with =OR(....) and put it in any study's Alerts tab.
[2015-06-19 08:07:06]
djcurcio - Posts: 236
thanks Tom - hurts my brain tho LOL
[2015-06-19 11:18:19]
User69055 - Posts: 23
TRADE29DOT COM HAS SOME PRETTY COOL SIERRA CHART ADD ONS, ONE OF WHICH I BELIEVE WILL SUIT YOUR REQUEST.
THE GUY [ONN] WHO HAS THE SITE WORKS WITH SIERRA AS I HAVE HAD THE PLEASURE OF WORKING WITH HIM IN THE PAST.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account