This strategy overlays the price chart to generate trading signals by combining Quantitative Qualitative Estimation (QQE), a custom SuperTrend, and a CCI ATR trend metric.
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
174 lines of Pine Script v5 from Tradingview/bankai-dtek-strategy.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Bankai DTEK Strategy colors candles green or red according to combined trend alignment and enters long or short positions when directional criteria and optional RSI confluence conditions are met. Settings allow adjustments to QQE parameters, SuperTrend moving average types, CCI filters, Bollinger Bands, and intraday trading session times. The strategy does not include a default stop loss.
QQE oscillator trend bands and crossover detection
SuperTrend calculation supporting multiple MA types
CCI and ATR based trend filter
Optional RSI overbought and oversold confluence filter
Session time and start date trading window filters
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
RSI Length
int
14
RSI_Period
RSI Smoothing
int
5
SF
Fast QQE Factor
float
4.238
QQE
Thresh-hold
int
10
ThreshHold
ST ATR Mult
float
1.0
ST_Atr_Mult
ST Length
int
4
ST_Length
ST AvgType
string
HMA
ST_AvgType
CCI Length
int
50
lengthCCI
CCI ATR Length
int
21
lengthATR
CCI ATR Factor
float
1.0
AtrFactor
BBands Length
int
19
length
BBands Multiplier
float
2
mult
Show all 22 settings
Setting
Type
Default
Variable
Show Checkmarks
bool
true
showCheckmarks
RSI confluence
bool
false
isRsi
RSI Length
int
14
rsiLen
RSI Oversold
int
30
overSold
RSI Overbought
int
70
overBought
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
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 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
This strategy combines exponential moving averages (EMA 9, 21, 50), RSI, MACD, and Supertrend indicators to enter long positions. It triggers trades using six dynamic setups based on momentum breakouts, EMA crossovers, and pullbacks. Position sizing is compute
This strategy identifies trend reversals through market structure changes (CHoCH) filtered by MACD momentum. It initiates long positions on bullish structure breaks when MACD is positive and above its signal line, and short positions on bearish breaks when MAC
CombinedBinHAndClucV6 is a trading strategy based on the popular BinHV45 and ClucMay72018 algorithms. It calculates dual Bollinger Bands, Exponential Moving Averages, Relative Strength Index, Average True Range, and volume metrics across primary and one-hour h
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