Community scripts built for Indian markets. Add any of them to your chart in one click.
Trending Strategies
3-30 FORMULA TRADE WITH AJB
3-30 FORMULA – Advanced Trading Strategy
The 3-30 Formula is an advanced technical analysis indicator designed to identify potential trading opportunities using multiple price-action and trend-based concepts.
It combines the following key components:
1. Support & Resistance Levels
- Support and Resistance levels
- Previous Day High (PDH)
- Previous Day Low (PDL)
- Previous Day Close (PDC)
2. Candlestick Patterns
- Bullish candlestick patterns for Buy-side opportunities.
- Bearish candlestick patterns for Sell-side opportunities.
- Trend Reversal Setup (TRS) for identifying potential trend reversals.
3. Trend Analysis
- 22 Simple Moving Average (22 SMA) to identify market trends and potential trading signals.
4. Untouched Key Levels
- Untouched Pivot Points
- Untouched Previous Day High (PDH)
- Untouched Previous Day Low (PDL)
- Untouched Previous Day Close (PDC)
These levels help identify important price zones that have not been tested or touched by price during the previous trading session.
5. VWAP Integration
- Volume Weighted Average Price (VWAP) for additional trend confirmation and market direction analysis.
Strategy Overview
The 330 Formula brings together Support & Resistance, Candlestick Patterns, Trend Reversal Setups, 22 SMA, Untouched Key Levels, and VWAP into one comprehensive trading indicator.
It is designed to help traders analyze market structure, identify potential Buy and Sell opportunities, and make more informed trading decisions.
3-30 FORMULA – Multiple Concepts. One Powerful Trading Approach.
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.
This strategy trades the move that follows a period of low volatility. It waits for Bollinger Bands to sit inside Keltner Channels for 5 or more bars, which marks a squeeze. It enters when the squeeze releases with price on the right side of the average and volume above its 20-bar average. The stop is based on ATR, the target is 2× the stop, and a time stop closes stale trades. Shorts can be switched on or off. It works best on trending instruments in liquid markets.
A trend-following strategy built on AlphaTrend, a line that follows an ATR-based band and switches between support and resistance depending on money flow (MFI). It goes long when AlphaTrend crosses above its own line from two bars back and short when it crosses below, and each flip closes the opposite trade.
How to use: add it to a chart and open Backtest. Inputs are the ATR multiplier (1.0), the common period (14) used for both ATR and MFI, a switch to allow or block shorts, and an optional intraday square-off time for intraday testing. A higher multiplier gives a wider, slower line with fewer trades. It suits trending stocks and indexes and can whipsaw in sideways markets.
A trend-following strategy built on an OTT-style trend line: a CMO-weighted moving average with a percent trailing line around it. It goes long when the moving average crosses above the trend line and short when it crosses below, and each flip closes the opposite trade.
How to use: add it to a chart and open Backtest. Inputs are the moving average length (2), the trailing percent (1.4), a switch to allow or block shorts, and an optional intraday square-off time for intraday testing. A smaller percent reacts faster but flips more often, and a larger one filters noise but enters later.
This is an OTT-style build from the published formula, so check it on your own symbols and timeframes before relying on it. Past results do not guarantee future returns.
A long-only dip-buying strategy. It waits for a fear spike (Williams Vix Fix), then buys when StochRSI turns up from oversold. Best suited to daily charts of liquid stocks and indexes.
How to use: add it to a chart and open Backtest. Inputs cover the Vix Fix look-back, the StochRSI settings, an exit when RSI is above 65, a 20-bar time stop and a 2.5 x ATR stop. Turn on Intraday square-off if you test it on intraday charts.
Backtest note: on RELIANCE daily it returned +3.51% over 150 trades (profit factor 1.09, max drawdown 9.2%) with 0.03% commission and 1 tick slippage. Past results do not guarantee future returns, so test it on your own symbols.
This strategy follows trends with breakouts. It enters when price closes beyond the previous 20-bar high or low, and only in the direction of the EMA 100 trend. It exits when price closes beyond the 10-bar opposite channel, which acts like a trailing stop. A hard ATR stop is set at entry. The channel lengths, trend filter and shorts are all adjustable. It tends to take several small losses in sideways markets and make them back on the big trends.
This strategy buys sharp short-term dips inside a long-term uptrend. It enters when price is above the 200 SMA and RSI(2) falls below 10. It exits on a bounce, either price closing back above the 5 SMA or RSI(2) recovering above 70. It also has a time stop and a wide ATR stop. It suits daily charts of liquid stocks and indices. It is long-only by default, and mirrored shorts are optional.