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.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。