Support Board
Date/Time: Mon, 25 Nov 2024 02:13:23 +0000
issue with subtracting overlay data
View Count: 250
[2024-04-19 15:56:38] |
jivetrader - Posts: 410 |
Hi, you will see from the attached that overlaying the VPOC value from source chart #14 works fine (value=5038.00). However, subtracting this value from its previous value results in a zero output. Please lmk if you need more information. Thanks
|
[2024-04-19 17:12:56] |
John - SC Support - Posts: 36238 |
There is nothing attached, so we are not sure what you are referring to. Also, how are you doing the subtraction?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-04-22 04:14:16] |
jivetrader - Posts: 410 |
Apologies, please see attached.
|
SPOL calc text issue1.png / V - Attached On 2024-04-22 04:14:00 UTC - Size: 226.47 KB - 57 views |
[2024-04-22 15:29:37] |
John - SC Support - Posts: 36238 |
In your "Study Subgraphs Difference" study you are using the same subgraph for "Input Study 1" and "Input Study 2", therefore a result of 0 is correct.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-04-23 01:27:35] |
jivetrader - Posts: 410 |
Yes, same input, but the 2nd one is offset by 1 period, and the source chart is has a daily timeframe. Hence I am trying to see the difference of the current VPOC minus the previous period VPOC.
|
[2024-04-23 05:27:37] |
jivetrader - Posts: 410 |
RESOLVED- In the current day's example, VPOC happens to equal VPOC[-1] by coincidence, hence the zero value. When tested with a lookback period of 2 or more, the value changes as it should. Thanks and apologies for your time.
|
To post a message in this thread, you need to log in with your Sierra Chart account: