Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 15:22:32 +0000



Post From: Graphs like triangle or rectangle based on alert condition

[2020-10-06 17:34:55]
Ackin - Posts: 1865
If you want to have an indication at the top or bottom depending on the type of bar and other conditions, you must use two studies and each set a different output and a different alert.


You should read this to understand what the study output is.



Output When Condition Is True

This Input only applies to the Color Bar Based on Alert Condition study.

When an Alert Condition formula is TRUE at a bar/column in the chart, the corresponding study Subgraph element of this study which is used to color a bar is set to 1.0. This causes the bar to be colored when using one of the Color Bar Draw Styles.

When you set this Input to Use Input Data, then the study Subgraph element for this study at the bar/column where the Alert Condition formula is TRUE, will be set to the value of the Input Data Input at that bar. It is necessary to use Use Input Data when you want to use a Draw Style other than the boolean Draw Styles such as Color Bar. The other styles require an actual chart value to vertically position them on the chart.

Setting this to Use Input Data, also allows you to color existing studies when your Alert Condition formula is TRUE. This requires that the Color Bar Based on Alert Condition study be Based On the study that you want to color.

Color Bar Based on Alert Condition
Color Bar Based on Alert Condition: Output When Condition Is True
Date Time Of Last Edit: 2020-10-06 17:36:57
imagecccolorbar.png / V - Attached On 2020-10-06 17:34:41 UTC - Size: 82.85 KB - 280 views