OPEN-SOURCE SCRIPT
Telah dikemas kini RTH & ETH MAs [vnhilton]

On the left window shows ETH MAs on RTH session. On the right, shows RTH MAs on ETH session. Both RTH & ETH MAs can be displayed together at the same time if needed.
This indicator allows you to display RTH & ETH MAs on either RTH or ETH. For fast MAs, RTH & ETH version will converge earlier & be the same. ETH MAs are faster responding as they take into account ETH data & so will be more accurate at the open. However, RTH MAs can still be of use since many use indicators on RTH only.
Above shows both RTH & ETH MAs. Notice how they converge.
Nota Keluaran
added up to a total of 6 MAs.Nota Keluaran
- Added custom timeframes for each MA (Note: using a different timeframe other than the chart timeframe would make the RTH moving average appear dotted instead of a line on style = line.break, therefore I've switched RTH line styles to default line)- Added convergence MA: plots MA when RTH & ETH MA converges.
Left side shows RTH & ETH 5 minute 20 period MAs; Right side shows Convergence 5 minute 20 period MA
Nota Keluaran
- Reverted line style settings- Image above in previous update shows 2 different timeframes which is incorrect. If MA timeframes are equal to chart timeframe, then lines will be connected on line break style. However, if the MA timeframe is higher than the chart timeframe, then the MA will appear broken repeatedly instead of a connected line. Not sure the solution to this, so please let me know of a solution. In the meantime, change line style to a circle or cross if using HTF MAs on LTF chart, otherwise, I recommend you use MAs of same or lower timeframe as the chart.
Nota Keluaran
- Added partial convergence bands toggle feature (If disabled, then bands show up normally)Nota Keluaran
- Added toggles to display MAs on D/W/M timeframes only.Nota Keluaran
- Added ETH on ETH only toggle for ETH MAsNota Keluaran
- Added 2 colors for each MA (excl. convergence MAs since almost hit maximum number of outputs) based on slope of MA- removed fills between rth and eth MAs
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.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
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.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.