Strategy · Pine Script v5 · On the chart

Pullback Trading Tool ALT

by PipC

This strategy identifies trend retracements and breakout entries using an adjustable moving average ribbon alongside higher-timeframe anchored moving averages, fractal pivots, and support and resistance level extensions.

View on GitHub

GitHub stars8on the repository
Pine versionv5runs as is
Lines of code633
Settings40inputs
LicenceNone stated
Last update4 years ago20 Aug 2022

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 strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

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

Bar colors can be customized using a 3-tone or 6-tone scheme relative to the signal moving average. Signals trigger on pullback fractal breaks or trend line crosses. Position risk is managed through a percentage-based stop loss and an optional Hull Moving Average stop rule. All components and trade orders plot directly on the price chart.

Details

Published by

PipC on GitHub

Type

Strategy, Pine Script v5

Draws

On the price chart

Category

Trend, Moving averages, Breakout, Support & resistance

Markets

Forex

Timeframes

M15-H1, 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
Trading Amountfloat10000.0tradeMaxAmount
Stop Loss Precentage %float5stopLossPrecent
Stop Below HMA55booltruestopBelowHMA55
Source for All Moving Averagessourceclosema_src
Show MA RibbonbooltrueshowMAs
Anchor MA RibbonbooltrueanchorRibbon
Fast Ribbon MA Type: stringEMAfastType
Fast Ribbon MA Length:int5fastLen_
Slow Ribbon MA Type: stringEMAslowType
Slow Ribbon MA Length:int12slowLen_
Anchor TimeFrame in Mins (0=none, 1D=1440, 1W=7200)int0anchor
Fast Anchored MA Type: stringEMAfastAnchorType
Show all 40 settings
SettingTypeDefaultVariable
Fast Anchored MA Length:int35fastAnchorLen_
Medium Anchored MA Type: stringEMAmediumAnchorType
Medium Anchored MA Length:int65mediumAnchorLen_
Show Slow Anchored MAboolfalseuseSlowMA
Slow Anchored MA Type: stringEMAslowAnchorType
Slow Anchored MA Length:int200slowAnchorLen_
Signal Anchored MA Type: stringEMAsignalType
Signal Anchored MA Length:int50signalLen_
Show Entrys for Trend BreaksboolfalseShowBreak
Show Entrys for PB Fractal BreaksboolfalseShowPB
Use Close Break instead Touch Fractal BreakbooltruecloseBr
Pull Back Lookback Lengthint6Lookback
Show coloured Bars close relative to Signal MAbooltrueShowBarColor
Use Grab Candle (6-tone) Colouring, instead of Standard (3-tone)booltrueuseGrabClr
Show Pivot PointsbooltrueShowPivots
Pivot Length Left Hand Sideint2pvtLenL
Pivot Length Right Hand Sideint2pvtLenR
Show S/R Level ExtensionsbooltrueShowSRLevels
Show Levels as a Fractal Chaos ChannelboolfalseShowChannel
Maximum S/R Level Extension Lengthint0maxLvlLen
Use Renko Style Pivots (open/close for high/low)boolfalseuRenko
ShowHHLLboolfalseShowHHLL
VWAP Anchor Lookback (days)int55vwapLookbackDays
SMA #Eint200lenE
SMA Source #EsourceclosesrcE
Show Trading TablebooltrueShowTradingTable
Trading Account Totalfloat10000.0TradingAccountTotal
Trading Stop Loss Allowance(%)float3TradingStopLossAllow
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

257 stars

This strategy plots running pivot highs as red R circles and pivot lows as blue S circles directly on the price chart. It computes an EMA 3 and a Cto trend line from close prices, then generates long signals on upward EMA-Cto crossovers combined with price pos

Strategy v6 TrendMoving averages Repaints
Updated 6 weeks ago · None stated GitHub repository of Best Chart 1m Strategy Candle Bar
106 stars

Breakout Trend Follower is a price-chart strategy that enters long when price breaks a recent swing high. It places the stop at the recent swing low and trails that stop upward as higher lows form, exiting when a higher low is breached. A pivot lookback sets h

Strategy v5 BreakoutTrend Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of Breakout Trend Follower
43 stars

This strategy executes trades on short-term cryptocurrency charts using a combination of pivot support and resistance levels and a multi-pole smoothed trend filter. Entries trigger when price crosses the smoothed trend line and confirms above or below a short-

Strategy v5 TrendBreakout Repaints
Updated 2 years ago · None stated GitHub repository of SOL 1m - Strategy Candle Bar

This trend-following strategy executes a classic Donchian channel breakout system designed to cross-validate backtest results against external framework benchmarks. It triggers a long entry when the closing price breaks above the highest high of the prior entr

Strategy v6 BreakoutTrend
Updated today · AGPL-3.0 GitHub repository of Forven S01509 - Simple Donchian 20/10 Breakout

Omar Edited WF

by Alorse
330 stars

Omar Edited WF is a trading strategy overlay built around Williams Fractals and multiple Exponential Moving Averages. It detects high and low fractal pivot points over configurable lookback periods alongside three adjustable EMA trendlines. Long entries are ma

Strategy v5 TrendMoving averages
Updated 2 months ago · None stated GitHub repository of Omar Edited WF

More strategys

Trade Your Charts With a Regulated Broker

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

Compare brokers