Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 01:15:35 +0000



[Programming Help] - Zig zag indicator question

View Count: 4947

[2021-05-27 21:39:26]
User715828 - Posts: 58
I am currently using the zig zag indicator in as subgraph to display the rotation value of swing high and lows. I have a few items I would like to change.
1) Y axis currently is based on price, can I have it based on rotation amount
2) Currently I can only start the chart for the top or bottom. I would like to have a middle 0 line to start drawing a bar chart. If the rotation is positive I would like to draw a colored bar and display the rotation value if a swing high above the 0 line and if negative draw a colored bar and display the rotation value if a swing low below the 0 line.
3) another nice feature if available is to draw a line above the 0 line indicating the average positive rotation and draw a line below the 0 line indicating the average negative rotation.

I'm included two files, the first shows what I currently have and the second is what I would like to do.

thanks. sorry if this is a duplicated but I submitted one earlier but it did not display
imageMy zig zag.PNG / V - Attached On 2021-05-27 21:37:51 UTC - Size: 51.58 KB - 555 views
imageFT zig zag.PNG / V - Attached On 2021-05-27 21:38:00 UTC - Size: 825.75 KB - 578 views
[2021-05-27 22:53:51]
Sawtooth - Posts: 3993
Here's a spreadsheet study configured to do something similar to what you what:
https://www.sawtoothtrade.com/free-stuff-8.html
[2021-05-28 06:33:46]
User310645 - Posts: 49
You just need to enable the zig zag oscillator subgraph. This will give you the rotation study like FT71.

You can add 2 line studies to the chart region to indicate the average level (or impulse level as FT does). As you don't need to change these very often being manual isn't a big deal.
[2021-05-28 17:16:47]
User715828 - Posts: 58
Thank you Tomgilb and User310645.

User310645 I turned on the zig zag oscillator but I am not getting the swing rotational values. I've looked through all the inputs and could not find how to turn this on. Is it possible? Thanks
[2021-05-28 18:30:05]
User310645 - Posts: 49
Sorry you are correct. I had modified mine. I've attached the source if you are interested. Its the "Display labels on oscillator" input after setting "Display Length of Zig Zag line". You can also add volume and delta and highlight inverse delta conditions.
attachmentZigZagEx.cpp - Attached On 2021-05-28 18:28:58 UTC - Size: 36.03 KB - 385 views

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

Login

Login Page - Create Account