Page 1 of 1

Add periods to streams without using addViewBAr

PostPosted: Mon Jan 02, 2017 2:49 pm
by Marcello
Hi

I need to handle three OHLC streams (grouped with createCandleGroup) that will contain three different time frames (i.e. H1, H4 and D1). Each H1 period I will recalculate the High, Low and Close values for H4 and D1 streams based on H1. The problem is that each time I execute addViewBar to add a period on H4 stream, a new period is added to D1 stream. I need to be able to add a new period to D1 after 6 period has been added to H4.

Is that possible?

Regards

Re: Add periods to streams without using addViewBAr

PostPosted: Thu Jan 12, 2017 4:35 am
by Apprentice
Now via addViewBar.
Or it is.
But you will need to handle the creation of new bars.