I have a 1 minute chart.
I can easily print the high of each bar this way:
Code: Select all
if currentbar = 1 then ClearPrintLog;
print(datetimetostring(datetime_bar_update)," high=",h:10:5);
Thanks!
Code: Select all
if currentbar = 1 then ClearPrintLog;
print(datetimetostring(datetime_bar_update)," high=",h:10:5);
You likely don't have enough bars to calculate and therefore it's "waiting" for enough bars to form to yield the value of HighD(0). Make sure your chart has enough bars that go back at least through the prior session close. If you are not receiving any backtests results, then your max bars back setting likely needs to be reduced.I tried highd(0) but it doesn't seem to work: the indicator says "calculating..." indefinitely and when I check the %cpu used by multicharts, it is at 0% !?
Same for highd(1)
Any idea what's wrong?
Thanks!