Login Page - Create Account

Support Board

Date/Time: Sun, 03 Mar 2024 11:59:46 +0000

Post From: Adding text boxes to the top of a chart with price data of previous candles.

[2023-08-21 14:32:21]
John - SC Support - Posts: 29568
You do not need the "Spreadsheet Formula" studies, but it was a good idea.

On the Text Display for Study study, there is an Input for "Subgraph Columns Back", that allows you to define the offset from the main bar. Entering a value of 1 will give you 1 bar back, etc.

There is not a way to color the "Text Display for Study" based on a value and since this is using a Drawing Tool, you can not use the Color Bar Based on Alert Condition study either.

The only way you will be able to color the "boxes" the way you want is create a custom study that does the drawing for you. Or you can modify the "Text Display for Study" to do what you want - the code for this is in the file 'Studies3.cpp' located in the ACS_Source folder under your main Sierra Chart installation folder. Refer to the following:
How to Build an Advanced Custom Study from Source Code
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing