Possible to calculate yearly and quartely timeframe?
Possible to calculate yearly and quartely timeframe?
29 Aug 2021, 22:17
Newbie to coding, but trying to build my indicator. Since there are no quarterly and yearly timeframes in ctrader, is it possible in any way to calculate them? Im doing an indicator with open prices as a line on all timeframes and would like to add the yearly and quarterly too if possible.
Replies
k_543210
30 Aug 2021, 12:40
RE:
PanagiotisCharalampous said:
Hi k_543210,
In principle, this is possible. You can construct Q1 and Y1 bars using the data available from M1 bars.
Best Regards,
Panagiotis
Thats great to hear from you that its possible!
It seems that this would not be a very simple task to do, but has anyone done this or can point me in the right direction on how to figure out how the code would look like?
@k_543210
PanagiotisCharalampous
30 Aug 2021, 08:38
Hi k_543210,
In principle, this is possible. You can construct Q1 and Y1 bars using the data available from M1 bars.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous