OPEN-SOURCE SCRIPT
Call and Put signals[vivekm8955]

๐ Strategy Overview
This adaptive strategy generates clear CALL (Buy) and PUT (Sell) signals by combining:
โ Dual EMA structure
โ Heikin Ashi trend confirmation
โ Smoothed Stochastic Momentum Index (SMI)
โ Take Profit (TP) signals via momentum reversal
โ Dynamic support from average price action
The goal: Give retail traders institutional-grade signals with clarity, without lag.
๐ Trade Entry Logic
๐ผ CALL Signal (Buy):
Fast EMA < Avg Price
Slow EMA < Avg Price
Slow EMA < Fast EMA
Confirmed by crossover
โก๏ธ This implies price has dipped below value zones and is showing strength.
๐ฝ PUT Signal (Sell):
Fast EMA > Avg Price
Slow EMA > Avg Price
Slow EMA > Fast EMA
Confirmed by crossover
โก๏ธ Indicates price is elevated and showing weakness.
๐ Exit Logic (Take Profit)
โ TP Buy Signal: SMI crosses below 0 โ Weakening upside
โ TP Sell Signal: SMI crosses above 0 โ Weakening downside
These act as exit cues or partial booking areas.
๐ Visualization & Alerts
๐ผ CALL Signal โ Green label below candle
๐ฝ PUT Signal โ Red label above candle
โ TP Signal โ Small label (TP) showing ideal exit points
๐ Real-time alerts enabled (CALL, PUT, TP alerts)
Background color changes based on EMA crossovers for added confirmation.
๐ฏ๏ธ Additional Filters Used
Heikin Ashi Candles: For smoothing out noise and validating trends.
SMI (Double EMA): A momentum indicator better suited for trending markets.
๐ Dashboard Included
Displays current signal, SMI value, and TP status in real-time
Color-coded for easy interpretation
Auto-adaptive table (fixes out-of-bound issues)
๐ Ideal Timeframes
Timeframe Use Case
5m โ 15m Intraday Scalping
1h โ 4h Swing Trading
1D Positional Plays
๐ฆ Suggested Usage
Step Action
1๏ธโฃ Confirm signal (CALL or PUT) on 1TF and 1 higher TF
2๏ธโฃ Enter near signal candle close
3๏ธโฃ Exit on TP label OR SMI reversal
4๏ธโฃ Avoid entry during high volatility news events
โ ๏ธ Disclaimer โ Use with Caution!
โ ๏ธ This script is for educational & analytical purposes only.
It does NOT guarantee profits, nor is it a financial advisory tool.
Always use risk management: Stop-losses, position sizing, capital preservation.
Do not trade blindly. Backtest it across market conditions.
Past performance is not indicative of future results.
Consult a SEBI-registered advisor for real trading decisions.
This adaptive strategy generates clear CALL (Buy) and PUT (Sell) signals by combining:
โ Dual EMA structure
โ Heikin Ashi trend confirmation
โ Smoothed Stochastic Momentum Index (SMI)
โ Take Profit (TP) signals via momentum reversal
โ Dynamic support from average price action
The goal: Give retail traders institutional-grade signals with clarity, without lag.
๐ Trade Entry Logic
๐ผ CALL Signal (Buy):
Fast EMA < Avg Price
Slow EMA < Avg Price
Slow EMA < Fast EMA
Confirmed by crossover
โก๏ธ This implies price has dipped below value zones and is showing strength.
๐ฝ PUT Signal (Sell):
Fast EMA > Avg Price
Slow EMA > Avg Price
Slow EMA > Fast EMA
Confirmed by crossover
โก๏ธ Indicates price is elevated and showing weakness.
๐ Exit Logic (Take Profit)
โ TP Buy Signal: SMI crosses below 0 โ Weakening upside
โ TP Sell Signal: SMI crosses above 0 โ Weakening downside
These act as exit cues or partial booking areas.
๐ Visualization & Alerts
๐ผ CALL Signal โ Green label below candle
๐ฝ PUT Signal โ Red label above candle
โ TP Signal โ Small label (TP) showing ideal exit points
๐ Real-time alerts enabled (CALL, PUT, TP alerts)
Background color changes based on EMA crossovers for added confirmation.
๐ฏ๏ธ Additional Filters Used
Heikin Ashi Candles: For smoothing out noise and validating trends.
SMI (Double EMA): A momentum indicator better suited for trending markets.
๐ Dashboard Included
Displays current signal, SMI value, and TP status in real-time
Color-coded for easy interpretation
Auto-adaptive table (fixes out-of-bound issues)
๐ Ideal Timeframes
Timeframe Use Case
5m โ 15m Intraday Scalping
1h โ 4h Swing Trading
1D Positional Plays
๐ฆ Suggested Usage
Step Action
1๏ธโฃ Confirm signal (CALL or PUT) on 1TF and 1 higher TF
2๏ธโฃ Enter near signal candle close
3๏ธโฃ Exit on TP label OR SMI reversal
4๏ธโฃ Avoid entry during high volatility news events
โ ๏ธ Disclaimer โ Use with Caution!
โ ๏ธ This script is for educational & analytical purposes only.
It does NOT guarantee profits, nor is it a financial advisory tool.
Always use risk management: Stop-losses, position sizing, capital preservation.
Do not trade blindly. Backtest it across market conditions.
Past performance is not indicative of future results.
Consult a SEBI-registered advisor for real trading decisions.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.