|
Hmt Ptl
2016-07-29 06:54:31
|
|
I've tried following to show me the Highest high and lowest Low intraday difference, as the bars are formed for the current day.
I right clicked on chart went into "Edit Formula" and typed following:
######################################################
nob = barssince(day() != ref(day(),1));
TimeframeSet(60*5);
hi = hhv(high, nob); // find highest high for current day
lo = llv(low, nob); // find the lowest low for current day
PrintChart(hi - lo, "", BottomLeft, colorBlack, colorTransparent, colorTransparent, 200);
UpdatePrintSettings("Size", 1, 60);
TimeframeRestore();
#######################################################
But, Above code doesn't do what I want - it just shows high low difference of individual bar...
Any clues how to do what I want?
Thanks.
|
|