1Copy the scriptPress Copy script above, or the copy button on the code below.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
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
79 lines of Pine Script v5 from 7_Scalper/7_Scalper.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Scalper Quick Strike calculates fast medium and slow EMAs along with a smoothed Stochastic to detect trend alignment and momentum shifts. Long entries trigger when EMAs align bullish and Stochastic crosses up from oversold levels with price above the fast EMA inside the selected session. Short entries work symmetrically on bearish alignment with Stochastic crossing down from overbought. The strategy places market orders with ATR based stop loss and risk reward ratio take profit exits. A daily trade counter limits pyramiding while a session filter exits all positions outside trading hours. EMAs appear as colored lines on the price chart with entry signals shown as small triangles.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Fast EMA
int
5
emaFast
Medium EMA
int
13
emaMed
Slow EMA
int
34
emaSlow
Stochastic K
int
14
stochK
Stochastic D
int
3
stochD
Stochastic Smooth
int
3
stochSmooth
Stoch Overbought
float
80
stochOB
Stoch Oversold
float
20
stochOS
ATR Length
int
10
atrLength
ATR Multiplier for SL
float
1.0
atrMult
Risk:Reward Ratio
float
1.5
rrRatio
Max Trades Per Day
int
10
maxTrades
Show all 13 settings
Setting
Type
Default
Variable
Trading Session
session
0935-1555
sessionFilter
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.
This strategy generates trading signals on the 5-minute price chart using Williams Fractals for trend reversals, combined with EMA fast and slow trend filters and optional RSI confirmation. Long entries trigger on bullish fractals aligned with rising EMA and R
This strategy trades EUR/USD on the price chart using a fast and slow exponential moving average crossover filtered by RSI. It enters long when the fast EMA crosses above the slow EMA while RSI is above 50 and below the overbought level, and enters short on th
This strategy plots on the price chart and enters from a moving-average filter, ADX and Gann colours. Price above a 200-period EMA allows only longs; price below allows only shorts. A Gann aqua colour with ADX above a key level opens a long, and a Gann brown c
This long-only strategy calculates three exponential moving averages with lengths of 50, 100, and 150 periods, plotting them directly on the price chart. It also calculates a 14-period RSI and MACD. The strategy opens long positions when the moving averages al
This strategy executes trend-following scalping setups by combining fast and slow exponential moving averages with a smoothed Stochastic oscillator. It enters long positions when the fast EMA is above the slow EMA and the Stochastic is oversold, and short posi
This strategy is designed for gold trading using multi-indicator confirmation and custom profit protection mechanisms. It combines Stochastic, RSI, moving averages (EMA 20, 50, 200), Fibonacci levels, and ATR buffers to generate confirmation or scalp entries.