Indicator · Pine Script v5 · On the chart

Institutional Buy & Sell v6

by sean-ccho

Marks buy and sell signals on the price chart using a 50 and 200 EMA trend filter, an optional weekly trend confirmation, volume spikes against a moving average and RSI levels.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code996
Settings17inputs
LicenceNone stated
Last updateyesterday28 Oct 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Two buy styles can be enabled: accumulation after a bottom, and momentum breakout. A market regime filter can require the SPY index above its 200 EMA, and sell signals can be dampened in strong uptrends. Optional zones and stop loss, take profit and ATR trailing stop levels are drawn.

Details

Published by

sean-ccho on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Trend, Breakout, Volume

Markets

Stocks

Timeframes

H4 and above

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Fast EMAint50ema_fast
Slow EMAint200ema_slow
Weekly Trend Confirmation (Higher TF)booltrueuseWeeklyTrend
Volume MA Lengthint20vol_len
Volume Spike Multfloat1.5vol_mult
RSI Lengthint14rsi_len
RSI Overboughtint70rsi_ob
RSI Oversoldint30rsi_os
Show BUY signalsbooltrueshow_buy
Show SELL signalsbooltrueshow_sell
Show Support/Resistance Zonesbooltrueshow_zones
Show Stop Loss / Take Profitbooltrueshow_sl_tp
Show all 17 settings
SettingTypeDefaultVariable
Trailing Stop ATR Multiplierfloat3.0trailAtrMult
Enable Accumulation BUY (Bottom Reversal)booltrueenableAccumBuy
Enable Momentum BUY (Breakout)booltrueenableMomentumBuy
Market Regime Filter (SPY EMA200)booltrueenableRegimeFilter
Dampen SELL in Strong UptrendsbooltruetrendDampeningSell
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

3 stars

CSW Breakout Signals plots breakout buy and sell labels on the price chart when price breaks support or resistance after a trend change. Each signal can show a numbered confirmation score built from a moving-average cross, momentum, opening-range alignment, re

Indicator v5 BreakoutTrend
Updated 5 months ago · None stated GitHub repository of CSW Breakout Signals
3 stars

Greeffer's Long Study calculates Donchian Channels alongside a volume moving average filter to generate trade signals. When price touches the lower or upper channel boundaries combined with volume exceeding a custom moving average multiplier, the indicator tri

Indicator v4 TrendVolatility & bands
Updated 4 years ago · CC0-1.0 GitHub repository of Greeffer's Long Study

Anish TB Foster Fix

by nishpa800
1 stars

Overlay indicator for stock-style charts that flags pocket pivot candles: a large percentage body whose volume beats the highest opposite-colour volume over a lookback. It also tests trend stages using 50, 150 and 200 period EMAs plus distance from the 52-week

Indicator v6 TrendVolume
Updated 2 months ago · None stated GitHub repository of Anish TB Foster Fix

KLSE VCP Stage v2

by kevinesk
1 stars

This indicator classifies market structure into volatility contraction pattern (VCP) stages on the main price chart. It evaluates a Mark Minervini Trend Template score alongside Bollinger Band width percentiles and volume metrics to determine stages such as Co

Indicator v5 TrendVolatility & bands
Updated 4 months ago · None stated GitHub repository of KLSE VCP Stage v2

This indicator evaluates and scores trade signal quality using a four-layer filtering process drawn directly on the main chart. It evaluates volume spikes against a moving average, higher-timeframe EMA trend alignment, price breaches beyond ATR volatility band

Indicator v6 Volatility & bandsVolume Repaints
Updated 2 months ago · None stated GitHub repository of TeleNexus Fakeout Signal Quality

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers