Posted By: faustf
Printf list series is possible ? - 01/04/21 23:49
hi guys
i saw in manual the printf return always a simple variable , but is possible return a series like this ?
i tested but return me always 0 but if i plot i saw the line line
thanks at all
i saw in manual the printf return always a simple variable , but is possible return a series like this ?
Code
function run() { BarPeriod = 24 * 60; // 1 day asset("EUR/USD"); vars PriceHL = series(priceHigh() - priceLow()); var CellO = SMA(PriceHL, 48) + StdDev(PriceHL, 48); printf("Result = %.f\n", CellO); plot("MedianPriceOpenClose2", CellO, NEW, RED); }
i tested but return me always 0 but if i plot i saw the line line
thanks at all