A Pine v5 strategy, with Chinese input labels, that lets the user pick one of four setups: a short after an RSI overbought exhaustion, a long after an oversold reading, a Bollinger Band reversion, or a VWAP breakout with an EMA.
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
Exits use three take-profit stages by risk-reward ratio with a trailing final stage, an ATR-based stop clamped between a minimum and maximum percentage, and a move to breakeven. Optional 4 hour trend and volume filters apply. It can add up to three entries.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
策略選擇
string
Pump Short
strategyChoice
RSI 週期
int
14
rsiPeriod
RSI 超買門檻
float
75
rsiOverbought
RSI 下穿觸發門檻
float
65
rsiCrossDown
RSI 超賣門檻
float
25
rsiOversold
RSI 上穿觸發門檻
float
35
rsiCrossUp
RSI 超買/超賣回看K線數
int
6
rsiLookback
BB 週期
int
20
bbLength
BB 標準差
float
2.0
bbStd
VWAP 搭配 EMA 週期
int
20
vwapEmaLen
TP1 盈虧比
float
1.5
tp1RR
TP1 平倉比例 (%)
float
30
tp1Ratio
Show all 31 settings
Setting
Type
Default
Variable
TP2 盈虧比
float
3.0
tp2RR
TP2 平倉比例 (%)
float
30
tp2Ratio
TP3 追蹤止損回調 (%)
float
3.0
tp3Callback
ATR 週期
int
14
atrPeriod
ATR 乘數
float
2.0
atrMultiplier
止損調整乘數 (第1單)
float
1.2
slMultiplier
最小止損 (%)
float
2.5
minSLPct
最大止損 (%)
float
6.0
maxSLPct
啟用 4H 趨勢過濾
bool
true
useTrendFilter
趨勢 EMA 週期
int
20
trendEmaPeriod
趨勢強度門檻 (%)
float
2.0
trendStrengthPct
RSI 極端值時略過趨勢過濾
bool
true
rsiExtremeOverride
RSI 極端超賣門檻
float
20
rsiExtremeLong
RSI 極端超買門檻
float
80
rsiExtremeShort
啟用量縮過濾 (做空)
bool
true
useVolFilter
量縮比例門檻
float
0.8
volDeclineRatio
保本移損門檻 (%)
float
8.0
breakevenThreshold
顯示 RSI 背離標記
bool
true
showDivergence
顯示 TP/SL 水平線
bool
true
showTPLevels
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.
Alert BB + RSI [Alorse] is a multi-symbol mean-reversion strategy designed for cryptocurrency trading. It evaluates Bollinger Bands and the Relative Strength Index (RSI) across up to 20 user-defined ticker symbols simultaneously. The strategy enters long posit
A multi-timeframe Dollar Cost Averaging (DCA) trading strategy that combines signals from three RSI indicators, three CCI indicators, and Bollinger Bands. It places up to five weighted scale-in safety orders to lower the average entry price. The script offers
This strategy combines Bollinger Bands with a short RSI to fade moves that leave the bands and then return. A long requires the prior bar below the lower band and oversold, then a close back inside the band while RSI is between 30 and 50. Shorts mirror that at
Greeffer RSI Strategy is a trading strategy that generates buy and sell entries based on Bollinger Bands and RSI levels. It places stop orders at upper and lower Bollinger Bands on band crossovers, and adds positions when RSI reaches extreme levels. Users can
This strategy overlays the price chart to trade DAX futures during European market hours. It calculates exponential and simple moving averages, RSI, MACD, Bollinger Bands, ATR, and realized volatility to simulate VIX levels. Trades execute when session time fi
This strategy plots a simple moving average basis and upper and lower Bollinger bands on the price chart, with a fill between the bands. It also calculates RSI. It opens one long trade when RSI is above 25, price is at or below the lower band, and no position