Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 07:51:38 +0000



[Programming Help] - HIGH/LOW of an indicator

View Count: 584

[2020-02-24 05:18:06]
User917679 - Posts: 76
In spreadsheet programming, is it possible to get the high or low of any indicator(instead of just the candle sticks/heiken-ashi etc)?

If so, how do you get the high/low data?
[2020-02-24 12:57:40]
Sawtooth - Posts: 3993
You can use the High/Low For Time Period study, or the HightestHigh/LowestLow Over N Bars study, with the 'Based On' set to an indicator, and reference their output to spreadsheet columns.

It's also possible to do this with formulas.
[2020-02-24 15:04:29]
User917679 - Posts: 76
I slept on it and actually woke up w/ an idea,

but I'll definitely try this first as it seems way more direct.

Another question if you don't mind: is it possible to "freeze" an indicator's value at the time an order is placed, and have it stay frozen indefinitely because of the placed order?
[2020-02-24 16:10:06]
Sawtooth - Posts: 3993
is it possible to "freeze" an indicator's value at the time an order is placed
You can do this by creating a persistent variable.
Here are some examples:
Spreadsheet Example Formulas and Usage: Persistent and Incrementing Variables

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

Login

Login Page - Create Account