by wynnforthework· code credited to Uncle-Gua 油管:布欧的区块日记
This strategy draws on the price chart and combines a momentum zigzag, a custom QQE built from RSI, ADX directional strength, an SSL filter, and a coefficient-of-variation weighted average.
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
330 lines of Pine Script v5 from 策略/开源分享/Box Scalper 魔改自瓜叔.txt, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Box period, deviation, and threshold inputs set the box filter, while zone bounds and QQE settings shape the conditions. A start and finish window limits the backtest. Position size uses a capital percentage, with inputs for a maximum stop-loss percent and a second profit target. The excerpt ends before the order rules, so the exact entry combinations are not fully shown.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Start
time
timestamp('2020-01-01T00:00:00')
start
Finish
time
timestamp('2030-12-31T00:00:00')
finish
Length
int
14
ADX_Length
Smooth
int
14
ADX_Smooth
Range
float
25
ADX_Range
Trend
float
50
ADX_Trend
Length
int
55
SSL_Length
Periods
int
24
BOX_Period
Deviation
int
3
BOX_Deviation
Threshold
int
50
BOX_Threshold
RSI Length
int
14
QQE_Length
MTF Mult
int
5
QQE_Mtf
Show all 22 settings
Setting
Type
Default
Variable
RSI Smooth
int
8
QQE_Smooth
QQE Mult
float
4.3
QQE_Mult
Length
int
5
ZON_Length
Upper
float
75
ZON_Upper
Lower
float
22
ZON_Lower
Expect
string
BOTH
PS_Expect
Mode
string
Capital
PS_Mode
Initial(%)
int
100
PS_Initial
Stop Loss Max(%)
float
9.9
TSL_SL2
Profit Target 2(%)
float
1.0
TP_Ts2
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.
LuxAlgo Hybrid Gold Scalper is a price-chart strategy aimed at gold. It stacks a fast, slow, trend and 200-period bias EMA to mark trend direction, then filters strength with RSI, ADX and an intraday VWAP. Swing highs and lows are marked from pivot length. Set
This trend-following scalping strategy combines a moving average trend filter with the Absolute Strength Histogram indicator. It opens long positions when price is above a selectable baseline moving average and the histogram signals bullish momentum, and short
This overlay strategy looks for Bollinger Band and optional fractal sweeps only in the Supertrend direction, with an optional MACD filter. Long and short setups expire after a set number of bars, and the first bar after a Supertrend flip is ignored. It enters
This strategy plots on the gold price chart and combines stochastic, RSI, and three EMAs with ATR to confirm buy and sell entries. Confirm trades can require an M15 overbought or oversold rejection wick and a Fibonacci or EMA zone, while a no-chase filter limi
This strategy overlays a trend moving average and Supertrend bands directly on the price chart while calculating Stochastic RSI values internally. Long positions trigger when price exceeds the moving average, Supertrend signals bullish momentum, and the StochR
This trading strategy combines three Exponential Moving Averages (8, 14, and 50 periods by default) with Stochastic RSI and Average True Range (ATR). It enters a long position when EMA 1 is above EMA 2, EMA 2 is above EMA 3, and the Stochastic RSI %K line cros