OPEN-SOURCE SCRIPT

Dual Timeframe Stochastic Momentum Index w/buy sell signals

Mis à jour
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.
Notes de version
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.
Notes de version
Corrected the SMI crossover alert conditions so alerts only trigger when higher timeframe conditions are met
Notes de version
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).
Notes de version
fixed background shading
multitimeframeStochastic Oscillator

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité