PROTECTED SOURCE SCRIPT
Telah dikemas kini Axe and Shield

Axe and Shield measures the distance between the selected Moving Average (T3, EMA, SMA) or Volume Weighted Average Price (VWAP) and high or low of the current bar. It remembers the highest distance over the selected period of time.

It will use a candle's high if the price is above the level.
It will use a candle's low if the price is below it.
Distance is always positive. If it is measured above, the axe will be green. If it is below, it will be red.
The lookback period is how far in the past you want to look for the extreme distance. By default, it is set 24h to the past on always-open markets.
I recommend using with low-period moving averages or VWAP. Sometimes, you might even see double tops on the indicator and reversal price action, which can lead to opening a position. You might as well look for divergences. When the price moves higher but remains closer to MA/VWAP, momentum might be disappearing.
Do a proper backtest to see how useful Axe and Shield's information would be to you.
It will use a candle's high if the price is above the level.
It will use a candle's low if the price is below it.
Distance is always positive. If it is measured above, the axe will be green. If it is below, it will be red.
The lookback period is how far in the past you want to look for the extreme distance. By default, it is set 24h to the past on always-open markets.
I recommend using with low-period moving averages or VWAP. Sometimes, you might even see double tops on the indicator and reversal price action, which can lead to opening a position. You might as well look for divergences. When the price moves higher but remains closer to MA/VWAP, momentum might be disappearing.
Do a proper backtest to see how useful Axe and Shield's information would be to you.
Nota Keluaran
Added the ability to use Triple Exponential MA (TEMA) with a period of 3 to smooth the swings.Nota Keluaran
Fixed Preview and clarified one input optionNota Keluaran
Added option to highlight London and New York sessions. This option is enabled by default. You need to disable it in the colour settings if you don't like it.Nota Keluaran
I removed functions that I don't use and made the script relatively messy.Nota Keluaran
Updating chart pictureSkrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
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 dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
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.