Hello,
Is it possible to hide blank periods in chart created using SparseExpand/SparseCompress functions?
I would like to see „continuous“ charts (with some gaps between different sessions of course).
My code:
tn = TimeNum();
CS = tn >= 093000 AND tn < 142900;
x = SparseCompress( CS, Close);
y = SparseExpand( CS, Close);
O = SparseExpand(CS, SparseCompress(CS, Open ) ); // sparse data
H = SparseExpand(CS, SparseCompress(CS, High ) ); // sparse data
L = SparseExpand(CS, SparseCompress(CS, Low ) ); // sparse data
C = SparseExpand(CS, SparseCompress(CS, Close ) ); // sparse data
Plot( C, "Price", colorDefault, styleCandle);
is so far producing correct "sessions" but with a lots of empty spaces that I would like to hide: