sabricat

TMB Levels

Description:
Improved "Hourly Midline" indicator. It displays high, middle and low levels of every candle with specified timeframe (can be hourly, daily, or any other timeframe). You can change the source for the levels (either high and low of candle, or open and close of candle). Additionally, you can turn on the "Line chart", which essentially connects every midline, making a line chart of middle prices.

Parameters:
- Timeframe -> use data from this timeframe ("30" would mean 30 minutes, "60" would mean 1 hour, etc.)
- Source -> source for calculating the middle level
- Top -> parameters of the top level lines
- Middle -> parameters of the middle level lines
- Bottom -> parameters of the bottom level lines
- Line chart -> connect every midline, making a line chart
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?