Login Page - Create Account

Support Board


Date/Time: Sun, 06 Oct 2024 13:20:32 +0000



[User Discussion] - Average of ZigZag Length

View Count: 5784

[2022-07-24 11:41:49]
User431178 - Posts: 511
Not Kiwi, but minimally updated file aTmp.cpp so that it will compile with current Sierra Chart version.

How to Build an Advanced Custom Study from Source Code
Date Time Of Last Edit: 2022-07-24 11:42:13
attachmentaTmp.cpp - Attached On 2022-07-24 11:39:17 UTC - Size: 28.68 KB - 175 views
[2022-07-30 08:49:38]
WyckoffSleuth - Posts: 16
Thank you for updated CPP

I have compiled your cpp into dll, added it as a study, but unfortunately i don't understand how to get it to draw an average zig zag length with it. In study parameters there doesn't seem to be a setting "Draw average=yes" or something; in Subgraphs i see there is a "ZigZag average (SG12)" but it also seems to do nothing. Could you please advice how to use this study?

Many thanks
imageZigzag average.jpg / V - Attached On 2022-07-30 08:48:44 UTC - Size: 353.1 KB - 206 views
[2022-07-30 09:28:15]
User431178 - Posts: 511
Example chartbook attached.
a) Use Study Subgraph Reference (or similar) to display the value from the Zig Zag study in a different chart region.
b) Add zig zag study to region other than main price graph, set all subgraphs except Zig Zag Average to Ignore.

Also, you need to set the Number of Zig Zags used for Statistics to a sensible number.
attachmentZigZagAverage.Cht - Attached On 2022-07-30 09:25:59 UTC - Size: 6.77 KB - 244 views
[2022-07-30 10:38:23]
WyckoffSleuth - Posts: 16
Thank you very much - got it to work, looks great!
[2023-07-26 15:46:16]
Rui S - Posts: 186
Example chartbook attached.
a) Use Study Subgraph Reference (or similar) to display the value from the Zig Zag study in a different chart region.
b) Add zig zag study to region other than main price graph, set all subgraphs except Zig Zag Average to Ignore.

Also, you need to set the Number of Zig Zags used for Statistics to a sensible number.

Hello User431178,

I have just downloaded and tried to open your ZigZagAverage.Cht file but it gives me a message of error. Probably it is out of date, considering that you posted it here 1 year ago.

Would you be kind enough to upload an updated version of it?

Thanks.

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

Login

Login Page - Create Account