Indicator · Pine Script v6 · On the chart

News Candle Research

by kasutu

A research indicator, with no trade signals, that finds unusually large candles on the 5 and 15 minute timeframes and the chart timeframe, and studies how price returns to the other end of each one.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code273
Settings14inputs
LicenceNone stated
Last update2 weeks ago12 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

A news candle must exceed a multiple of the largest recent range and have a minimum body share, with an optional time window. It measures return speed, return candle shape, volume, RSI, Bollinger position and the tip candle pattern, and marks candles on the chart.

Details

Published by

kasutu on GitHub

Draws

On the price chart

Markets

Any symbol

Timeframes

M1-M5

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
News Candle Size (x largest prior range)float2.0newsMult
Lookback (candles)int20newsLen
Min Body % of Rangefloat50newsBody
Only Inside Time WindowboolfalseuseTime
Time Windowsession0830-0900newsSess
Window TimezonestringAmerica/New_YorknewsTz
Other EndstringWickendMode
Max Wait (candles)int50maxWait
Volume Average Lengthint20volLen
RSI Lengthint14rsiLen
Bollinger Lengthint20bbLen
Bollinger StdDevfloat2.0bbMult
Show all 14 settings
SettingTypeDefaultVariable
Mark News / Tip / Return CandlesbooltrueshowMarks
Marks Fromstring15mmarkSrc
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

This indicator plots buy and sell labels on the price chart. A buy appears when a short stochastic crosses up from below 20 while a slow MACD histogram is positive and a faster MACD histogram is negative. A sell uses the opposite stochastic and MACD alignment.

Indicator v5 Oscillators & momentumCandlestick patterns
Updated 5 months ago · None stated GitHub repository of Heikin Ashi with MACD Signals
1 stars

This indicator overlays rolling cost anchors, volatility-derived GetDelta bands, and liquidity provider ranges onto the price chart alongside pinbar candlestick detection. It calculates market valuation zones, shading discount and premium areas while tracking

Indicator v6 Candlestick patternsVolatility & bands
Updated yesterday · AGPL-3.0 GitHub repository of BL-ESW Pinbar Market Lab Pro

This indicator identifies Hammer and Inverted Hammer candlestick patterns overlaid directly on the price chart. It evaluates body proportions, upper wick lengths, and lower wick ratios against user-defined thresholds. To filter out low-volatility noise, candle

Indicator v6 Candlestick patternsVolatility & bands
575 stars

The indicator plots ICT displacement candles on the price chart and can switch to retracement scanning. Displacement requires a move larger than a set share of the 14-bar average high-low range, lasting at least a chosen number of bars, with optional close, pr

Indicator v6 SMC / ICT / price actionCandlestick patterns
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Displacement Candles Indicator
330 stars

This multi-symbol indicator evaluates a combined trading condition across up to 40 user-defined symbols. It processes MACD bullish crossovers, RSI thresholds, Bollinger Band boundaries, and DMI/ADX trend filters using security calls. When buy or sell criteria

Indicator v5 Oscillators & momentumVolatility & bands
Updated 2 months ago · None stated GitHub repository of Multi MACD + BB + RSI [Alorse]

Pricing Table

by namuan
318 stars

This indicator calculates theoretical options contract values and in-the-money probabilities using historical realized volatility across multiple standard deviations. It displays these metrics in a table overlay directly on the price chart. Users can adjust th

Indicator v4 Volatility & bandsScreeners & dashboards
Updated 2 months ago · MIT GitHub repository of Pricing Table

More Candlestick patterns scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers