koryu

Koryu Magic Bands

koryu Telah dikemas kini   
Nota Keluaran:
This indicator searchs for the lowest/highest bar in a given period. Then starts to calculate the average value since the low/high.

For example: if the price reaches a new 20 day low and then trades above it, the day of the low will be the ma1, the day after its the ma2, ... up to the maximum lookback length.

With this indicator we know the average low/high price since the last low/high, we do not force a moving average length on the chart but let the chart decided which length to use (days since the low/high).

We assume that a new trend starts with a low/high, so we dont want to have bars in the moving average which are not part of the trend.


Play around with it, I set the default lookback length to 20. So it looks for the 20 bar low/high but you might use other parameters.

What we want to see in the charts are green trends with shortlived countertrends, we want to buy near the average low price in a bull market and sell near the average high price in a bear market, so we have the lowest risk.

Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

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.

Ingin menggunakan skrip ini pada carta?