OPEN-SOURCE SCRIPT

Dual Timeframe Stochastic Momentum Index w/buy sell signals

Zaktualizowano
This indicator combines momentum analysis across two timeframes to identify high-probability trading opportunities. It plots the Stochastic Momentum Index (SMI) for both the chart timeframe and a higher timeframe (default 10 minutes) to help traders align with the broader market trend.
Key Features

Displays SMI and its EMA for both timeframes
Background shading indicates favorable trading conditions
Signal dots mark potential entry points
Customizable parameters for fine-tuning

Signals Explained
Bullish Signals (Green Dots)

Appear when the chart timeframe SMI crosses above its EMA
Only trigger during periods when the higher timeframe shows:

SMI is above its EMA (increasing momentum)
SMI is between -40 and +40 (not overbought/oversold)



Bearish Signals (Red Dots)

Appear when the chart timeframe SMI crosses below its EMA
Only trigger during periods when the higher timeframe shows:

SMI is below its EMA (decreasing momentum)
SMI is between -40 and +40 (not overbought/oversold)



Settings

%K Length: Lookback period for SMI calculation (default: 10)
%D Length: Smoothing period for primary calculation (default: 3)
EMA Length: Smoothing period for signal line (default: 3)
Alternative Timeframe: Higher timeframe for trend analysis (default: 10 minutes)

Best Practices

Use higher timeframe signals to determine market bias
Wait for signal dots in the chart timeframe for entry timing
Avoid trades when higher timeframe SMI is in extreme zones (above 40 or below -40)
Consider additional confirmation from price action or other indicators

Note: This indicator combines trend and momentum analysis but should be used as part of a complete trading strategy that includes proper risk management.
Informacje o Wersji
Updated script to include alert conditions for the following:

Alert for Bullish Neutral Zone: Triggers when the higher timeframe SMI is above its EMA and within the neutral zone (-40 to +40).
Alert for Bearish Neutral Zone: Triggers when the higher timeframe SMI is below its EMA and within the neutral zone (-40 to +40).
Alerts for Crossovers: Triggers when the SMI crosses above or below its EMA.
Informacje o Wersji
Corrected the SMI crossover alert conditions so alerts only trigger when higher timeframe conditions are met
Informacje o Wersji
Bullish Crossover Alert: Triggered when:

The current SMI crosses above its EMA.
The higher timeframe shows SMI is above its EMA and in the neutral zone (-40 to +40).
Bearish Crossover Alert: Triggered when:

The current SMI crosses below its EMA.
The higher timeframe shows SMI is below its EMA and in the neutral zone (-40 to +40).
Informacje o Wersji
fixed background shading
multitimeframeStochastic Oscillator

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności