Indicator · Pine Script v5 · On the chart

Scalping PullBack Tool R1.1

by Ahmed-GoCode

This indicator plots a Price Action Channel (PAC) based on high, low, and close moving averages alongside fast, medium, and slow trend EMAs directly on the price chart.

View on GitHub

GitHub stars5on the repository
Pine versionv5runs as is
Lines of code157
Settings16inputs
LicenceNone stated
Last update1 year ago25 Sep 2025

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

Scalping PullBack Tool R1.1 detects regular and Bill Williams fractals to track market structure and identifies pullback setups within the channel aligned with the overarching trend. Users can toggle Heikin Ashi calculation modes, customize EMA lengths, show fractal markers, and delay arrow signals until bar close to reduce real-time bar fluctuation.

Details

Published by

Ahmed-GoCode on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Trend, Moving averages, Scalping, Support & resistance

Markets

Any symbol

Timeframes

M1-M5, M15-H1

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.

Topics

algorithmic-tradingautomationindicatorspinescriptscript-collectionstrategiestechnical-analysistradingview

Settings

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

SettingTypeDefaultVariable
High Low PAC channel Lengthint34HiLoLen
fastEMAlengthint89fastEMAlength
mediumEMAlengthint200mediumEMAlength
slowEMAlengthint600slowEMAlength
ShowFastEMAbooltrueShowFastEMA
ShowMediumEMAbooltrueShowMediumEMA
ShowSlowEMAboolfalseShowSlowEMA
ShowHHLLboolfalseShowHHLL
ShowFractalsbooltrueShowFractals
Show Ideal Fractals OnlyboolfalsefilterBW
Show coloured Bars around PACbooltrueShowBarColor
Show Buy/Sell Alert ArrowsbooltrueShowBuySell
Show all 16 settings
SettingTypeDefaultVariable
Pullback Lookback for PAC Cross Checkint3Lookback
Show Alert Arrows Only on Closed CandlesboolfalseDelayArrow
ShowTrendBGcolorbooltrueShowTrendBGcolor
Use Heikin Ashi Candles in Algo CalculationsbooltrueUseHAcandles
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

Sniper Algo

by TamTH-Dev
2 stars

Sniper Algo is a multi-indicator technical analysis suite that plots directly on the main price chart. It integrates Ichimoku Kinko Hyo components, automated support and resistance zones, dual exponential moving averages, and optional buy and sell signals. Use

Indicator v5 TrendSupport & resistance
Updated 5 weeks ago · None stated GitHub repository of Sniper Algo
257 stars

This indicator analyzes short-term price action on index futures and options charts by applying Rational Quadratic kernel smoothing to detect sideways consolidation ranges and potential breakouts. It processes pivot highs and lows over customizable loopback pe

Indicator v5 Support & resistanceTrend Repaints
Updated 6 weeks ago · None stated GitHub repository of SPX 30M - Trading Chart

Ichimoku Cloud

by harryguiacorn
219 stars

This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Ichimoku Cloud

MA Envelope (MAE)

by mihakralj
99 stars

The MA Envelope indicator calculates upper and lower channel bands shifted by a user-defined percentage around a baseline moving average. It supports Simple Moving Average, Exponential Moving Average, and Weighted Moving Average calculation types. The script p

Indicator v6 Moving averagesSupport & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of MA Envelope (MAE)

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