Login Page - Create Account

Support Board


Date/Time: Sat, 27 Jul 2024 05:33:40 +0000



[Programming Help] - Is there way to extract OHLC data from a specific candle on the chart?

View Count: 258

[2023-12-02 22:09:04]
User389232 - Posts: 3
Hello,

I am looking for a way to extract OHLC data from (current candle - 1) on the chart and make it into a label. Is that possible?

Thanks!
[2023-12-03 10:47:10]
User61168 - Posts: 369
make it into a label
please explain what you mean by this? If you just want to print OHLC values on a chart, it's pretty straightforward.
[2023-12-04 02:42:56]
User389232 - Posts: 3
I want to print NOT from the current OHLC value, but the candle before the current candle. Is that possible?

Many thanks
Date Time Of Last Edit: 2023-12-04 02:43:19
[2023-12-04 03:44:07]
User61168 - Posts: 369
Yes. You can print from any bar displayed on the chart. Just use O[-1], same for H,L, and C for current -1 bar

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

Login

Login Page - Create Account