Community scripts built for Indian markets. Add any of them to your chart in one click.
Trending Scripts
SuperTrend Strategy
A simple trend-following strategy built on the SuperTrend line. It goes long when SuperTrend flips up and short when it flips down, and each flip also closes the opposite trade. Works best on trending markets and daily or hourly charts.
How to use: add it to a chart and open Backtest. Inputs are the ATR length (10) and multiplier (3.0), a switch to allow or block shorts, and an optional intraday square-off time for intraday testing. The green and red lines on the chart show the current trend.
Backtest note: on RELIANCE daily it returned +2.73% over 139 trades (profit factor 1.04, max drawdown 14.5%) with 0.03% commission and 1 tick slippage. Trend systems give back some profit in sideways markets, and past results do not guarantee future returns, so test it on your own symbols.
Swing Trader Pro — short-term swing indicator for Tradingcharts Script.
• Trend engine: EMA fast/slow + Supertrend on the chart timeframe, confirmed by two
higher timeframes (request.security). Signals fire only with HTF agreement (optional).
• Entries: BUY/SELL on a confirmed trend with a pullback-reclaim or breakout trigger,
RSI and volume filters. Every entry draws an ENTRY ZONE (box), a STOP zone and two
TARGET zones (TP1 partial, TP2 final) — the last N trades stay on the chart.
• Exits: TP1 (partial — user-set %), TP2 (rest), SL, or an opposite signal.
Optional break-even and ATR trailing stop after TP1.
• Support / Resistance: pivot levels on the chart TF and on both higher TFs, drawn as
lines with TF tags; the nearest levels are also used to clip targets realistically.
• Dashboard: trend per TF, open position, entry / SL / TP1 / TP2, R multiple, result log.
• Alerts: entry, TP1, TP2, SL (alertcondition + alert()).