PROTECTED SOURCE SCRIPT
Atualizado

KSK EMA Strategy

410
Strategy Overview
This is a trend-following strategy that uses two Exponential Moving Averages (EMAs) to identify trading opportunities in the market. The strategy generates buy and sell signals based on the relationship between price and the EMA lines.

How It Works
Entry Signals
ENTRY CALL (Green): Generated when the complete candle closes above the EMA 9 (candle low > EMA 9)
ENTRY PUT (Red): Generated when the complete candle closes below the EMA 9 (candle high < EMA 9)
Exit Signals
EXIT CALL (Gray): Triggered when price closes below the EMA 21 (candle high < EMA 21)
EXIT PUT (Gray): Triggered when price closes above the EMA 21 (candle low > EMA 21)
Visual Components
Red Line (Thickness 3): EMA 9 - Short-term trend indicator
Green Line (Thickness 3): EMA 21 - Medium-term trend indicator
Green Triangles: Buy entry signals
Red Triangles: Sell entry signals
Gray X Marks: Exit signals
Background Coloring:
Light green: Currently in a long position
Light red: Currently in a short position
Strategy Logic
Buy Signal: When price shows strength by closing completely above the EMA 9
Sell Signal: When price shows weakness by closing completely below the EMA 9
Exit Long: When price weakness pulls back below EMA 21
Exit Short: When price strength pushes back above EMA 21
Key Features
Trend Following: Captures momentum in the direction of the trend
Dual EMA System: Uses faster EMA (9) for entries and slower EMA (21) for exits
Complete Candle Confirmation: Only triggers signals after full candle confirmation
Position Management: Maintains only one position at a time (no simultaneous long/short)
Visual Clarity: Clear labels and color coding for easy interpretation
Best Usage Conditions
Trending Markets: Works best in markets with clear directional bias
Moderate to High Volatility: Provides better signal quality in active markets
Multiple Timeframes: Can be used on any timeframe (15min, 1H, 4H, Daily recommended)
Risk Management Notes
The strategy uses the EMA 21 as a dynamic stop-loss level
Position sizing and additional risk management should be implemented separately
Past performance does not guarantee future results
Customization
You can adjust the EMA periods in the indicator settings to suit your trading style:

Shorter periods: More sensitive, more signals (higher frequency)
Longer periods: Less sensitive, fewer but potentially higher quality signals
Notas de Lançamento
Updated the lag.
Notas de Lançamento
Added table to the right top for easy understanding.
Notas de Lançamento
Added support and resistance
Notas de Lançamento
Updated the error
Notas de Lançamento
Adjusted the lines to circles in support and resistance

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.