Plotting H & L of day problem
Posted: 15 Nov 2011
I'm just trying to plot the high or low of the day, ONLY plotting from the "current" high or low.. As the study is written, it plots ALL highs and lows of the day, bar by bar.
When a new high or low happens, I'd like it to redraw(erasing previous line), from the new high or low point forward only..
I'm having a "Perry" moment and am stuck..(tried noplot, when H > hod etc) with no luck.
When a new high or low happens, I'd like it to redraw(erasing previous line), from the new high or low point forward only..
I'm having a "Perry" moment and am stuck..(tried noplot, when H > hod etc) with no luck.
Code: Select all
vars:hod(0),Lod(0);
HOD= highD(0);
LOD = LOWD(0);
plot1(hod,"hi");
plot2(Lod,"Lod");