Support Board
Date/Time: Sun, 22 Dec 2024 05:48:36 +0000
Post From: [API] Concerning +/- slope color/direction on study in general
[2015-04-02 03:19:23] |
MiiMeldon - Posts: 2 |
Thanks, but sorry if I am still not convinced, I just need to confirm because I am somewhat confused. I am going to define a black curve (say, EWA) as negatively sloped and red on same curve as positively (upward) curve. Say it is black (downward trend) and the market begins in the upward direction causing the comparison of current bar with previous bar to be equal, which color is the curve now? Black or red? What is the determining factor SierraCharts uses when drawing *any* curve of *any* study/indicator with the user's color? So does SierraCharts simply compare bars as you suggest? If you are certain of this or can confirm this then I will take it as the answer. I am just somewhat at a loss, mainly because of two possible scenarios in general (but not necessarily your trading platform which is why this needs to be clarified): 1) A custom study/indicator, as developed by third-party, or any study/indicator for that matter, determines positivity (upward color) and negativity (downward color) on its own accord and reports back to SierraCharts for it to plot in these colors as governed by the study itself. 2) SierraCharts simply compares values in the curve's data array to determine color of curve at any point (lexeme) on the chart as per your instruction "a matter of comparing the study values from bar to bar or at a particular bar to another particular bar in the past." So the actual scenario would be the second (2), correct? Thanks again! |