OPEN-SOURCE SCRIPT
Sri_Momentum

Sri_Momentum - Advanced Oscillator for Market Trends
Description
The Sri_Momentum is a powerful momentum-based oscillator that helps traders analyze price trends and market strength. This indicator utilizes two simple moving averages (SMA) to calculate the Awesome Oscillator (AO) and a signal line for trend confirmation. The histogram dynamically changes color based on the crossover between AO and the signal line, providing clear bullish and bearish signals.
✅ Awesome Oscillator (AO) Calculation - Measures market momentum using a fast and slow SMA.
✅ Signal Line for Confirmation - A smoothed moving average of AO to help traders identify trend shifts.
✅ Dynamic Histogram Color Coding - Easy-to-interpret histogram with four colors indicating trend strength and direction.
✅ Custom Sensitivity Input - Adjusts the AO calculation to fine-tune responsiveness.
✅ Zero Line Reference - A baseline to differentiate bullish and bearish momentum.
How It Works
Fast SMA (default: 5-period) and Slow SMA (default: 34-period) are calculated based on the average of high and low prices.
AO (Awesome Oscillator) = (Fast SMA - Slow SMA) * Sensitivity
Signal Line = Smoothed AO using a 7-period SMA
Histogram Color Logic:
🔵 Strong Bullish → AO > Signal & AO ≥ 0 (Green)
🔴 Weak Bullish → AO > Signal & AO < 0 (Light Red)
🟢 Weak Bearish → AO < Signal & AO ≥ 0 (Light Green)
🔥 Strong Bearish → AO < Signal & AO < 0 (Dark Red)
How to Use the Sri_Momentum Indicator
📌 Bullish Momentum → When AO crosses above the Signal Line, and the histogram turns green.
📌 Bearish Momentum → When AO crosses below the Signal Line, and the histogram turns red.
📌 Trend Strength → Darker colors indicate stronger trends; lighter colors suggest weaker trends.
📌 Zero Line Crossover → If AO moves above zero, it suggests bullish strength; if below zero, bearish control.
Description
The Sri_Momentum is a powerful momentum-based oscillator that helps traders analyze price trends and market strength. This indicator utilizes two simple moving averages (SMA) to calculate the Awesome Oscillator (AO) and a signal line for trend confirmation. The histogram dynamically changes color based on the crossover between AO and the signal line, providing clear bullish and bearish signals.
✅ Awesome Oscillator (AO) Calculation - Measures market momentum using a fast and slow SMA.
✅ Signal Line for Confirmation - A smoothed moving average of AO to help traders identify trend shifts.
✅ Dynamic Histogram Color Coding - Easy-to-interpret histogram with four colors indicating trend strength and direction.
✅ Custom Sensitivity Input - Adjusts the AO calculation to fine-tune responsiveness.
✅ Zero Line Reference - A baseline to differentiate bullish and bearish momentum.
How It Works
Fast SMA (default: 5-period) and Slow SMA (default: 34-period) are calculated based on the average of high and low prices.
AO (Awesome Oscillator) = (Fast SMA - Slow SMA) * Sensitivity
Signal Line = Smoothed AO using a 7-period SMA
Histogram Color Logic:
🔵 Strong Bullish → AO > Signal & AO ≥ 0 (Green)
🔴 Weak Bullish → AO > Signal & AO < 0 (Light Red)
🟢 Weak Bearish → AO < Signal & AO ≥ 0 (Light Green)
🔥 Strong Bearish → AO < Signal & AO < 0 (Dark Red)
How to Use the Sri_Momentum Indicator
📌 Bullish Momentum → When AO crosses above the Signal Line, and the histogram turns green.
📌 Bearish Momentum → When AO crosses below the Signal Line, and the histogram turns red.
📌 Trend Strength → Darker colors indicate stronger trends; lighter colors suggest weaker trends.
📌 Zero Line Crossover → If AO moves above zero, it suggests bullish strength; if below zero, bearish control.
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。