Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 10:08:11 +0000



Post From: Alerts for Delta Momentum Moving Average Slope Divergences

[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.