Trend pullback entries with the stop, three targets and your position size drawn
Pullback Sniper Buy Sell waits for a trend on your TradingView chart, for price to pull back into a value zone around the 21 EMA, and for momentum to turn back in the trend's direction on a closed candle.
- BUY or SELL only in a trend, after a pullback into the 21 EMA value zone, decided on a closed candle
- Stop beyond the 10-candle pullback extreme plus 0.2 ATR; setups needing more than 3 ATR are skipped
- Position size in lots, units or contracts from your balance and risk percent
- Alerts that carry the full plan: entry, stop, three targets and size
- The full Pine Script source code. Paste it into the Pine Editor, save, and add “Pullback Sniper Buy Sell [AlgoFXStore]” to your chart.
- A 14-page PDF manual with installation, every setting and how to read the chart. One-time €47.

See Pullback Sniper Buy Sell on a real chart
Press play; use the full-screen button to see every detail.
A signal is half a trade, and the other half is usually done in a hurry
Pullback entries are one of the most common ways to trade a trend: wait for the move, let price come back, join when it turns. The idea is simple, but every part of it gets decided by eye. Is this still a trend? Is that a pullback or the start of a reversal? Has momentum really turned, or is it one green candle?
Then comes the part most tools leave out. Where does the stop go, how far away are the targets, and how big must the position be so that the stop costs exactly what you decided to risk? Worked out by hand while price moves, those numbers drift: the stop is nudged, the size is rounded up, and one loss turns out larger than planned.
Pullback Sniper Buy Sell writes both halves down as rules. Trend, pullback and turn are defined in the code, and the plan is printed on the candle that confirms the setup: entry, a stop anchored on the pullback, targets at fixed multiples of the risk, and the size for your account. A setup that would need an unusually wide stop is not printed at all.
Everything Pullback Sniper Buy Sell draws on your chart
Read from the shipped Pine Script code.
- Candles repainted with plotcandle in the 'Candle palette' (default Neon Bloom: up aqua, down pink; translucent body, solid edge; 'Off' = the chart's own candles)
- Value zone (Show value zone, on): two thin lines at 21 EMA + / - 0.25 ATR with a fill, and the 50 EMA 'Trend EMA' line (2 px), all tinted aqua in an uptrend, pink in a downtrend, grey without trend
- Entry label on the signal bar: 'BUY <size>' below the bar (aqua) or 'SELL <size>' above it (pink), one size step larger than the level tags
- Plan drawings from the signal bar to 3 bars right of the live bar: red risk box entry-to-stop, green reward box entry-to-TP3 (fix 2), three green dotted target lines TP1/TP2/TP3 (transparency 20/35/50), and tags on the right: 'SL <price> −<money at risk>' (red text), 'TP1 · 1R <price> +<money>' and 'TP2 · 2R <price>', 'TP3 · 3R <price>' (green text) on a dark tag
- Plan updates on closed bars: 'TP1 tick <price>', 'TP2 tick ', 'TP3 tick ' (TP3 ends the plan), 'STOPPED <price>', 'EXIT AT ENTRY <price>' and, with Move stop to entry after TP1, 'STOP AT ENTRY <price>' with the risk box collapsed to the entry; a closed plan freezes at its closing bar
- The last 2 plans kept (Plans kept on chart, 1-10); older plans deleted whole
- Panel (Show panel, on; Top Right): header 'TRADE PLANNER' + '<risk>% risk', a status row, Entry, Stop, TP1-TP3, Position, Risk, Now (live R), Last plan
- AlgoFXStore watermark bottom right
Trend, pullback, turn, plan
Signals, plans and the follow-up of each plan are decided only when a candle has closed, so nothing in a plan changes while a candle is still forming.
- 1
Is there a trend?
The trend is up while the 21 EMA is above the 50 EMA, the close is above the 50 EMA and the 50 EMA is not lower than three candles ago. Down is the mirror. Anything else is no trend, and no plan is printed. The band around the 21 EMA and the 50 EMA line are tinted aqua in an uptrend, pink in a downtrend and grey with no trend.
- 2
The pullback into the value zone
The value zone is a band of 0.25 x ATR(14) on each side of the 21 EMA. In an uptrend, once a candle's low reaches the top of that band, the long pullback is armed and stays armed until the trend ends or a signal prints. In a downtrend, a candle's high reaching the bottom of the band arms the short side.
- 3
The turn back with the trend
BUY when, on a closed candle, the trend is up, a pullback is armed, the close is above the 21 EMA, the candle is green, and RSI(14) is above 50 and rising. SELL mirrors it. The setup is dropped when the stop would sit more than 3 ATR from the entry, or when a plan in the same direction is still open.
- 4
The stop, the targets and the size
Entry is the close of the signal candle. The stop goes beyond the lowest low (BUY) or highest high (SELL) of the last 10 candles plus 0.2 ATR, and at least 0.5 ATR from the entry. TP1, TP2 and TP3 sit at 1R, 2R and 3R. The size is your balance times risk percent, divided by the stop distance times the symbol's point value, converted into your account currency.
- 5
Following the plan
From the next closed candle on, the stop is checked first, then the targets. TP1 and TP2 get a tick on the chart and in the panel; TP3 closes the plan. Optionally the stop moves to the entry after TP1, and an opposite signal closes the open plan while Close on opposite signal is on. A closed plan stops extending, and only the newest two plans stay drawn.
Pullback Sniper Buy Sell on 12 different markets
Every chart below is a screenshot of TradingView itself with the shipped Pullback Sniper Buy Sell [AlgoFXStore] attached at its default settings. Forex, metals, indices, energy and crypto, so you can see how it reads each kind of market. They show what the indicator draws; they are not trading results. Tap or click any chart to open it full size.












Pullback Sniper Buy Sell on a real TradingView chart, frame by frame
Frames of a screen recording of the shipped indicator at its default settings, as the chart updates. Nothing is edited into the chart.




From printed plan to placed order
The indicator prints the plan and sizes it for you; it never places an order. These steps keep the decisions with you.
- 1
Set your account first
Before anything else, enter your Account balance, Risk per trade % and Account currency on the Inputs tab. Check the units per lot your broker uses: the automatic value is 100 for gold, 5,000 for silver, 100,000 for forex and 1 for everything else, and Units per lot overrides it. The size is only as right as these inputs.
- 2
Read the panel before the signal
The TRADE PLANNER panel tells you the state: uptrend or downtrend waiting for a pullback, in the value zone, or no trend. A BUY carries the most context after a clean pullback in an established trend. If the panel keeps flipping between trend and no trend, the market is choppy and most of it will pass without a plan.
- 3
Round the size and set the stop
The BUY or SELL label shows the size, but brokers trade in steps, so round down to your broker's lot step. Put your stop exactly at the SL price. The SL tag shows the money at risk from your inputs, not from the rounded size, so a rounded-down position risks slightly less than the tag.
- 4
Decide your exits in advance
Three targets let you scale out, for example a third at each, or take everything at TP2. If you switch on Move stop to entry after TP1, the SL tag reads STOP AT ENTRY once TP1 is touched. Remember that the signal arrives at the candle close, so your fill comes on the next candle and can differ from the entry price.
- 5
When to let a plan go
Skip a plan when even the rounded-down size risks more than you set, when price has already run far from the entry before you can act, or when a major news release is minutes away. The code has no session or news filter, so these calls stay with you.
The dashboard, row by row
- Header: 'TRADE PLANNER' | '<risk>% risk
- Status: 'LONG PLAN' / 'SHORT PLAN' (+ ' · TP1 tick ' / ' · TP2 tick ') while a plan is open, else the trend state ('UPTREND · in value zone', 'UPTREND · waiting for pullback', 'DOWNTREND...', 'NO TREND · no plan')
- Entry: price or '
- Stop: price + ' −<money at risk>
- TP1 · 1R: price (with ' tick ' once hit)
- TP2 · 2R: price (with ' tick ' once hit)
- TP3 · 3R: price
- Position: '<size> lots|units|contracts
- Risk: '<money> · <risk>%
- Now: open plan's live result, e.g. '+0.6 R' (green / red)
- Last plan: 'stopped', 'exit at entry', 'TP3 reached', 'closed on opposite signal' or '
Everything Pullback Sniper Buy Sell does for you
Rules you can read
Trend from the 21 and 50 EMA plus the slope of the 50, a pullback into a 0.25 ATR band, and a turn confirmed by a close beyond the 21 EMA in the trend's colour with RSI(14) on the right side of 50 and moving that way. Every length and width is an input.
A stop anchored on the pullback
The lowest low or highest high of the last 10 candles, plus a 0.2 ATR buffer, never closer than 0.5 ATR. Setups that would need more than 3 ATR are skipped, so wide, late plans do not print.
Three targets at multiples of the risk
TP1 (1R), TP2 (2R) and TP3 (3R), each adjustable from 0.25R to 20R. A red risk box and a green reward box running from the entry to TP3 show the size of the plan at a glance, for BUY and SELL alike.
Position size in your currency
Lots, units or contracts from Account balance (10,000 by default) and Risk per trade % (1.0), converted from the symbol's currency into your account currency (USD, EUR, GBP, JPY, CHF, AUD, CAD, NZD or USDT) with TradingView's currency rate.
A trade planner panel
Eleven rows: the plan or trend state, Entry, Stop with the money at risk, TP1 to TP3, Position, Risk, Now (the open plan's live result in R) and Last plan. Five panel positions and three text sizes.
Alerts with the whole plan
Any alert() function call delivers the plan in one message: symbol, BUY or SELL, entry, stop, three targets and size, plus a message when a target or the stop is reached. Four simpler alert conditions carry short fixed texts. All of them fire once per bar close.
Plan management options
Move stop to entry after TP1 (off by default) and Close on opposite signal (on). Plans kept on chart (2, up to 10) decides how many plans stay visible before the oldest is deleted.
Candle and zone styling
Five candle palettes, Neon Bloom by default, or Off to keep your own candles, a value zone you can hide, and four level tag sizes. The plan colours are fixed in the code: stop red, targets green.
Pullback Sniper Buy Sell, feature by feature
Each picture is built from real platform screenshots of the shipped indicator at its default settings, labelled so you can see what every part does. Tap any picture to open it full size.










How traders put it to work
Intraday on 5 minutes to 1 hour
The rules are made for intraday charts from 5 minutes to 1 hour, and the chart examples use 15 minutes. The value zone and the stop scale with ATR, so the same settings carry from one intraday timeframe to the next. Expect more plans on 5 minutes than on 1 hour.
Gold and forex
The automatic size knows gold (100 units per lot), silver (5,000) and forex (100,000), and converts the symbol's currency into yours. On a cross pair such as EURJPY the yen risk is converted into your account currency before the size is worked out, so the label already shows lots for your account.
Futures, indices and stocks
On futures the label reads contracts and the size uses the symbol's point value. On index CFDs, stocks and crypto the automatic unit is 1; set Units per lot to your broker's contract size if it differs, so that the printed size matches what you can actually trade.
4-hour swing charts
On 4-hour charts the rules give fewer, wider plans. The 3 ATR maximum stop still applies, and the size shrinks as the stop widens, so your money at risk stays where you set it while the position gets smaller.
Every setting, with its default
The names are the ones in the script's Settings dialog in TradingView (Inputs tab); the defaults are what every chart on this page uses.
Account & risk (4)
| Setting | Default | What it does |
|---|---|---|
| Account balance | 10000 | Account size used for the money at risk (min 1). |
| Risk per trade % | 1 | 0.01-10: share of the balance the stop may cost; sets the position size. |
| Account currency | USD | USD, EUR, GBP, JPY, CHF, AUD, CAD, NZD, USDT: the size and money are converted into it. |
| Units per lot (0 = automatic) | 0 | Automatic: forex 100,000, gold 100 oz, silver 5,000 oz, futures contracts, everything else units; enter your broker's figure if it differs. |
Setup (8)
| Setting | Default | What it does |
|---|---|---|
| Fast EMA (value zone) | 21 | 2-200: the EMA the value zone is built around. |
| Slow EMA (trend) | 50 | 5-400: the trend EMA. |
| Momentum (RSI length) | 14 | 2-50: RSI that must be above 50 and rising (buy) / below 50 and falling (sell). |
| Value zone width (× ATR) | 0.25 | 0-2: how close to the fast EMA price must come to count as a pullback. |
| Stop buffer beyond pullback (× ATR) | 0.2 | 0-2: distance of the stop beyond the pullback extreme. |
| Minimum stop distance (× ATR) | 0.5 | 0.1-3: tighter stops are widened to this. |
| Maximum stop distance (× ATR) | 3 | 0.5-10: setups needing a wider stop are skipped. |
| Pullback lookback (bars) | 10 | 2-50: bars whose lowest low / highest high anchors the stop. |
Targets & management (5)
| Setting | Default | What it does |
|---|---|---|
| TP1 (R) | 1 | 0.25-20: first target in multiples of the stop distance. |
| TP2 (R) | 2 | 0.25-20: second target. |
| TP3 (R) | 3 | 0.25-20: third target; reaching it closes the plan. |
| Move stop to entry after TP1 | off | Moves the plan's stop to the entry once TP1 is reached. |
| Close on opposite signal | on | An opposite signal closes the open plan and starts the new one (off: opposite signals are ignored while a plan is open). |
Visuals (7)
| Setting | Default | What it does |
|---|---|---|
| Candle palette | Neon Bloom | Neon Bloom, Midnight Cyan, Vibrant Neon, Classic Soft, Cool Blue, Off. |
| Show value zone | on | The value zone band and the 50 EMA line. |
| Level tag size | Normal | Small, Normal, Large, Huge: SL / TP tags; the BUY / SELL label is one step larger. |
| Plans kept on chart | 2 | 1-10 plans drawn; older ones are removed. |
| Show panel | on | The Trade Planner panel. |
| Panel position | Top Right | Top Right, Top Left, Bottom Right, Bottom Left, Middle Right. |
| Panel text | Normal | Small, Normal, Large. |

The alert events, one by one
In TradingView: Create alert, choose “Pullback Sniper Buy Sell [AlgoFXStore]” as the condition and pick the event. TradingView then notifies you the way you set in that dialog: a pop-up in TradingView, a sound, the TradingView app on your phone or an e-mail.
- BUY plan
- SELL plan
- Target reached
- Stop reached
- Buy plan
- Sell plan
- Target reached
- Stop reached
Pullback Sniper Buy Sell next to the usual options
Where it wins, and where it does not.
| Pullback Sniper Buy Sell | Typical free buy/sell indicator | Reading it by hand | |
|---|---|---|---|
| Entry rule | Trend, pullback into a 0.25 ATR band and a confirmed turn with RSI | Often a single crossover or oscillator | Judged by eye each time |
| Stop | 10-candle pullback extreme plus 0.2 ATR, between 0.5 and 3 ATR | Rarely drawn | Placed by feel |
| Targets | TP1 to TP3 at 1R, 2R and 3R with price tags | Rarely drawn | Picked from nearby levels |
| Position size | Lots, units or contracts in your account currency | Not included | Worked out on a calculator |
| Timing | Signals and plan follow-up on closed candles | Varies | Whenever you look |
| Range of setups | One setup type only: trend pullbacks | Often several signal types | Any setup you like |
| Cost | One payment | Free | Free |
Honest about who this fits
A good fit if you
- You trade with the trend and want to join it on pullbacks rather than chase breakouts.
- You want the stop, three targets and the position size on the chart before you place the order.
- You trade forex, gold, indices, futures or crypto on TradingView, mainly on intraday charts.
- You like rules you can read and alerts that carry the whole plan to your phone.
- You want signals and the follow-up of each plan decided on closed candles.
Not for you if you
- Traders who want counter-trend or reversal entries: with no trend, no plan prints.
- Anyone who expects the size to match their broker without checking: it follows your inputs and must be rounded to your broker's lot step.
- Traders who want a long signal history on the chart: only the newest two plans stay drawn by default, and there is no statistics table.
- Anyone who wants orders placed or managed for them: it draws, sizes and alerts, and you trade.
The full code, one manual, installed in two minutes
- 1Pine Script source codePullback_Sniper_Buy_Sell_TradingView_Code.txt (23 KB): the full code. Paste it into the Pine Editor and it appears as “Pullback Sniper Buy Sell [AlgoFXStore]”.
- 14Page PDF manualInstallation, every setting with its default and how to read the chart.
- 24SettingsEvery one explained above, with the defaults the charts use.
- ✓Alert eventsYou choose which ones are on in the settings.
- 60Day money-back guaranteeIf it is not for you, request a full refund within 60 days through your Digistore24 order e-mail.
Install in five steps
- Download the zip from the page Digistore24 sends you to after checkout and unzip it.
- Open Pullback_Sniper_Buy_Sell_TradingView_Code.txt in a text editor, select all and copy the whole code.
- In TradingView, open the Pine Editor, paste the code over everything that is there and click Save.
- Click Add to chart: “Pullback Sniper Buy Sell [AlgoFXStore]” appears on your chart.
- Read the PDF manual; the defaults are the settings shown on this page.

Kestutis Balciunas
AlgoFXStore · chart indicators
Kestutis Balciunas builds and publishes chart indicators under the AlgoFXStore name. Every product page shows what the indicator draws on real charts, and every number on it comes from the shipped build.
The charts on this page were captured in TradingView from the shipped Pullback Sniper Buy Sell [AlgoFXStore] at its default settings and are shown unedited.
No get-rich claims and no quoted win rates. Every trade is uncertain, and no indicator changes that. If you want to know whether it suits the way you trade before you buy, e-mail [email protected] and you will get a straight answer.
One price, one payment
- The full Pine Script source code of Pullback Sniper Buy Sell and the 14-page PDF manual
- Delivered as a digital download: one zip with the code file and the PDF manual on your download page
- Return period: 60 days, with a full refund if it is not for you
- Free updates to the current version on the same download page
60-day money-back guarantee. Install it, run it on your own charts and read the manual. If Pullback Sniper Buy Sell is not for you within 60 days of purchase, request a full refund from Digistore24, no questions asked: use the refund link in your Digistore24 order e-mail or Digistore24's order page digistore24.com/en/cancel-revoke-contract. Digistore24 refunds to your original payment method. It is a digital download: right after checkout you land on your download page, and the link to it is also in your Digistore24 order e-mail.
About the signals
Does it repaint?
Signals, plans and the follow-up of each plan are decided only on closed candles, and the alerts fire once per bar close, so a printed plan does not move. What does follow the live candle is the context: the value zone tint, the candle colours and the panel, including its trend state and the Now row, update with every tick. Plans beyond the number you keep on the chart are deleted, oldest first.
Why is there no plan even though price touched the 21 EMA?
Every condition must line up on one closed candle: an up or down trend, a pullback armed within it, a close back beyond the 21 EMA in the trend direction with a matching candle colour, RSI on the right side of 50 and moving that way, and a stop no wider than 3 ATR. An open plan in the same direction also blocks a new one.
What happens when one candle touches the stop and a target?
The stop is checked first, so the plan is marked stopped. Inside one candle the order of prices is unknown, and the code takes the cautious reading. Your real fills can differ, especially in fast moves.
What does the Last plan row show?
How the previous plan ended: stopped, exit at entry (when the stop had moved to the entry after TP1), TP3 reached, or closed on opposite signal. It describes that one plan only; there is no running count or statistics table anywhere in the indicator.
Why did an opposite signal close my plan?
Close on opposite signal is on by default: a SELL plan replaces an open BUY plan and the panel shows closed on opposite signal. Switch it off and a new plan can only print once the open plan has ended at the stop or at TP3.
Size, levels and settings
How is the position size calculated?
Account balance times Risk per trade % gives the money at risk. That is divided by the stop distance times the symbol's point value, converted from the symbol's currency into your account currency, and then by the units per lot: automatically 100 for gold, 5,000 for silver, 100,000 for forex and 1 otherwise, or your own value. Round the result down to your broker's lot step.
Why does the SL tag show a round money amount?
The tag shows the money at risk from your inputs, balance times risk percent, not from the rounded size you will actually trade. After you round the size down to your broker's step, your real risk is slightly smaller than the tag.
What do the colours mean?
Aqua marks the uptrend and the BUY label, pink the downtrend and the SELL label, grey no trend. The stop, its tag and the risk box are red, and every target line, tag and the reward box are green, for BUY and SELL alike; these plan colours are fixed in the code. A tick next to TP1 or TP2 means it was reached.
Should I keep the defaults?
Start with them. The inputs that change the most are Value zone width, Pullback lookback, Maximum stop distance and the three target multiples. A narrower zone lets fewer pullbacks qualify; a larger maximum stop lets more, wider plans print. Your balance, risk percent and account currency must always be your own.
Which markets and timeframes does it suit?
Any TradingView symbol and timeframe; it is made for intraday charts from 5 minutes to 1 hour, and 4-hour charts give fewer, wider plans. It needs about 50 candles for the 50 EMA. It uses no session logic and no data from other timeframes, only a currency rate for the size.
Alerts and daily use
Which alerts can I create?
Two kinds. Choose Any alert() function call in Create alert for full-plan messages: symbol, BUY or SELL, entry, stop, TP1 to TP3 and size, plus a message when a target or the stop is reached. Or pick one of four alert conditions, Buy plan, Sell plan, Target reached and Stop reached, which carry short fixed texts. Set the frequency to Once Per Bar Close.
Do I need to re-create alerts after changing settings?
Yes. An alert keeps the settings the indicator had when you created it, so after you change the balance, the risk or any rule, delete the alert and create it again. Make one alert per chart. The Stop reached alert also fires when a plan exits at the entry.
Can I use it on several charts?
Yes. Add it to each chart; each copy has its own trend state, plans, panel and alerts for its symbol and timeframe. Enter the same balance and risk on each chart so that every plan is sized to the same money at risk.
Can I combine it with other tools?
Yes. It draws on the price chart and adds no separate pane; if you prefer your own candle colours, set Candle palette to Off. Keep the panel away from the bottom-right corner, where a small AlgoFXStore watermark sits.
How it works
Will it place trades for me?
No. Pullback Sniper Buy Sell is an indicator: it draws on the chart and can alert you. It never sends an order.
Do I need a paid TradingView plan?
No. It reads only the chart's own bars, so the free TradingView plan runs it. Alerts count against your plan's alert limit.
After you buy
How do I get it after paying?
Digistore24 runs the checkout. Right after payment it takes you to your download page with one zip holding the Pine Script source code file and the PDF guide; the link to that page is also in your Digistore24 order e-mail, so you can download again at any time.
How do I install it?
Open the code file, open the Pine Editor in TradingView, paste the whole code, click Save and then Add to chart: “Pullback Sniper Buy Sell [AlgoFXStore]” appears on your chart. The guide walks through it step by step.
Who is Digistore24?
Digistore24 is the reseller that sells Pullback Sniper Buy Sell for Kestutis Balciunas (AlgoFXStore): it runs the checkout, charges your card or PayPal, collects the VAT for your country and delivers the download. Its name is the one on your statement, and its order e-mail holds your download link and the refund link.
What is the refund policy?
A 60-day money-back guarantee, handled by Digistore24. If Pullback Sniper Buy Sell is not for you within 60 days of purchase, use the refund link in your Digistore24 order e-mail or Digistore24's order page (digistore24.com/en/cancel-revoke-contract) for a full refund, no questions asked. Digistore24 makes the refund to your original payment method.
Do I get the source code?
Yes. You get the full Pine Script source code as a text file for your own use; the licence line at the top of the code does not allow resale, sharing or republishing.
Pullback Sniper Buy Sell for TradingView.
Put trend pullback entries with their stop, three targets and your position size on your own TradingView charts. The full code, the manual and every setting explained. Instant download for €47, one payment.
Get instant access