Lets say i have a for loop and there is 100 bars on the chart. There is no connection no live data.
I want to simulate upcoming bars. Lets say create 10 bars.
Is it possible to add bars and give a specific price and volume value to those bars?
Like barIndex 101 would have a price of 1945 with a volume of 300, bar 102 = price 1946 with a volume 560, bar 103 = price 1945.5 with a volume of 1500 etc.
I can use Bars.GetVolume and Bars.GetClose for the remaining bars.
Ty
Comment