When one don't have any interest in looking at historical prices and the main interest is having those historical prices only into today's session, one can plot all of them on the right edge of the chart.
Where's an example by plotting today's range as a rectangle and plotting today's open, yesterday's close, high and low as simple lines.
Here's the code of this study
Code: Select all
Inputs:
RightShift (50);
Variables:
CalcSession (false),
DailyHi (-999999),
DailyLo (+999999),
CurrentSess (0),
DailyOp (0),
DailyCl (0),
prevDayHi (0),
prevDayLo (0),
prevDayOp (0),
prevDayCl (0);
CurrentSess = CurrentSession(0) ;
if CurrentSess <> CurrentSess[1] then begin
prevDayOp = DailyOp;
prevDayCl = DailyCl;
DailyOp = Open;
if DailyHi <> -999999 then
prevDayHi = DailyHi;
if DailyLo <> +999999 then
prevDayLo = DailyLo;
DailyHi = -999999;
DailyLo = +999999;
end;
DailyCl = Close;
if High > DailyHi then
DailyHi = High;
if Low < DailyLo then
DailyLo = Low;
for value1 = 0 to RightShift begin
Plot1[-value1](DailyHi, "dayHi");
Plot2[-value1](DailyLo, "dayLo");
Plot3[-value1](prevDayHi, "prevDayHi");
Plot4[-value1](prevDayLo, "prevDayLo");
Plot5[-value1](DailyOp, "DayOpen");
Plot6[-value1](prevDayCl, "prevDayCl");
end;
noplot(1);
noplot(2);
noplot(3);
noplot(4);
noplot(5);
noplot(6);
Here's the settings style
Obviously this is way to simplistic and the idea is to build something more complex, mixing different time frames, allowing us to follow different ones in a more easy a simple way, without having lines on top of lines and on top of the price bars, creating that mishmash look.
Here is the initial idea.
Having the monthly, weekly and daily (RTH and ETH) high and low, shown as rectangles and then having simple lines showing previous day, week and month highs and lows.
Here's this past Friday playback of how things look like.
You can see how this Friday ZN made a new week high and also a new week and month low, for me, in a very easy to read way.
http://www.screencast.com/t/Nti5OmCwN
Obviously that this would look better if we had transparencies and such but...