1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
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
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
Quick Flip Scalper qualifies the opening range against the daily ATR to confirm manipulation or liquidity spikes. If qualified, it searches for reversal candlestick patterns, such as hammers or engulfing bars, outside the opening range within a specified time window. Positions enter on confirmed pattern closes with stop losses placed at pattern extremes and take-profit targets set at the opposite side of the opening-range box. It plots status indicators in a separate pane and draws range boxes on the price chart.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Session
session
0930-1600
sessionInput
Time Zone
string
America/New_York
tzInput
Opening-Range Timeframe
timeframe
15
orTF
Trade Window (min from open)
int
90
windowMinutes
Flatten at Session End
bool
true
closeAtSessionEnd
ATR Length
int
14
atrLen
ATR Timeframe
timeframe
D
atrTF
Qualify Threshold (% of ATR)
float
25.0
thresholdPct
Hammer / Inverted Hammer
bool
true
enableHammer
Engulfing
bool
true
enableEngulf
Hammer Wick : Body Ratio
float
2.0
hammerRatio
Opposite-Wick : Dominant-Wick Max
float
0.5
upperWickMax
Show all 25 settings
Setting
Type
Default
Variable
Entry Mechanic
string
Pattern-specific
entryMode
Risk:Reward Override (0 = use box)
float
0.0
rrOverride
Move Stop to Breakeven
bool
false
useBreakeven
Breakeven Trigger (% to target)
float
50.0
beTrigger
Max Setups per Session
int
1
maxTrades
Show Opening-Range Box
bool
true
showBox
Show Reversal Signals
bool
true
showSignals
Show Stop / Target Lines
bool
true
showLevels
Show Status Table
bool
true
showTable
OR Box Fill Transparency
int
90
shadeQual
Bullish / Target
color
color.green
bullCol
Bearish / Stop
color
color.red
bearCol
Liquidity / OR Box
color
color.orange
liqCol
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 executes short positions during the end-of-day session (14:29–15:00) when the price is below the 200-day simple moving average. If price moves higher against the initial short trade, it scales into the position by submitting a second short order
This strategy runs an ultra-fast MACD in a separate pane to capture short-term momentum scalps. It filters trade entries using micro-trend direction, volume spikes, and candle body strength within specified session hours. Positions default to two percent of eq
This strategy combines Relative Strength Index and Bollinger Bands for short-term signal generation. It enters long positions when the price crosses below the lower Bollinger Band while the RSI falls at or below the oversold threshold. Positions are scaled dow
Exceeded Candle [Alorse] is a mean-reversion strategy that identifies candlestick engulfing patterns combined with Bollinger Bands filters. It enters a long position when a green candle surpasses the body of the previous red candle while price is below the mid
Mean Reversion Strategy is an overlay strategy that identifies pullbacks using a long-term EMA, RSI, and candlestick patterns. It generates long signals when a bullish engulfing candle forms below the EMA while RSI is oversold, and short signals when a bearish
This overlay strategy marks short-term turning points on the price chart and enters SPY option-style trades from them. It plots simple moving averages of highs and lows, draws up and down reversal arrows, and colors bars when a short-term extreme coincides wit