There are indicators which shift their values to the future, e.g. Gator or Ichimoku.
I've noticed that CopyBuffer(ind_h, 0, 0, 9999, valc) returns the most recent value that corresponds to time[rates_total-1] bar, so the shifted future values are not available.
There are indicators which shift their values to the future, e.g. Gator or Ichimoku.
I've noticed that CopyBuffer(ind_h, 0, 0, 9999, valc) returns the most recent value that corresponds to time[rates_total-1] bar, so the shifted future values are not available.
Is there any workaround for that?