Indicator · Pine Script v5 · On the chart

Alien Wash

by XingHan98

Alien Wash is a price-chart indicator that draws the latest green horizontal line at the previous candle high after an up close beyond a USD buffer, and the latest red line at the previous candle low after a down close beyond that buffer.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code127
Settings9inputs
LicenceNone stated
Last update2 months ago2 Aug 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 buy signal fires when price reclaims the red line, and a sell signal fires when price reclaims the green line. An optional RSI filter requires a recent extreme and a cross of 40 or 60, or a cross of the RSI average. Markers and alerts appear only on confirmed closes, so it does not repaint intrabar. It has no exit or position rules.

Details

Published by

XingHan98 on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Support & resistance, Oscillators & momentum, Breakout, Mean reversion

Markets

Any symbol

Timeframes

Any timeframe

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
Breakout buffer (USD)float0.5buffer
Breakout line stylestringDottedlineStyleInput
Signal markers to keep (0 = none)int20keepMarks
Use RSI signal filterbooltrueuseRsiFilter
RSI lengthint14rsiLength
RSI SMA lengthint14rsiMaLength
Previous RSI trigger candles to considerint3rsiLookback
Up-breakout line (at prev high)colorcolor.greenupColor
Down-breakout line (at prev low)colorcolor.reddnColor
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

Pattern Recognition [WavesUnchained] automatically identifies chart patterns including ascending, descending, and symmetrical triangles, rising and falling wedges, and parallel channels. It validates formations through multi-point pivot analysis, volume spike

Indicator v6 BreakoutSupport & resistance Repaints
Updated yesterday · MIT GitHub repository of Pattern Recognition [WavesUnchained]

Target Radar

by eddiebelaval
7 stars

Target Radar is a multi-factor forecasting indicator that plots projection bands, forward boxes, and dynamic target zones directly on the main price chart. It calculates a forecast score by combining z-scores for trend, momentum, volume pressure, and volatilit

Indicator v5 TrendOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Target Radar
2 stars

The Fake Breakout / Breakdown Setup indicator identifies false breakouts (FBO) and false breakdowns (FBD) by tracking liquidity sweeps of previous price highs and lows. It validates reversals using follow-up price action and a confirmation scoring system based

Indicator v6 BreakoutOscillators & momentum
Updated 8 weeks ago · None stated GitHub repository of Fake Breakout / Breakdown Setup

RSI %B on Chart

by zhuzp98
1 stars

This indicator plots the Relative Strength Index (RSI) and its Bollinger Band percentage bandwidth (%B) deviation directly on the price chart. It calculates RSI from a user-defined source and length, applies an EMA, and derives the %B deviation using a configu

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of RSI %B on Chart

MACD Breakout

by jerryinyang
5 stars

This indicator plots a higher-timeframe MACD breakout setup on the price chart and combines it with linear regression channels. It marks support and resistance zones from MACD histogram sensitivity, then filters them with the MACD zero line, a linear regressio

Indicator v4 Oscillators & momentumBreakout
Updated 2 years ago · None stated GitHub repository of MACD Breakout

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