Posted By: tradingest
Print price not correct - 09/06/18 21:10
Hi all,
why this print for the value Close and Open is always 0.0000
what am I doing wrong?
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);