Support Board
Date/Time: Thu, 06 Feb 2025 18:15:43 +0000
ZigZag Calculation Mode 2
View Count: 1326
[2017-11-20 12:56:59] |
Shane111365 - Posts: 9 |
Dear SierraChart support, The following is the quote from the Technical reference for ZigZag: Zig Zag "For a current Uptrend: If the next bar's High is equal or greater than LastHigh, then LastHigh is set to the new High and the Up trend line is adjusted to the high of this next bar." "For a current Downtrend: If the next bar's Low is equal or less than LastLow, then LastLow is set to the new Low and the Down trend line is adjusted to the low of this next bar." I want to remove "is equal" so that "For a current Uptrend: If the next bar's High is greater than LastHigh, then LastHigh is set to the new High and the Up trend line is adjusted to the high of this next bar." "For a current Downtrend: If the next bar's Low is less than LastLow, then LastLow is set to the new Low and the Down trend line is adjusted to the low of this next bar." I found out that the logic is controlled by InternalResettableZigZag2 function. I am not sure I am allowed to modify it or clone it. Please advise. |
[2017-11-20 20:57:43] |
|
You can find the ResettableZigZag2_S function in the /ACS_Source/SCStudyFunctions.cpp file. Also refer to this page: How to Build an Advanced Custom Study from Source Code Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2017-11-20 20:58:59
|
[2020-05-03 10:22:58] |
User745789 - Posts: 356 |
User792506, if you still use Sierra chart and follow this "support" board, did you manage to achieve this code change?
|
To post a message in this thread, you need to log in with your Sierra Chart account: