Hi all,

why this print for the value Close and Open is always 0.0000
what am I doing wrong?

Code:
while(asset(loop(Assets)))
{
string CurrentAsset = Asset;
vars C = series(priceClose(0)); 
vars O = series(priceOpen(0));

print(TO_WINDOW,"n Asset = %s, C = %f, O = %f", CurrentAsset,C,O);