Trying to find Weekly and Daily Open, Close, High and Low
Created at 15 Jun 2022, 00:11
TR
Trying to find Weekly and Daily Open, Close, High and Low
15 Jun 2022, 00:11
Hi,
I will be using a cbot in the lower times frames e.g 1hr and want to calculate the previous day pivot point and weekly pivot point.
How do I get the higher timeframe data series and get the output?
I was trying this
Bars WeeklyPP = MarketData.GetBars(TimeFrame.Weekly, this.SymbolName);
&
var dailySeries = MarketData.GetSeries(TimeFrame.Weekly);
But it looks like it only gives High and Low ?? and I am not 100% sure how to call it to get the data back from the new data series.
Any help would be great
Thanks
amusleh
15 Jun 2022, 08:00
Hi,
Check here: https://help.ctrader.com/ctrader-automate/guides/indicators#multiple-timeframes
@amusleh