Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 13:42:32 +0000



[Programming Help] - Reference to the average value of OHLC

View Count: 263

[2023-04-25 19:37:52]
WeroTrader - Posts: 46
Hello!!!

I would like to know if there is any function that can help me to get the OHLC values. I have tried with "sc.GetNearestOHLCOfTime"
[2023-04-25 21:13:11]
JohnR - User831573 - Posts: 306
They are part of the base data coming into your study.

sc.BaseData[SC_OPEN] or sc.Open[]: The array of opening prices for each bar.
sc.BaseData[SC_HIGH] or sc.High[]: The array of high prices for each bar.
sc.BaseData[SC_LOW] or sc.Low[]: The array of low prices for each bar.
sc.BaseData[SC_LAST] or sc.Close[]: The array of closing/last prices for each bar.

ACSIL Interface Members - Variables and Arrays: sc.BaseDataIn[][] / sc.BaseData[][]

Hope that helps
JohnR

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

Login

Login Page - Create Account