Indicator · Pine Script v6 · On the chart

Cardwell Dual Confluence

by vedkanani123· code credited to MarkitTick

A price-chart indicator by MarkitTick based on Cardwell RSI ideas.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code432
Settings40inputs
LicenceNone stated
Last update2 months ago23 Aug 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

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

Cardwell Dual Confluence produces buy and sell signals from a fast and slow smoothed RSI crossover and from an RSI regime check combined with a moving average trend, with bull and bear RSI ranges. A minimum bar gap between signals can be set, and cross and regime can be required together. Optional higher-timeframe and ADX filters apply. Each signal draws ATR-based stop and three target lines, with a dashboard, candle colours and alert actions.

Details

Published by

vedkanani123 on GitHub

Code credit

MarkitTick, as written in the script's header

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Oscillators & momentum, Trend, Screeners & dashboards

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Cross: RSI Lenint14i_rsiLenX
Cross: Fast Lenint9i_rmaFastLen
Cross: Slow Lenint45i_rmaSlowLen
Trend: MA Lenint50i_trendLen
Trend: Srcsourceclosei_trendSrc
Trend: RSI Lenint14i_rsiLenT
Trend: RSI Srcsourceclosei_rsiSrcT
Trend: Confirm Barsint2i_confirmBars
Trend: Bull Loint40i_bullLo
Trend: Bull Hiint80i_bullHi
Trend: Bear Loint20i_bearLo
Trend: Bear Hiint60i_bearHi
Show all 40 settings
SettingTypeDefaultVariable
Signal Gap (Bars)int10i_gapBars
Require Cross + Regime Togetherboolfalsei_reqBoth
Cross+Regime Window (Bars)int3i_reqBothWin
Use HTF Confirmationboolfalsei_useHtf
HTF Timeframetimeframe240i_htfTF
Use Chop Filterboolfalsei_useAdx
ADX Lengthint14i_adxLen
ADX Min Strengthint20i_adxMin
ATR Lenint14i_atrLen
SL ATR Multfloat1.5i_slMult
TP1 ATR Multfloat1.0i_tp1Mult
TP2 ATR Multfloat2.0i_tp2Mult
TP3 ATR Multfloat3.0i_tp3Mult
Line Extend Barsint50i_lineExtBars
Color Candlesbooltruei_showCandles
Show Buy/Sell Signalsbooltruei_showSignals
Show Trade Levelsbooltruei_showLevels
Show Dashboardbooltruei_showDash
Dashboard Positionstringposition.top_righti_dashPos
↑ Long Actionstringlongi_actionLong
↓ Short Actionstringshorti_actionShort
✕ Close Long Actionstringcloselongi_actionCloseLong
✕ Close Short Actionstringcloseshorti_actionCloseShort
⛔ SL Hit Actionstringclosei_actionSl
🎯 TP1 Hit Actionstringtpi_actionTp1
🎯 TP2 Hit Actionstringtpi_actionTp2
🎯 TP3 Hit Actionstringtpi_actionTp3
Bull Candlecolorcolor.new(#26a69a, 0)c_bullCandle
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.

Similar Pine Scripts

218 stars

TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi

Indicator v6 Screeners & dashboardsTrend
Updated 3 months ago · None stated GitHub repository of TradersPost Trading Checklist
53 stars

This indicator analyzes historical candle direction and price range over a configurable lookback window to gauge market trend. It categorizes trend direction using candle count, price range sum, or both. Signals are filtered using a Simple Moving Average to en

Indicator v6 TrendOscillators & momentum
Updated 2 months ago · MPL-2.0 GitHub repository of Candle Counter + MA + RSI + Mode

Pocket Scout - SPY/QQQ

by chris-c-thomas
14 stars

Pocket Scout - SPY/QQQ is a mobile-optimized intraday bias indicator designed for major US equity ETFs and indices. It overlays a 9/21/50 EMA ribbon, session VWAP, prior day high/low/close levels, and intraday high/low lines directly on the main price chart. T

Indicator v6 TrendOscillators & momentum Repaints
Updated 6 months ago · MIT GitHub repository of Pocket Scout - SPY/QQQ

Portfolio Backtester

by f-cksociety
11 stars

The script is a Pine Script v5 indicator that emulates strategy backtesting directly on the price chart. It evaluates modular entry strategies, trade directions, entry stop-loss types such as ATR multiples or fixed percentages, and a wide variety of trade filt

Indicator v5 TrendOscillators & momentum
Updated 4 years ago · MPL-2.0 GitHub repository of Portfolio Backtester

Vein: Pullback identifies temporary counter-trend retracements and signals when they end versus when structure breaks. It calculates a multi-layer confluence score from 0 to 10 based on trend quality, move weakness, structure preservation, and Fibonacci retrac

Indicator v6 TrendOscillators & momentum
Updated 2 days ago · MIT GitHub repository of Vein: Pullback [WavesUnchained]

ForexAlgo

by Harshil427
7 stars

ForexAlgo generates trade signals directly on the price chart using a primary leading indicator, such as the Range Filter, combined with modular confirmation filters. Traders can toggle multiple technical filters, including exponential moving average crosses,

Indicator v5 TrendOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of ForexAlgo

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers