Support Board
Date/Time: Wed, 27 Nov 2024 19:35:46 +0000
[User Discussion] - Average of ZigZag Length
View Count: 5875
[2022-07-24 11:41:49] |
User431178 - Posts: 544 |
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
|
aTmp.cpp - Attached On 2022-07-24 11:39:17 UTC - Size: 28.68 KB - 229 views |
[2022-07-30 08:49:38] |
WyckoffSleuth - Posts: 25 |
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 |
Zigzag average.jpg / V - Attached On 2022-07-30 08:48:44 UTC - Size: 353.1 KB - 221 views |
[2022-07-30 09:28:15] |
User431178 - Posts: 544 |
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. |
ZigZagAverage.Cht - Attached On 2022-07-30 09:25:59 UTC - Size: 6.77 KB - 298 views |
[2022-07-30 10:38:23] |
WyckoffSleuth - Posts: 25 |
Thank you very much - got it to work, looks great!
|
[2023-07-26 15:46:16] |
Rui S - Posts: 190 |
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: