mortdiggiddy

RSI-ATR Divine Strategy

Live, non-repainting strategy using ATR and RSI mixed together to take long and short positions. Includes:

  • Live entry direction with trade warnings and alerts
  • Live trade building buy and sell stops (for buy/sell stop limits)
  • Entry location icons as well as pyramid entries (to add to existing position)
  • 3 separate targets based on the ATR setting and entry location
  • 2 separate trailing stops, 1 for "absolute stop" and 1 for "take profit stop"
  • Alert conditions for every update and condition change of the strategy
  • 4 pre-built color themes, including candlestick coloring

This strategy is best used with my RSI Shaded Indicator using the identical RSI settings.
Release Notes: Add the strategy script. This script is used solely for alerts, because Trading View still after 3 years of requesting does not provide the ability to use alert conditions inside a strategy script, only an indicator script. The linked strategy should be used to backtest your settings.

Please PM for access. Cheers.
Release Notes:
  • Updated long/short building algorithms
  • Added alerts for scalp trades building and scalp trade entries
  • Videos added for basic instructions linked at the bottom of this indicator page.
Release Notes:
  • Updated long/short building algorithm and alerts.
Release Notes:
  • Added dark theme button
  • Added ability to adjust ATR stop line thickness
Release Notes:
  • Updated scalp and trade criteria, slight tweak.
  • Separated stop tick rounding and target tick rounding, now independent.
  • Update dark colors to slightly more dark.
  • Session input is now used to determine if alerts should fire, default is 24x7 until changed. If the session parameter is specified before adding an alert, only alerts that are within the session scope will fire.
  • Toggle swing trades and scalp trades on/off is now possible.
  • Fixed locations where an existing trade active, but an opposite trade is building.
Release Notes:
  • Updating color themes.
  • Added trailing stop ATR multiplier. Previously the trailing long is updated each time the minor trend flips back in the direction of the major trend. For a long, the stop update would be something on the order of: stop = Maj_Trend - Min_ATR_Mult * ATR. The ATR multiplier used now will be the stop multiplier so that the function is exclusive: stop = Maj_Trend - Stop_ATR_Mult * ATR. This helps with the ability to both specify the minor ATR multiplier while not affecting the sensitivity of the stop. As always after a swing long/short is initiated, if the Major Trend flips, the stop will be updated to the rounded tick value below or above the candle that caused it to flip.
Release Notes:
  • Decoupled scalp trades from long trades when scalp trades are not active.
  • Updated styling.
Release Notes:
  • Added toggles to completely disable long or short trades.
Release Notes:
  • Fixed coloring bug.
Release Notes:
  • Fixed more coloring issues for live trading corner cases.
Release Notes:
  • Fixed exit 'X' mark bug placement.
Release Notes:
  • Very slight tweak of the entry algorithm for swing/target type trades.
Release Notes:
  • Fixed live mode for renko based charts.
Release Notes:
  • Fixed session problem with new TV update.
  • Updated live trading overlays for Renko mode.
Release Notes:
  • Fixed live stop values for pending trades in renko mode.
  • Helped whipsaws in renko mode for false trade positives.
Release Notes:
  • Updating target plotting.
Release Notes:
  • Fixed display bugs on renko type charts.
Release Notes:
  • Tweak to renko mode for ATR trend reversal. Updated session logic for alerts.
Release Notes:
  • Updated to version 4 Pinescript.
  • Added member features.
Release Notes:
  • Updated member features.
Release Notes:
  • Updated member features.
Release Notes:
  • Added Multiple Timeframe (MTF) aspect to the Major/Minor ATR Supertrend stops. These run without accessing the security() function and are very robust. The Major and Minor trends will operate independent of the chart interval when the chart interval is is less than the desired MTF interval. By default the check box "Always use chart interval instead?" is selected to lock the ATR Supertrend intervals to the chart interval. Uncheck this box and input a desired interval of choice greater than or equal to the chart interval to experience the MTF aspect.
  • Added alerts for trend direction shift of the Major ATR Trend.
Release Notes:
  • Added dynamic alert support intended for auto-trading.
  • Updated title.
Release Notes:
  • Fixed MTF bug on minor scalp ATR trend.
Release Notes:
  • Minor styling update for look and feel.
Release Notes:
  • Optimized for new OHLC Renko charts.
  • Added dynamic alert values.
Release Notes:
  • Fixed issue with MTF ATR.
Release Notes:
  • Updated target reached alerts
  • Separated alerts for initial entry activation and pyramid entry activation
  • Fixed minor issues with long/short entry lines not showing right value
Release Notes:
  • Added scalp targets in dynamic alerts.
  • Attempt to fix bug for null values published in normal targets, simplified alert logic.
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact mortdiggiddy for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it until you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Public Library.

Want to use this script on a chart?

Warning: please read before requesting access.

Comments

If you would like "Trade Building" alerts I recommend right clicking the indicator -> Add Alert -> Then pick the appropriate long or short building alert and specify "On bar close". The on bar close is necessary so that you are not continuously alerted every time the current candle is updating itself, and so that you are only notified when it is confirmed that a trade is indeed "building".
+1 Reply
mortdiggiddy mortdiggiddy
@mortdiggiddy, I noticed some typos in the Alerts, this came from copy/paste from another strategy I will fix in a futures update.
Reply
Is it possible to add an alert to the indicator on TradingView, I can not find it on the trial version or is it mainly in the full version?
Reply
Unfortunately I do not have the knowledge yet to understand this. My friend recommend I learn about using ATR with RSI for entry and exit points. I’m just starting to use RSI to find divergences but it’s new and iv never even heard of ATR so I’m trying to learn. If you or anybody can refer a book or helpful link thanks ahead of time but I’ll be researching more for now to understand this
Reply
Can you share the code?
Reply
@dpanday, Code is protected. PM me for an invite.
Reply
@dpanday, Code is protected and not visible, you can PM me to learn more.
Reply
Hey Mort Good Morning/Evening to You May You Give Me Access Please Thanks
Reply
GBPUSD 15 minute chart this week. There have been several easy longs.

Settings = ATR Length = 7, Multiplier = 4.0. Heikin Ashi = True.

Reply
mortdiggiddy mortdiggiddy
@mortdiggiddy, Sorry that is 60 minute.
Reply