OPEN-SOURCE SCRIPT

Call and Put signals[vivekm8955]

2โ€ฏ868
๐Ÿ” 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.

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.