OPEN-SOURCE SCRIPT
KAMA H

KAMA H is the companion pane for KAMA Regime. It carries the identical decision logic as the overlay version and re-draws it as an oscillator, so you can see what the engine sees: how far price has stretched from its adaptive anchor, and exactly where the signal thresholds sit.
The main histogram is the distance between price and the adaptive average, measured in units of typical bar range: gold above the line, blue below, brighter while the stretch is expanding and dimmer while it contracts. A smoothed signal line rides on top. Dotted lines mark the dead zone and the two learned stretch bands in the same distance units, so a signal is always visible as the histogram reaching a line. An efficiency shading along the bottom shows when the tape is traveling cleanly versus chopping, and a small status card summarizes the current regime, distance, efficiency, band position, and momentum at a glance.
To use it as intended, load it in a pane beneath KAMA Regime with both left at default settings; the triangles in the pane will line up bar for bar with the markers on the price chart. If you change a setting on one, make the same change on the other and they stay in step. On its own, the pane also works as a general stretched-or-not oscillator for any symbol.
All the overlay's optional filters are present here with the same defaults, and every internal reading is exported to the data window for anyone who wants to study the components. Background regime tinting is available in settings and ships off.
Research and educational use only; not financial advice. No prediction is made or implied.
The main histogram is the distance between price and the adaptive average, measured in units of typical bar range: gold above the line, blue below, brighter while the stretch is expanding and dimmer while it contracts. A smoothed signal line rides on top. Dotted lines mark the dead zone and the two learned stretch bands in the same distance units, so a signal is always visible as the histogram reaching a line. An efficiency shading along the bottom shows when the tape is traveling cleanly versus chopping, and a small status card summarizes the current regime, distance, efficiency, band position, and momentum at a glance.
To use it as intended, load it in a pane beneath KAMA Regime with both left at default settings; the triangles in the pane will line up bar for bar with the markers on the price chart. If you change a setting on one, make the same change on the other and they stay in step. On its own, the pane also works as a general stretched-or-not oscillator for any symbol.
All the overlay's optional filters are present here with the same defaults, and every internal reading is exported to the data window for anyone who wants to study the components. Background regime tinting is available in settings and ships off.
Research and educational use only; not financial advice. No prediction is made or implied.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。