Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 04:55:26 +0000



[User Discussion] - Alerts for Delta Momentum Moving Average Slope Divergences

View Count: 2624

[2015-02-13 13:14:37]
Halco - Posts: 92
Before I start trying to figure how to write these two alerts, can you tell me first if they are possible without a spreadsheet study:

Alert 1 - Divergence for at least 3 bars of ZigZag slope and Delta Momentum moving average slope - ZZ sloping up/Delta MoMo MA sloping down or ZZ sloping down/Delta MoMo MA sloping up.

Alert 2 - Price making higher high/Delta MoMo MA making lower high or Price making lower low/Delta MoMo MA making higher low.

I don't expect you guys to write the alerts for me, just please tell if they are possible. Thanks!
[2015-02-13 14:44:11]
Sawtooth - Posts: 4141
Alert 1 is possible with Simple Alerts.

Alert 2 is also possible, if the HH,LH,LL,HL are all identified by another study, and if the price/delta divergence happens at the same or nearby bar.
Date Time Of Last Edit: 2015-02-13 15:20:40
[2015-02-13 16:06:27]
Halco - Posts: 92
Thanks Tom. Could you give me an example of a study I could use to identify the HH, etc.? Could I use the ZigZag study?
Date Time Of Last Edit: 2015-02-13 16:19:02
[2015-02-13 20:57:16]
Sawtooth - Posts: 4141
The Zigzag study is the only one that has HH,LH,LL,HL. You'll need to set the 'Display HH,LH,LL,HL Labels' to Yes.

Use SG2, and the following table:
1 = LH
2 = HH
3 = HL
4 = LL

For example: =ID1.SG2=1 to find the LH
where ID1 is the Zigzag study.

For the Delta Mom MA you can use another instance of the ZZ study with the 'Based On' set to the Delta study.

The Zigzag study will output the HH,LH,LL,HL before the direction change, which means a HL will occur before a LL, and a LH will occur before a HH. If you wait until the direction changes, and the HH,LH,LL,HL becomes permanent, you'll need to code for n previous bars, and that will only work using Calc mode 2. You'll just have to experiment. From my point of view, this kind of task is easier with a spreadsheet study.

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

Login

Login Page - Create Account