Posted By: yebit
weekly chart - 06/13/16 10:10
I guess Zorro is not designed for this, but I want to plot a chart with weekly data.
I've read the manual exhaustively and I've taken the steps as recommended in the manual, shown below, but the bars remain daily, not weekly as promised:
set(PLOTNOW);
BarPeriod = 1440;
TimeFrame = frameSync(7);
vars Price = series(price());
I have changed the order of the above statements and tried many different values for both. I have used PlotDate, MaxBars, TimeFrame, StartDate, EndDate, all in different combinations, orders and values, but always Zorro charts daily bars (except when BarPeriod is reduced, plotting more frequently than daily, moving even further away from the weekly goal).
If anyone has tried this and made it work, please post the solution here. Thankyou.
I've read the manual exhaustively and I've taken the steps as recommended in the manual, shown below, but the bars remain daily, not weekly as promised:
set(PLOTNOW);
BarPeriod = 1440;
TimeFrame = frameSync(7);
vars Price = series(price());
I have changed the order of the above statements and tried many different values for both. I have used PlotDate, MaxBars, TimeFrame, StartDate, EndDate, all in different combinations, orders and values, but always Zorro charts daily bars (except when BarPeriod is reduced, plotting more frequently than daily, moving even further away from the weekly goal).
If anyone has tried this and made it work, please post the solution here. Thankyou.