HTF Candles by DGT

a simple study introducing new pine function box.new
please note, values presented reflects the value from the beginning of the month, week, year etc, not for a month, a week etc long duration
made htf candle color and transparency adjustable, thanks to new pine update
added optional fixed moving average display for both current time frame and selected higher time frame
* enchanced statistical panel with multi time frame price distance to its MA (convergance/divergence) statistical info
* new color function made style coloring disappeared, so added them into the script options
* time frame selection for htf candle and ma's are now separated
The Heikin-Ashi technique averages price data to construct the chart where the formula for calculating each bar is different than standard candlestick charts. Heikin-Ashi chart is smoother (market noise filtered out) and easier to spot trends and reversals
Basics of how to interpret Heikin-Ashi candles
• Green candles signify an uptrend and if no lower "shadows" then a strong uptrend
• Candles with a small body surrounded by upper and lower shadows indicate a trend change
• Red candles indicate a downtrend and if no higher shadows then a strong downtrend
Day traders who need to exploit quick price moves may find Heikin-Ashi charts are not responsive enough to be useful
* added ability to plot second higher timeframe candle
* added ability to set alerts whenever new high/low detected on higher timeframe (both 1st and 2nd htf candle)
* added volume and volume average stats to info panel
added higher time frame mini charts
special thnaks to berkusacoin
Mini Charts
- are now available for all markets (due to Pine limitations it used to be only properly applicable on 7/24 open markets, thanks to Pine Team for the recent update that allow us to apply the concept on all markets)
- ability to specify number of bars (min 1, max 9)
- each bar includes OHLC info, Range and ATR Value (just hover over the each bar’s top). Additionally when high volatility is detected “⚡” sing will appear on top of the bar.
- Ability to display assistant lines either displaying the Range or including the range as Fibonacci levels
special thanks to berkusacoin for his valuable suggestion
Alerts
- Extended to include Moving Average crosses (Previously only HTF HIGH and LOW detection was available)
added 5-period simple moving average for mini charts, Prakarti31 thanks alot for the suggestion
added ability to change test size of labels of assistant lines
htf selection extended, now 3m, 5m and 10m are availabe
- Volume Weighted Colored Bars
- Mini Overlay RSI Indicator, including higher timeframe mini charts. Thnaks to Prakarti31 valuable suggestion
- Forex Market Sessions
users may specify type of the moving average ("SMA", "EMA", "RMA", "WMA", "VWMA"), source and length according to their needs
assitance lines - reverse fib levels are added as another option
* refactored mini charts code, enhanced and extended htf mini charts
* new : candlestick pattern detection, please check here for chart version with trend options
* improved statistical panel
* extended alerts
* removed Forex Market Sessions display
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.