Plot only last couple of Bars: right side in MainChart Window

 
hi,

just a quick question.

Does anyone have an indicator or some piece of code which allows/(shows how) to plot only a couple of bars on the right side of the main window.


Thanks a lot.


MJ

 

it should look something like the picture below. Any ideas

MJ



Reason: