Trying to Recreate a TradingView indicator for Average Daily Range New

Login or Register

Please login or register in order to view and post in the Forum.

1 post / 0 new
carlosleon2005
Last seen: 2 days 14 hours ago
Joined: 03/31/2011 - 00:00
Trying to Recreate a TradingView indicator for Average Daily Range

I was wondering if anyone could help me code this in IRT. Or figure out the right indicators to use to make it happen.

I want to create these same bands on my chart in IRT, that I currently have in TradingView.

All it's doing is looking at the past 5 days of ranges and 10 days of ranges, and coming up with an average for each.

So each of the past 5 day's, single daily range, is added together, then divided by 5, and ditto for the 10d.

Then 1/2 of the 5d average is added and subtracted to today's opening price, to form a support/resistance line.

And 1/2 of the 10d average is also used as above.

This forms a band above, and a band below, the opening print, that is between the 5d and 10d average daily ranges. (see attachment).

I think this can be done with some combination of SESST and MPD, but I'm not exactly sure how. Also, filling in the bands might be more complicated and are really just a 'nice to have'.

Any help would be appreciated. Hopefully this is understandabe.

0