Dual RSI Indicator Breakout Strategy (2024)

  1. Square
  2. Dual RSI Indicator Breakout Strategy

Author: ChaoZhang, Date: 2023-09-14 15:34:46
Tags:

Strategy Logic

The Dual RSI strategy trades using two Relative Strength Index (RSI) indicators, a fast RSI and a slow RSI, both allowing trades in the same direction.

The logic is:

  1. Calculate a fast RSI (e.g. 16 period) and slow RSI (e.g. 31 period)

  2. Long signals are generated when the fast RSI crosses below oversold level (e.g. 30)

  3. Long signals also triggered when the slow RSI crosses below oversold level

  4. Fast and slow RSI can both signal longs on the same day

  5. Fast RSI closing above 70 exits the trade

  6. Slow RSI closing above 68 exits the trade

  7. A trailing stop loss is set

The dual RSI identifies opportunities in overbought/oversold regions. Combining fast and slow lines allows multi-step entries to ride trends. The stop loss controls risk.

Advantages

  • Fast/slow RSI validate and reduce false signals

  • Multi-step entries to fully capitalize on trends

  • Different profit take and stop loss levels

  • Trailing stop further manages risk

Risks

  • Requires optimization of the RSI parameters

  • Dual entries increase risk exposure

  • Stop loss too close risks getting stopped out

Summary

The dual RSI strategy utilizes two timeframes for entries while controlling risk. Parameter optimization and strict stops are key. Overall it suits trend-following of mid- to long-term directional moves.

/*backteststart: 2023-09-06 00:00:00end: 2023-09-13 00:00:00period: 15mbasePeriod: 5mexchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]*/// @version=4// © HermanBrummer// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/strategy("DUAL RSI", "RSI", 1, pyramiding=2)/// USES TWO RSI'S BOTH OF THEM CAN TRADE IN THE SAME DIRECTION AT THE SAME TIME -- ONE SLOW RSI, AND ONE FAST RSI/// BOTH RSI'S HAVE DIFFERENT LENGHTS ONE IS FAST AND HAS A SETTTING OF 16 ONE IS SLOW AND HAS A SETTING OF 31/// BOTH RSI'S HAVE DIFERENT EXIT PARAMETERS/// PYRAMIDING ALLOWS THE SYSTEM TO BUY ONE DO ONE SLOW RSI AND ONE FAST RSI BUY ON THE SAME DAY/// FASTRSI EXITS AT 70 RSI LEVEL/// SLOW RSI EXITS AT 68 RSI LEVELFastRSILen = input( 16 )SlowRSILen = input( 31 )overSold = input( 91 )FastRsi = rsi(ohlc4, FastRSILen)SlowRsi = rsi(ohlc4, SlowRSILen)aboveMaFilter = close > sma(close, 200)StopLossLine = strategy.position_avg_price * .90plot(StopLossLine, "StopLossLine", #ff0000)// plot(FastRsi, "FastRsi", color.yellow, 2)// plot(SlowRsi, "SlowRsi", color.purple, 2)FastBuy = FastRsi < overSold and aboveMaFilter //and strategy.position_size != 1SlowBuy = SlowRsi < overSold and aboveMaFilter //and strategy.position_size != 1// FAST_BUYstrategy.entry("Fast Enter", true, when=FastBuy) if FastRsi > 70 /// SELLS IF RSI == 75 strategy.close("Fast Enter", comment="Fast Exit") strategy.exit("Stop Loss", "Fast Enter", stop=StopLossLine) // // /// SLOW_BUYstrategy.entry("Slow Enter", true, when=SlowBuy) strategy.exit("Stop Loss", "Slow Enter", stop=StopLossLine) if SlowRsi > 68 /// SELLS IF RSI == 68 strategy.close("Slow Enter", comment="Slow Exit")

template: strategy.tpl:40:21: executing "strategy.tpl" at <.api.GetStrategyListByName>: wrong number of args for GetStrategyListByName: want 7 got 6

Dual RSI Indicator Breakout Strategy (2024)
Top Articles
How To Pay Off Debt Fast And Still Have A Life
5 Reasons to Use H&R Block Instead of TurboTax - Jessica N. Turner | The Mom Creative
Barstool Sports Gif
Google Sites Classroom 6X
St Petersburg Craigslist Pets
PRISMA Technik 7-10 Baden-Württemberg
Big Spring Skip The Games
Txtvrfy Sheridan Wy
America Cuevas Desnuda
Jennette Mccurdy And Joe Tmz Photos
104 Presidential Ct Lafayette La 70503
Everything You Need to Know About Holly by Stephen King
Directions To O'reilly's Near Me
Erskine Plus Portal
Nesz_R Tanjiro
Heart and Vascular Clinic in Monticello - North Memorial Health
Dragger Games For The Brain
How do you get noble pursuit?
Scott Surratt Salary
Pioneer Library Overdrive
LG UN90 65" 4K Smart UHD TV - 65UN9000AUJ | LG CA
Package Store Open Near Me Open Now
Pfcu Chestnut Street
Advance Auto Parts Stock Price | AAP Stock Quote, News, and History | Markets Insider
Restaurants Near Calvary Cemetery
Ucm Black Board
Shaman's Path Puzzle
1987 Monte Carlo Ss For Sale Craigslist
Weekly Math Review Q4 3
Goodwill Houston Select Stores Photos
Blue Beetle Movie Tickets and Showtimes Near Me | Regal
Metro By T Mobile Sign In
Why Holly Gibney Is One of TV's Best Protagonists
Cox Outage in Bentonville, Arkansas
Dollar Tree's 1,000 store closure tells the perils of poor acquisitions
Levothyroxine Ati Template
The Holdovers Showtimes Near Regal Huebner Oaks
Search All of Craigslist: A Comprehensive Guide - First Republic Craigslist
Busted Newspaper Campbell County KY Arrests
Davis Fire Friday live updates: Community meeting set for 7 p.m. with Lombardo
Gfs Ordering Online
Home Auctions - Real Estate Auctions
Autum Catholic Store
Mathews Vertix Mod Chart
Content Page
[Teen Titans] Starfire In Heat - Chapter 1 - Umbrelloid - Teen Titans
Gabrielle Abbate Obituary
Killer Intelligence Center Download
Naomi Soraya Zelda
Unpleasant Realities Nyt
Causeway Gomovies
Joe Bartosik Ms
Latest Posts
Article information

Author: Ms. Lucile Johns

Last Updated:

Views: 6060

Rating: 4 / 5 (41 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Ms. Lucile Johns

Birthday: 1999-11-16

Address: Suite 237 56046 Walsh Coves, West Enid, VT 46557

Phone: +59115435987187

Job: Education Supervisor

Hobby: Genealogy, Stone skipping, Skydiving, Nordic skating, Couponing, Coloring, Gardening

Introduction: My name is Ms. Lucile Johns, I am a successful, friendly, friendly, homely, adventurous, handsome, delightful person who loves writing and wants to share my knowledge and understanding with you.