TradingView
Squam_Gobaloochee
9 Th05 2018 02:57

real body range 

SPDR S&P 500 ETF TRUSTArca

Mô tả

Highlights point of largest positive and negative candle ranges based on the look back length. Works for all time frames May have some value added for points of support and resistance relative to the buyer and sellers associated with that specific candle.

For the sake of keeping the chart clean I elected to eliminate the first data point and used the "linebr" style and fill plots. I also used //@version=2 which works better for the fill plots. //@version=3 seemed to jam me up so if you edit and run with it you may need to retain the version=2 configuration. If you find an alternative method that works for version=3 please give me a shout. Apply at your own risk and discretion.

Squam
Thêm nữa