Support Board
Date/Time: Fri, 29 Nov 2024 10:35:27 +0000
Custom Symbol (A+B)-(C+D)
View Count: 369
[2023-02-10 22:40:20] |
Alex Q - Posts: 98 |
I am trying to create a custom symbol that would include four symbols total. I'd like to get up volume for the NYSE and the NASDAQ and then subtract the down volume from the NYSE and the Nasdaq. It would look something like this: ({uvol-nyse}+{uvol-nasdaq})-({dvol-nyse}+{dvol-nasdaq}) However, it seems that once I introduce parenthesis it does not work in that I cannot download any historical data. I've walked through the steps outlined in the "Resolving Missing Historical Data Issue" section, however it does not seem to work. If I remove the parenthesis it works fine, however the calculation is incorrect when done that way. |
[2023-02-10 23:38:44] |
John - SC Support - Posts: 36350 |
Remember your Associative Property of Addition/Subtraction - The order of operations does not matter. Therefore ({uvol-nyse}+{uvol-nasdaq})-({dvol-nyse}+{dvol-nasdaq}) is equivalent to {uvol-nyse} + {uvol-nasdaq} - {dvol-nyse} - {dvol-nasdaq} For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-02-11 17:47:35] |
Alex Q - Posts: 98 |
Thanks John! I initially misread your post. However, thank you for your response per usual.
|
To post a message in this thread, you need to log in with your Sierra Chart account: