Extent oscillator displays the difference between the moving average and the price as a colored histogram.
It has four inputs:

Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/23118
Specified_Time_Range_Candles
Specified time range candles indicator
E-Friday
Have a look at the daily bar #1. Position trailing.