LonesomeTheBlue

Multi Time Frame Candles

Hello Traders,


This script can show (upto) 3 candles of another time frames without changing chart time frame realtime. You can choose the time frame and number of candles in the options. You have option to change body and wick colors as well.


in this example number of candles is 2:

You can set body and wick colors:

In this example, weekly candles are shown on 1h chart:


Enjoy!
Release Notes: unnecessary codes removed
Release Notes: Added window for the candles.
Release Notes: Because of overlap issue, adjusted the script to work on separate window
Release Notes: fixed. it can show up to 5 candles.
Release Notes: "Candle Width" option added
Release Notes: Maximum number of candles increased to 10, now it can show up to 10 higher time frame candles (was 5)
Array operations improved.
Fixed the candles that opening price equals closing price
Release Notes: updated.

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?