Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 14:52:24 +0000



producing horizontal line offset from another study

View Count: 286

[2023-02-03 19:32:43]
User12089 - Posts: 361
on a chart, there is:

Study 1 - there is a Color Bar on Alert Condition study which produces a Horizontal Line when the condition is true

Study 2 - there is another study which produces a numerical value as its output

Question - how to Add/Subtract the Value of Study 2, from the value at which the Horizontal Line of Study 1 is drawn and use the result to draw a second/new horizontal line, which is essentially offset from the first line (of Study 1) by the numerical value of Study 2

i tried e.g. the study Study Subgraps Add, but it didnt work
[2023-02-03 21:57:19]
John - SC Support - Posts: 36350
Study Subgraphs Add or Study Subgraphs Subtract are tools that can be used and should work. Why did this not work for you?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-02-04 09:25:02]
User12089 - Posts: 361
you are missing the second part of the initial question "from the value at which the Horizontal Line of Study 1 is drawn and use the result to draw a second/new horizontal line, which is essentially offset from the first line (of Study 1) by the numerical value of Study 2"

ps: simply adding, subtracting etc is easy and it works - you need to read and comprehend and then address the above question/situation as a whole

so the essence of teh question is how do u INTEGRATE add/subtract with the Color Bar on Alert condition to produce a line which is offset

anyway, in the meantime i found the solution which was to use the reference study/subgraph input attribute of the color bar on alert condition
Date Time Of Last Edit: 2023-02-04 09:28:57

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

Login

Login Page - Create Account