How to add a moving average to RSI - ThinkOrSwim | futures io social day trading
futures io futures trading


How to add a moving average to RSI
Updated: Views / Replies:10,023 / 7
Created: by Werd Attachments:1

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

How to add a moving average to RSI

  #1 (permalink)
Trading Apprentice
Colorado Springs, Colorado USA
 
Futures Experience: Beginner
Platform: Think or Swim
Favorite Futures: ES
 
Posts: 9 since Sep 2012
Thanks: 4 given, 1 received

How to add a moving average to RSI

Can someone give me the rundown on exactly how to add a moving average to Wilder's RSI for TOS? Can you put a Hull Moving average on RSI? Thanks, I really appreciate any help.

Drew

Reply With Quote
 
  #2 (permalink)
Knowledge Seeker
Dubai, UAE
 
Futures Experience: Intermediate
Platform: TOS, TradeStation
Broker/Data: OX, TradeStation
Favorite Futures: Stocks & Basic Options
 
RedK's Avatar
 
Posts: 171 since May 2012
Thanks: 44 given, 138 received


Werd View Post
Can someone give me the rundown on exactly how to add a moving average to Wilder's RSI for TOS? Can you put a Hull Moving average on RSI? Thanks, I really appreciate any help.

Drew

@Werd, create a new study and copy any of the below codes to it..
the first is a plain, fast and simple one that calls the existing RSI_Wilder then smoothes it .. the second is a full copy of the RSI_Wilder built-in study, then adding the HMA smoothing to it at the end.. this way you still get the OB/OS levels and dynamics color line...etc from the original code.

Simple way

 
Code
Declare Lower;
Input Length = 14; Input HMASmoothing = 4;
def  RSI = RSIWilder(Length);
Plot MySmoothRSI = HullMovingAvg (RSI, HMASmoothing);
Longer way (nicer)

 
Code
declare lower;

input length = 14;
input over_Bought = 70;
input over_Sold = 30;
input price = close;
Input HMASmoothing = 4; ##Added an input line for smoothing value

def NetChgAvg = WildersAverage(price - price[1], length);
def TotChgAvg = WildersAverage(AbsValue(price - price[1]), length);
def ChgRatio = if TotChgAvg != 0 then NetChgAvg / TotChgAvg else 0;

def RSI_Raw = 50 * (ChgRatio + 1); ## changed the name to RSI_Raw
plot OverSold = over_Sold;
plot OverBought = over_Bought;

Plot RSI = HullMovingAvg (RSI_Raw, HMASmoothing); ## Added our smoothing

RSI.DefineColor("OverBought", GetColor(5));
RSI.DefineColor("Normal", GetColor(7));
RSI.DefineColor("OverSold", GetColor(1));
RSI.AssignValueColor(if RSI > over_Bought then RSI.color("OverBought") else if RSI < over_Sold then RSI.color("OverSold") else RSI.color("Normal"));
OverSold.SetDefaultColor(GetColor(8));
OverBought.SetDefaultColor(GetColor(8));

Reply With Quote
The following 4 users say Thank You to RedK for this post:
 
  #3 (permalink)
Trading Apprentice
Colorado Springs, Colorado USA
 
Futures Experience: Beginner
Platform: Think or Swim
Favorite Futures: ES
 
Posts: 9 since Sep 2012
Thanks: 4 given, 1 received


Sorry it took me so long to say thanks very much for replying to my question. I very much appreciate it!

Sincerely,

Drew

Reply With Quote
 
  #4 (permalink)
Trading Apprentice
Colorado Springs, Colorado USA
 
Futures Experience: Beginner
Platform: Think or Swim
Favorite Futures: ES
 
Posts: 9 since Sep 2012
Thanks: 4 given, 1 received

Is there a way to add a moving average to any indicator, and still have the indicator on the chart? Such as, for Wilder's RSI, have the RSI plot with the moving average also on the chart, not just the smoothing of the RSI?

I'd liek to be able to add moving averages to various indicators, but have the actual moving average line on the chart and not just have the indicator smoothed. Thanks.

Reply With Quote
 
  #5 (permalink)
Trading Apprentice
Irvine, CA
 
Futures Experience: Beginner
Platform: TOS
Favorite Futures: Stocks
 
Posts: 2 since Sep 2013
Thanks: 0 given, 0 received

try this ..

create a new indicator and just paste this script.. this script assumes RSI length of 14 periods.. and the moving average length of 5 periods.. so the moving average should be the average of the last 5 values of the RSI.. hope this helps ..

declare lower;
input RSILength = 14;
input MALength = 5;
plot RSI = RSIWilder(RSILength);
Plot MA = Average(RSI,MALength);

Reply With Quote
 
  #6 (permalink)
Elite Member
Prospect, KY. USA
 
Futures Experience: None
Platform: Sierra Chart
Broker/Data: Infinity
Favorite Futures: /CL
 
WilleeMac's Avatar
 
Posts: 683 since Jan 2012
Thanks: 301 given, 606 received

@RedK

Thank you for the code

I took your code and added a standard Wilders RSI only for comparison purposes etc

-Bill_M

Attached Files
Register to download File Type: doc Hull_RSIandRSI.doc (30.0 KB, 96 views)
Reply With Quote
 
  #7 (permalink)
Market Wizard
Houston, Texas
 
Futures Experience: Advanced
Platform: NinjaTrader; BloodHound
Broker/Data: NinjaTrader Brokerage, Kinetick, Rithmic
Favorite Futures: ES, CL, 6E, UB, 6J, 6B, ZS
 
Posts: 921 since Oct 2012
Thanks: 672 given, 877 received


Werd View Post
Is there a way to add a moving average to any indicator, and still have the indicator on the chart? Such as, for Wilder's RSI, have the RSI plot with the moving average also on the chart, not just the smoothing of the RSI?

I'd liek to be able to add moving averages to various indicators, but have the actual moving average line on the chart and not just have the indicator smoothed. Thanks.

Yes, I do it in Ninja Trader by just clicking EMA and adding it to chart 2 as an overlay. You can do it that way leaving the input as the crude contract or euro contract or whatever your main price contract is in; or, also you can change the input for the ema overlay to RSI, and then add the double smoothed ema overlay to the RSI indicator in chart 2.

Reply With Quote
 
  #8 (permalink)
Trading Apprentice
Dallas, Texas
 
Futures Experience: Intermediate
Platform: TOS and GAIN Capital
Broker/Data: TD Ameritrade and Gain Capital
Favorite Futures: ES and CL
 
Posts: 35 since Jun 2015
Thanks: 2 given, 14 received


devd12 View Post
create a new indicator and just paste this script.. this script assumes RSI length of 14 periods.. and the moving average length of 5 periods.. so the moving average should be the average of the last 5 values of the RSI.. hope this helps ..

declare lower;
input RSILength = 14;
input MALength = 5;
plot RSI = RSIWilder(RSILength);
Plot MA = Average(RSI,MALength);

What about adding it to another indicator, NOT an RSI?

Reply With Quote

Reply



futures io > > > > How to add a moving average to RSI

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Moving Average sharmas Elite Automated Trading 62 April 9th, 2012 07:44 PM
Moving Average Kush NinjaTrader Programming 5 November 6th, 2011 01:49 PM
Moving average Help yiman NinjaTrader Programming 4 July 29th, 2011 09:03 AM
Moving Average of RSI Blz17 NinjaTrader Programming 6 February 12th, 2011 02:52 PM
New Moving Average arnaudlx The Elite Circle 10 January 28th, 2011 06:15 AM


All times are GMT -4. The time now is 07:41 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-11 in 0.12 seconds with 20 queries on phoenix via your IP 54.226.132.197