Replies

ctid1909360
04 Dec 2022, 06:47

RE:

ctid1909360 said:  worked it out 

 

Bars.ClosePrices.Last(0));

 

Hey,

 

Just started learning CALGO and found this : 

 

Trying to print the latest candle I use the code below

  1.             Print("Previous Candle Close: ", MarketSeries.Close.Last(1));

 

When I build this it gives me an error that it's outdated and to use bars but I can't work out / see any documentation on how to do so?

 


@ctid1909360

ctid1909360
04 Dec 2022, 06:23

When I run market series data it says obselete and to use bars but can't get syntax to work

When I run market series data it says obselete and to use bars but can't get syntax to work. So I come to the forum and the documentation isn't updated. I don't want to spend time making obselete code but can't work out how to use the correct one?


@ctid1909360