Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 20:29:04 +0000



Suggestion : Using data from other timeframes without having to open a chart

View Count: 322

[2023-10-22 18:07:33]
erwinbeckers - Posts: 22
I would like to suggest a new feature for ACSIL that will allow a study to use data from another timeframe without the need for an extra chart

NinjaTrader has a nice feature where you can add extra data series from within your study
When you add this then OnBarUpdte() will be called for the original chart timeframe bars with BarsInProgress=0
but also for first extra added dataseries with BarsInProgress=1
and for the 2nd extra added dataseries 2 with BarsInProgress=2 etc etc


Perhaps that's a way to add it to Sierrachart as well, since it would not change any of the existing interfaces.
But maybe there are better ways
Anyway.. if we would be bke to use data from other timeframes without needing to open extra charts would open the possibility of multi-timeframe studies

regards
Erwin
[2023-10-23 09:18:41]
User431178 - Posts: 543

NinjaTrader has a nice feature where you can add extra data series from within your study
.......
Anyway.. if we would be bke to use data from other timeframes without needing to open extra charts would open the possibility of multi-timeframe studies

Open the chart(s) programmatically from within your study and set to hidden.
From a user interface perspective that would not be any different to NT, i.e. the user would not see or be responsible for opening the chart.

sc.OpenChartOrGetChartReference()
[2023-10-23 10:28:58]
erwinbeckers - Posts: 22
thanks for the reply
i’m aware of this method, but this simply opens a new chart from code. thats not what i am looking for. what i would need is to use price/bar data from other timeframes without opening a new chart

now that i think of it.. can we not make the chart hidden ?
that way we can use data from other timeframes AND the user does not see a new chart
[2023-10-23 10:48:05]
User431178 - Posts: 543
now that i think of it.. can we not make the chart hidden ?

What did I write above?

"Open the chart(s) programmatically from within your study and set to hidden."

that way we can use data from other timeframes AND the user does not see a new chart
Yes, exactly, from the user interface perspective it is the same as NT
Date Time Of Last Edit: 2023-10-23 10:49:30

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

Login

Login Page - Create Account