Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 23:44:09 +0000



Post From: Text on chart based on Study value

[2018-07-23 21:05:03]
John - SC Support - Posts: 31362
That thread is the basis for what you need to do. We also just updated the documentation to give the instructions for how to create the alert condition for that thread. This can be found here:
https://www.sierrachart.com/index.php?page=doc/StudiesReference.php&ID=334&Name=Text_Display_For_Study#Example_DisplayingTextBasedOnAlertCondition

Since you want to have specialized text for each condition, you would need to create 3 pairs of Color Bar Based on Alert Condition and Text Display for Study studies. We have attached an example study collection for you based on the post that you reference.

Refer to the following for how to use the Study Collection:
Study Collections: Using a Study Collection Provided by Sierra Chart Support

Also, just for completeness, it is possible to nest IF statements together, although from what we see, this would not work in this case. For example =IF(A > B, 1, IF(B > C, 2, 3)) would give you 1 if A is Greater than B, 2 if B is Greater than C and A is NOT Greater than B or 3 if the first two conditions are not true.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
attachmentDifferentTextDisplays.StdyCollct - Attached On 2018-07-23 21:02:26 UTC - Size: 65.32 KB - 539 views