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!
Notes de version
⋅
unnecessary codes removed
Notes de version
⋅
Added window for the candles.
Notes de version
⋅
Because of overlap issue, adjusted the script to work on separate window
Notes de version
⋅
fixed. it can show up to 5 candles.
Notes de version
⋅
"Candle Width" option added
Notes de version
⋅
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
This publication is now featured in our Editors' Picks. In the name of all TradingView traders, thank you for your valuable contribution to the TradingView community, and congrats!