printf("\nPreviousCandleHigh %1d", priceHigh(1));
printf("\nPreviousCandleLow %1d", priceLow(1));
printf("\nPreviousCandleRange %1d", (priceHigh(1)) - (priceLow(1)));

Dammit now I can see the problem. Use "f" not "d"

Last edited by RTG; 08/19/22 00:38.