Session Wicks is a price-chart strategy that combines a Heikin Ashi weighted moving average, an RSI compared with its moving average, and a smoothed stochastic.
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
101 lines of Pine Script v5 from Tradingview/session-wicks-v3.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Bullish and bearish states come from the Heikin Ashi average falling or rising and from RSI sitting above or below its average. Users can choose the calculation timeframe, RSI and stochastic lengths, moving-average type, a start date, and optional session hours, and can enable long or short trades. The supplied code defines no stop loss.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Timeframe to Use
timeframe
symbol_tf
RSI Length
int
14
chart_rsiLengthInput
RSI MA Type
string
SMA
chart_maTypeInput
RSI MA Length
int
14
chart_maLengthInput
HA Length
int
10
chart_len
Stoch %K Length
int
14
chart_periodK
Stock %K Smoothing
int
3
chart_smoothK
Stock %D Smoothing
int
3
chart_periodD
Strategy Start Date
time
timestamp("01 January 2020 00:00:00 UTC-5")
strategy_start
Use Trading Hours
bool
false
use_trading_hours
session
0930-1600
trading_time
Long Trades
bool
true
long_trades
Show all 13 settings
Setting
Type
Default
Variable
Short Trades
bool
true
short_trades
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 intraday strategy enters positions based on an alignment of trend, momentum, and oscillator indicators. It triggers long entries when the Commodity Channel Index is above a positive threshold, a fast Relative Strength Index crosses above a slow RSI, price
The Reverse RSI Strategy is a scalping system designed for forex pairs during specific trading sessions. It combines a smoothed RSI indicator with five Exponential Moving Averages to identify mean-reversion trade opportunities. Position sizing dynamically adju
This strategy calculates fast and slow exponential moving averages, the Relative Strength Index, and the Average True Range directly on the price chart. It enters long positions when the fast EMA crosses above the slow EMA with RSI above the minimum threshold
This intraday strategy executes trades using dual EMA crossovers and RSI mean-reversion near VWAP. Designed primarily for 5-minute index futures charts like ES and MES, it offers momentum entries on fast and slow EMA crosses confirmed by VWAP, as well as count
Gold Multi-TF NYSE Scalper v2 is an intraday trading strategy for XAUUSD that seeks momentum entries by aligning RSI and EMA bias across multiple timeframes. It filters trades using an optional NYSE session clock and an ATR volatility spike check. Entries exit
This strategy trades opening gap continuation on the price chart. It measures the gap between the daily open and the prior daily close, then enters long after a qualifying gap up or short after a qualifying gap down when price stays beyond the open and a trend