Indicator · Pine Script v6 · On the chart

MA200 Wick Rejection

by kasutu

A strategy visualizer, with no real orders, that tracks a 200-bar moving average of lows on the 1-hour timeframe.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv6current
Lines of code438
Settings21inputs
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

When price touches the average it arms, then marks long or short entries on a wick rejection seen on 5 or 15 minute candles, or a run of three same-direction closes on 3 and 5 minute candles. The stop is the trigger extreme plus an ATR buffer, the target the rolling 24-hour extreme, and the stop moves to break even at a set multiple. A statistics panel is optional.

Details

Published by

kasutu on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Mean reversion, Support & resistance, Moving averages

Markets

Gold, Forex

Timeframes

M1-M5

Risk Notes

  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Settings

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

SettingTypeDefaultVariable
ModestringManualmode
Strategy Active (manual toggle)booltrueactive
Max Trades Per Day (0 = no limit)int0maxPerDay
Lookback (weeks)int8lookbackWeeks
MA Lengthint200maLen
MA Timeframetimeframe60maTF
Smoothing TypestringNonesmoothType
Smoothing Lengthint14smoothLen
BB StdDevfloat2.0bbMult
Strategy UsesstringSmoothed MAsignalLine
Entry: Wick Rejection (5m / 15m)booltrueuseWick
Entry: Triple Close Reversal (3m + 5m)booltrueuseTriple
Show all 21 settings
SettingTypeDefaultVariable
Wick Timeframestring5m or 15mwickMode
Lot Sizefloat0.10lots
SL ATR Length (15m)int14atrLen
SL Buffer (x ATR)float0.5atrMult
Whole Number Stepfloat1.0wholeStep
Move SL to BE at RRfloat1.0beRR
Show 24h High/LowboolfalseshowPD
Show Info PanelbooltrueshowTable
Show Skipped SignalsboolfalseshowSkips
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

Calculates and plots a multi-band envelope on the price chart based on mean reversion principles and Keltner Channel concepts. Instead of standard moving averages, it uses advanced filters such as Ehlers SuperSmoother, Butterworth, Gaussian, or traditional ave

Indicator v5 Mean reversionVolatility & bands
Updated 5 months ago · None stated GitHub repository of Mean Reversion Channel - MRI Variant

VWMA_WF

by avatar-lavventura
2 stars

VWMA_WF plots a 24-period volume-weighted moving average of the 60-minute hlc3 price on the chart, plus percentage offset bands. It draws a long label when price is at or below the lower band and a down fractal is confirmed, and it sends a short alert when pri

Indicator v4 Moving averagesVolume Repaints
Updated 7 months ago · None stated GitHub repository of VWMA_WF
948 stars

Moving Average Channel plots separate simple moving averages for upper and lower bands on the price chart. It fills the space between bands with semi-transparent color and colors bars green above the upper band, red below the lower band, or gray in between. Us

Indicator v4 Moving averagesSupport & resistance
Updated 11 days ago · GPL-3.0 GitHub repository of Moving Average Channel

This indicator plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre

Indicator v4 Volatility & bandsOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Bollinger Bands Winner IND [Alorse]
285 stars

Mean Reversion Study is an indicator that identifies trade setups combining exponential moving averages, RSI extremes, and engulfing candlestick patterns. It highlights bullish setups when a bullish engulfing candle forms below the EMA while RSI is oversold, a

Indicator v4 Mean reversionCandlestick patterns
Updated 3 years ago · None stated GitHub repository of Mean Reversion Study

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