Swing Trade & Scalp Signals only prints a buy or sell arrow when a whole list of checks agree on the same candle. One big green candle or one oversold reading is never enough on its own, and that is the whole idea.
Pick scalp, swing or long swing mode, leave the low risk filter on to keep your arrows on the side of the trend, and let the candle colors, trend moving average clouds, auto fibonacci levels and a live percentage table do the chart math for you.
It’s built by Lane Dotson, an active futures trader since 2013 who builds every Trend Friend indicator himself, and it loads on stocks, crypto, forex and futures charts on any timeframe.
The View on TradingView link is an affiliate link. If you buy a TradingView plan after clicking it, we may earn a commission.
Part of the Premium Indicator Suite - 10 indicators for $39.99/mo. View suite →Pricing →
What It Does
Core Features
Buy & Sell Signal Arrows
Buy arrows print under the candle in green and sell arrows print above it in red, and you can change both colors and pick small or medium arrows in the settings. The reason one candle can’t fire an arrow by itself is that every candle gets scored on several different parts of market behavior at the same time:
Momentum: whether price is speeding up or running out of steam
Directional pressure: whether buyers or sellers have control of the recent candles
Volume behavior: whether there is enough activity behind the move to trust it
Candle structure: the size and shape of the candle compared to recent candles, including engulfing candles (a candle that swallows the one before it) and runs of candles in one direction
Trend position: where price sits compared to several trend measures built into the script
A buy arrow only prints when the bullish checks agree on one candle, and a sell arrow only prints when the bearish checks agree. On top of that, rejection filters block weak candles, like candles with long rejection wicks or moves that have already stretched too far, and most signal types are blocked while the chop or low volume warning is up.
Signals also take turns. After a buy arrow the next one can only be a sell, and after a sell the next one can only be a buy, so every arrow marks a clear change in direction instead of a pile of arrows in a row. The exact formulas and settings behind the checks are private, but those five things are what they measure.
Three Trading Modes
Scalp Mode (default): the most signals, with the earliest entries and exits, built for getting in and out quickly
Swing Mode: fewer signals with longer holds, later entries than scalp mode and less noise to deal with
Long Swing Mode: the fewest signals and the longest holds, built for extended moves
Each mode has a Less Signals? checkbox that makes it more selective, so you really have six versions to pick from. If you want more arrows on any mode, drop to a lower timeframe, and if you want fewer, go up a timeframe. Make sure to try each one on a few of your own charts before you settle on one.
The Low Risk Filter and Risk Label
The Only Give Low Risk Signals setting is on by default, and it uses your trend moving averages (MAs) to decide which way the trend is pointing. Arrows only come through when the trend agrees with them, so in an uptrend you only see buys and in a downtrend you only see sells. When the trend doesn’t agree with the current signal or can’t make up its mind, no arrows print and the candles turn the neutral color, which is your cue to stand aside.
How the trend gets read depends on which trend MAs are on. With both on, the trend is bullish when price is above Trend MA #1 and Trend MA #1 is above Trend MA #2, and bearish when it is the other way around. With only one on, price above that line is bullish and price below it is bearish. Out of the box only Trend MA #2 is turned on, so the trend comes from price against that one line until you turn Trend MA #1 on.
If you turn the filter off, and you are not using external filters either, a risk label shows in the table instead. It rates the current signal by comparing it to the trend:
Low Risk: the trend points the same way as the signal
Medium Risk: the trend is undecided, so expect choppy price action
High Risk: the trend points the other way, so the signal is against the trend
Risk here only means how the signal lines up with the trend. It is a way to sort your trades, not a promise about how any trade will turn out.
With the low risk filter on, buy arrows only print while price is above the trend MA and sell arrows only print while it is below, and the candles turn gray when the signal and the trend don't line up. Chart by TradingView.
Trend MA Lines & Clouds
Two trend MAs sit on your chart, and you can pick the type of each one (EMA, SMA, HMA, VWMA, WMA or RMA) and its length. Both default to SMA, with Trend MA #1 at 15 and Trend MA #2 at 60, and Trend MA #1 starts turned off.
Each line turns green when price is above it and red when price is below it, and a cloud fills the space between the line and price in the same colors, so you can read the trend at a glance. These two lines also drive the trend label, the risk label and the low risk filter. For the cleanest read, set the lengths to time-based amounts: on a 1-minute (1m) chart, 15 covers 15 minutes and 60 covers an hour, and on a 5-minute (5m) chart, 12 covers an hour and 48 covers four hours.
VWAP Line & Cloud
The VWAP (volume-weighted average price) is the average price for the day, weighted by how much traded at each price, and lots of day traders watch how price reacts at it. It shows as a dotted yellow line with a cloud between it and price that turns green when price is above it and red when price is below it.
External Indicator Filters
You can filter signals with up to 3 of your own indicators. Each filter reads a value from another indicator on the same chart: 1 means bullish, -1 means bearish and 0 means no trades. When filters are on, an arrow only comes through when every filter you turned on agrees with it.
Trend Friend indicators like the Trend Trading Indicator have an output named Trend Direction To Send To External Indicators that is built for this, and any indicator that puts out a 1, -1 or 0 works too. If you want moving averages as a filter alongside other indicators, set up the same moving averages on our free Any 8 Moving Averages indicator and use it as one of your filters. Our guide shows how to filter signals with other indicators step by step.
Keep in mind the low risk filter and the external filters can’t be on at the same time. If both are on, an error shows on the chart and no arrows appear until you turn one of them off. If a filter is pointed at a source that doesn’t put out 1, -1 or 0, a message on the chart tells you and the signals pause until you fix it.
Trade Direction Output
This indicator also sends out its own direction value, named Trend Direction To Send To External Indicators, so other indicators on the same chart can use it as a filter. With a filter mode on, it sends 1, -1 or 0 to match what the chart shows, and with both filter modes off, it sends 1 after a buy signal and -1 after a sell. That lets you chain signal indicators together so you only get arrows when they agree.
Auto Fibonacci Levels
Fibonacci retracement and extension levels are drawn for you from the previous period’s high and low, and those two white lines are big levels to watch on their own. You can pick the previous day, week (the default), month, quarter or year as the source, and the percentage table shows how far price is from the next level above and below so you know how much room a trade has.
The table shows how far price is from the next fibonacci level above and below, plus the distance to VWAP and the gain or loss since the last signal. Chart by TradingView.
Percentage Updates Table
A live table, in the bottom right corner by default, keeps track of the numbers so you don’t have to do chart math in your head. You can move it to any corner, edge or the center of the chart and change its background color. It shows:
Trend label: bullish, bearish, or undecided with chop likely, based on your trend MAs
Fib distance: the percentage to the next fibonacci level above and below, with the level names
VWAP distance: the percentage between price and the VWAP
From last signal: your live gain or loss since the latest signal. With a filter mode on, it measures from the latest signal you can actually see on the chart, so the number matches what you are looking at
My long or short entry: type your real entry price into the settings and the table tracks your live profit or loss (P&L) from it, and a line marks that price on your chart
Margin multiplier: set your margin level and every percentage gets multiplied by it, so the numbers match your account
Risk label: shows when both filter modes are off
Candle Color by Signal Direction
Candles paint by the current signal: green from a buy signal until the next sell, and red from a sell signal until the next buy. That helps you stay in a trade without second-guessing every small candle that goes against you. With a filter mode on, candles turn the neutral gray any time conditions aren’t lined up, so you can see right away when the script wants you flat.
For the colors to show, open your chart settings (the gear icon at the top right), go to the Symbol tab and turn off body, wicks and borders.
Bounce Zone
The bounce zone is a purple cloud made from two very long-term moving averages, the EMA 1000 and EMA 2000. When price has been trending above it and drops into it, watch for it to act as support, and when price has been trending below it and rises into it, watch for resistance. Price often chops around inside the zone while the market picks a direction, and breakouts from it tend to move fast.
Chop & Low Volume Warnings
Warning labels show at the top of the chart when price action measures as choppy, or when recent volume is far below what is normal for that chart. Most signal types are blocked while a warning is up, and if you are already in a trade when one shows up, keep a close eye on it.
Trading Guide
How to Use
Stay on the Trend's Side
Longs have the trend on their side when price is above both trend MAs and Trend MA #1 is above Trend MA #2, and shorts have it when everything is flipped. The low risk filter handles this for you, and you’ll want Trend MA #1 turned on so it reads both lines. If you are newer to trend trading, our guide walks through the idea from the ground up.
Take Signals Near Key Levels
Signals that print close to a trend MA, the VWAP, a fibonacci level or the edge of the bounce zone, or a stack of them, are the ones worth your attention. Before you enter, check the table, because if the next fibonacci level is right on top of price, the move may not have enough room to be worth the risk.
Let the Opposite Signal Get You Out
A sell arrow during a long, or a buy arrow during a short, is your cue to take profit or get out. The candle colors help here too, so you can hold the trade while the color stays the same instead of bailing on the first candle that goes against you.
Play the Space Between the Lines
When price sits between the two trend MAs, treat them as support and resistance and plan for price to travel from one to the other. When the two lines pinch together after being far apart and price breaks out with a matching arrow, the moves that follow are often fast.
Stack Your Filters
For more confluence, add the Trend Trading Indicator or another compatible indicator to your chart and pick it as an external filter. That way you only get arrows when your indicators agree on direction.
Sit Out the Warnings
When the chop or low volume label is up, wait for volume to come back and for price to pick a direction before you take new trades. Then make sure to practice with the settings you like on Bar Replay or a paper trading account before you put real money behind them, and study where and why each trade would have gone wrong.
Stay Notified
Alerts
Available alerts:
Buy Signal Alert
Sell Signal Alert
Low Risk Buy Signal Alert
Low Risk Sell Signal Alert
Crossing Trend MA #1 Alert
Set these up so you don’t have to watch the chart all day, and our guide on how to set up alerts walks through it. Make sure to set the trigger to Once Per Bar Close if you only want alerts on signals that locked in. Keep in mind the Crossing Trend MA #1 Alert only works when Trend MA #1 is turned on, since it starts off. Paid TradingView plans can also send alerts by webhook to other apps.
Signal Confirmation
Higher Timeframe Data, Signal Confirmation and Repainting
On the Live Candle
All of the signal checks run on the candle that is still forming, which is what makes early entries possible. While that candle is open, an arrow can show up and then disappear if conditions change before the close.
When the Candle Closes
Once a candle closes with an arrow on it, that arrow is locked in and can’t be removed or moved later. If you only want confirmed entries, wait for the close with the arrow still showing and set your alerts to Once Per Bar Close. If you get in before the close, back that early entry with good volume and your own read of the chart.
Higher Timeframe (HTF) Data
The only higher timeframe (HTF) data the script asks for is the previous period’s high and low for the fibonacci levels. It always pulls the last period that fully finished, so it never uses data that wasn’t there yet, and the levels only move when a new period starts.
Live Values on the Open Candle
The trend MAs, VWAP, candle colors, trend label and table update in real time on the open candle, the same way any standard indicator does. Once a candle closes, its values are final.
Markets & Timeframes
Compatibility
Swing Trade & Scalp Signals loads on stocks, crypto, forex and futures charts on any timeframe, and it works on any TradingView plan. It runs most cleanly on high volume tickers with plenty of price action, because so many checks have to line up on one candle and quiet markets rarely give it that. Very long timeframes may not give signals if there isn’t enough history for the calculations.
It also loads on symbols with no volume data at all, like indices. On those, the low volume warning clears by itself so signals can still come through, but the signal types that need volume can’t fire there. Want to see what else is in the lineup? Browse all of our TradingView indicators.
CONFIGURATION
Settings Overview
Signal & Trend Settings
Setting
Default
Description
Scalp Or Swing Trade Mode
Scalp Mode
Pick Scalp Mode, Swing Mode or Long Swing Mode
Less Signals?
Off
Makes whichever mode you picked more selective, so you get fewer signals
Only Give Low Risk Signals - On/Off
On
Only lets signals through when the trend MAs agree with the signal direction. Cannot be on at the same time as the external indicator filters
Trend MA #1 & Cloud On/Off
Off
Turns Trend MA #1 and its cloud on or off. Turn it on so the trend reads both lines
Type Of Trend MA #1
SMA
EMA, SMA, HMA, VWMA, WMA or RMA
Trend MA #1 Length
15
How many candles Trend MA #1 uses. Shorter reacts faster, longer is smoother
Trend MA #2 & Cloud On/Off
On
Turns Trend MA #2 and its cloud on or off
Type Of Trend MA #2
SMA
EMA, SMA, HMA, VWMA, WMA or RMA
Trend MA #2 Length
60
How many candles Trend MA #2 uses
Fibonacci From Previous Timeframe
1W
Where the fibonacci levels come from: 1D, 1W, 1M, 3M or 12M (the previous day, week, month, quarter or year)
Size Of Signal Arraows
Small
Small or Medium signal arrows
External Indicator Filters
Setting
Default
Description
Filter Signals Using An External Indicator #1 On/Off
Off
Turns filter slot #1 on. Slots #2 and #3 have the same setting
External Indicator Value #1 To Use As A Filter
hlcc4
Pick the other indicator's 1, -1 or 0 output here, like Trend Direction To Send To External Indicators. Slots #2 and #3 have the same setting
Trend Direction To Send To External Indicators
Always on
This indicator's own output (1, -1 or 0) for other indicators on the same chart to use as a filter. It shows in the Data Window, not on the chart
Display Toggles
Every visual piece can be turned on or off on its own, and each one has its own colors:
Buy Signal Arrows On/Off and Sell Signal Arrows On/Off (on)
Candle Color Based On Signal Direction (on), with bullish, bearish and neutral colors
Percentage Updates Table On/Off (on), with Percentage Table Position and Percentage Table Background Color
Turn Fibonacci Levels On/Off (on)
Trend MA #1 & Cloud On/Off (off) and Trend MA #2 & Cloud On/Off (on), with line and cloud colors
VWAP Line & Cloud On/Off (on), with line and cloud colors
Bounce Zone Cloud On/Off (on), with line and cloud colors
The trend label turns off with the table, and the chop and low volume warnings don’t have their own toggle.
Personal Trades & Margin Settings
Long Entry Price For Perecentage Updates and Short Entry Price For Perecentage Updates: type in your real entry price to see your live P&L in the table and a line at that price on your chart. Leave it at 0 to hide it.
Margin Multiplier: multiplies every percentage in the table by your margin level, from 1 to 100 (for example, 5 means every percentage is times 5).
IMPORTANT
Important Notes & Limitations
⚠Arrows can appear and disappear on the live candle. They lock in when the candle closes. Wait for the close with the arrow still showing for a confirmed entry, or back an early entry with good volume and your own read of the chart.
⚠Turn off your chart's own candle body, wicks and borders so the indicator's candle colors show. Open chart settings (the gear icon at the top right), go to the Symbol tab and turn all three off.
⚠The low risk filter and the external indicator filters can't be on at the same time. If both are on, an error shows on the chart and no arrows appear until you turn one off.
⚠The low risk filter needs at least one trend MA turned on. If both are off, a message on the chart tells you to turn one on. Trend MA #1 starts off, so the default trend comes from Trend MA #2 alone.
⚠External filters need a source that puts out 1, -1 or 0. Any other source shows an error on the chart and pauses signals until you fix it.
⚠The Crossing Trend MA #1 Alert needs Trend MA #1 turned on. It starts off, so turn it on before you set that alert.
⚠Quiet markets give fewer signals. Low volume tickers with little price action may give few or weak signals, so high volume tickers are where it runs most cleanly.
No indicator is right every time, and past results never guarantee future results. Treat every signal as one piece of your decision and manage your risk on every trade.
Get Access
Get Swing Trade & Scalp Signals Plus 9 More Premium Indicators
Access the full Premium Indicator Suite on your TradingView charts. All 10 indicators, chart templates, and priority support.
Scalp Mode gives the most signals with the earliest entries and exits, built for getting in and out quickly. Swing Mode gives fewer signals with longer holds and less noise, and Long Swing Mode gives the fewest signals for extended moves. Each mode also has a Less Signals? checkbox for a more selective version. Drop to a lower timeframe for more signals on any mode, or go up a timeframe for fewer.
The opposite arrow is your cue: a sell arrow during a long, or a buy arrow during a short, means it is time to take profit or get out. The candle colors help you hold in between, since they stay the same color from one signal until the next. You still set your own stop loss and manage your own risk on every trade.
Add a compatible indicator, like the Trend Trading Indicator, to the same chart. In this indicator's settings, turn on one of the external filter slots and pick that indicator's Trend Direction To Send To External Indicators output as the source. Arrows then only come through when every filter you turned on agrees with the signal. You can use up to 3 filters at once, but not while Only Give Low Risk Signals is on.
The risk label rates the current signal by comparing it to the trend from your trend MAs. Low Risk means the trend agrees with the signal, Medium Risk means the trend is undecided and chop is likely, and High Risk means the signal goes against the trend. The label only shows when both the low risk filter and the external filters are off, and the Only Give Low Risk Signals setting hides everything except low risk signals for you.
Gray candles mean conditions aren't lined up for a trade. With the low risk filter on, that happens when the trend doesn't agree with the current signal or can't make up its mind, and with external filters on, it happens when your filters don't agree. If an error message also shows at the top of the chart, you have both filter modes on, a filter pointed at the wrong source, or both trend MAs turned off with the low risk filter on.
Arrows form on the live candle, so one can show up and then disappear if the candle changes before it closes. Once a candle closes with an arrow on it, that arrow is locked in and can't be removed or moved later. For confirmed entries, wait for the close and set your alerts to Once Per Bar Close. The fibonacci levels only use the last fully finished period, so they don't change after the fact either.
CHANGELOG
Release Notes
CURRENT VERSION
What You Get Today
When the Premium Suite moved into TradingView's Paid Space, the Swing Trade & Scalp Signals indicator's description got a full rewrite to match the current version and the old release notes were removed to avoid confusion. This page reflects the current version of the indicator, so everything above matches what you get on your chart.
Show older updates
Pine Script v6 Upgrade, External Filtering & Signal Arrows
Major update upgrading to Pine Script v6 with new features including external indicator filtering, signal arrows replacing text labels, adjustable moving average lengths, and a low-risk-only signal mode.
What Changed
• Updated to Pine Script v6 with code improvements throughout
• BULL/BEAR text labels replaced with signal arrows (small and medium sizes selectable in settings)
• Take profit labels removed. Use opposite signals to take profit instead
• VWMA and RMA lengths are now adjustable in settings
• New "Only Give Low Risk Signals" default setting filters out everything except signals where the VWMA trend agrees with the signal direction
• External indicator signal filtering. Use up to 3 other indicators as directional filters (requires 1/-1/0 output)
• Trade direction output added. Other indicators can use this indicator's direction as a filter source
Alert Updates
Updated alert options for better signal filtering.
What Changed
• Removed alert for price crossing VWMA 500
• Added alerts for low risk buy signals and low risk sell signals
Signal Rejection Parameters & Candle Color Update
Added signal rejection parameters to hold trending positions longer and changed candle coloring logic to close-over-close comparison.
What Changed
• Added 2 signal rejection parameters to hold trending positions longer
• Candle coloring changed from DMI-based to close-over-close: green when up with higher close than previous, red when down with lower close, blue when neutral
Less Signals Option Added
Added a "Less Signals" checkbox that provides a more conservative version of each trading mode.
What Changed
• New "Less Signals" checkbox affects scalp, swing, and long swing modes, giving 6 total mode variations
Signal Parameter Improvements
Multiple rounds of signal parameter improvements through October 2022.
What Changed
• Improved signal parameters across multiple updates (Oct 4 and Oct 17)
Initial Release & Early Updates
Initial release followed by rapid improvements including bug fixes, signal parameter tuning, and new rejection patterns.
What Changed
• Added support for tickers with limited historical data (May 10)
• Removed short-term take profit trigger on 1H+ timeframes (May 12)
• Added bounce zone toggle, signal rejection patterns, and signal trigger patterns (May 17 - June 21)
• Various bug fixes for lower timeframe outputs and candle rendering
Designed for fast scalping on the 1-minute chart with quick entry and exit signals. Pairs naturally with Swing Trade & Scalp Signals in scalp mode. Use external indicator filtering to chain them together for high-confluence scalp entries.
Automatically marks supply and demand zones where big buying or selling happened before. Take Swing Trade & Scalp Signals arrows at supply and demand zones so your entry sits at a level you can see, with a clear spot for your stop loss at the zone edge.
Plots automatic support and resistance levels based on volume analysis. Combine it with Swing Trade & Scalp Signals to see whether an arrow printed at a level built from real volume.