how do i change RSI 50 line to Zero - NinjaTrader | futures io social day trading
futures io futures trading


how do i change RSI 50 line to Zero
Updated: Views / Replies:4,871 / 24
Created: by ceramictilepro Attachments:6

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
 6  
 
Thread Tools Search this Thread
 

how do i change RSI 50 line to Zero

  #1 (permalink)
Elite Member
Roseville CA
 
Futures Experience: Advanced
Platform: N7
Broker/Data: Amp Futures/CQG
Favorite Futures: ES
 
Posts: 124 since Jun 2009
Thanks: 32 given, 19 received

how do i change RSI 50 line to Zero

using NT7:
how do i change values in the RSI? specifically looking to change the 50 line to 0.
thank for any help with this!

 
Code
protected override void OnBarUpdate()
  {
   if (CurrentBar == 0)
   {
    down.Set(0);
    up.Set(0);
    return;
   }
   down.Set(Math.Max(Input[1] - Input[0], 0));
   up.Set(Math.Max(Input[0] - Input[1], 0));
   if ((CurrentBar + 1) < Period) 
   {
    if ((CurrentBar + 1) == (Period - 1))
     Avg.Set(50);
    return;
   }
   if ((CurrentBar + 1) == Period) 
   {
    // First averages 
    avgDown.Set(SMA(down, Period)[0]);
    avgUp.Set(SMA(up, Period)[0]);
   }  
   else 
   {
    // Rest of averages are smoothed
    avgDown.Set((avgDown[1] * (Period - 1) + down[0]) / Period);
    avgUp.Set((avgUp[1] * (Period - 1) + up[0]) / Period);
   }
   double rs   = avgUp[0] / (avgDown[0] == 0 ? 1 : avgDown[0]);
   double rsi   = 100 - (100 / (1 + rs));
   double rsiAvg = (2.0 / (1 + Smooth)) * rsi + (1 - (2.0 / (1 + Smooth))) * Avg[1];
   Avg.Set(rsiAvg);
   Value.Set(rsi);
  }

Attached Thumbnails
how do i change RSI 50 line to Zero-rsi_modified.png  
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Chicago
 
Futures Experience: Advanced
Platform: NinjaTrader, MT4, TS
 
Posts: 6 since Mar 2010
Thanks: 3 given, 1 received



ceramictilepro View Post
using NT7:
how do i change values in the RSI? specifically looking to change the 50 line to 0.
thank for any help with this!

In NT, the "Add(new Line" statement is what you want to change...and it's found in the Initialize() method.
It will look like this:

 
Code
            Add(new Line(System.Drawing.Color.DarkViolet, 30, "Lower"));
            Add(new Line(System.Drawing.Color.YellowGreen, 70, "Upper"));
Naturally, if you find one that has a "50", you'd either delete the line, or change the 50 to 0.

Reply With Quote
 
  #4 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


ceramictilepro View Post
using NT7:
how do i change values in the RSI? specifically looking to change the 50 line to 0.
thank for any help with this!

Does that mean that you are looking for an oscillator that oscillates around zero and has negative and positive values?

Or do you simply want to shift that line?

Reply With Quote
 
  #5 (permalink)
Elite Member
Roseville CA
 
Futures Experience: Advanced
Platform: N7
Broker/Data: Amp Futures/CQG
Favorite Futures: ES
 
Posts: 124 since Jun 2009
Thanks: 32 given, 19 received

clarification


Fat Tails View Post
Does that mean that you are looking for an oscillator that oscillates around zero and has negative and positive values?

Or do you simply want to shift that line?

sorry for the confusion...

yes that is correct Fat Tails, i would like to replace the 50 line to 0 which would make positive and negative values.

hope that makes sense and thx!

Reply With Quote
 
  #6 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


ceramictilepro View Post
sorry for the confusion...

yes that is correct Fat Tails, i would like to replace the 50 line to 0 which would make positive and negative values.

hope that makes sense and thx!


Here you are.

Attached Thumbnails
how do i change RSI 50 line to Zero-es-03-11-5-min-14_01_2011.jpg  
Attached Files
Register to download File Type: zip RSICeramictilePro.zip (4.0 KB, 46 views)

Last edited by Fat Tails; January 14th, 2011 at 07:23 PM.
Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:
 
  #7 (permalink)
Elite Member
Roseville CA
 
Futures Experience: Advanced
Platform: N7
Broker/Data: Amp Futures/CQG
Favorite Futures: ES
 
Posts: 124 since Jun 2009
Thanks: 32 given, 19 received

thank you

hey fat tails. thank you!

could you take a look at the pic and tell me if there is a way to have the indicator you built on panel 3 match the indicator on panel 2 as far as the readings go?

it looks like yours is exactly one half of panel 2's reading.

thanks so much!

if you can figure out what the heck the dotted line is on panel one, that would be cool too. i was lucky enough to figure out that the solid line is a rsi

Attached Thumbnails
how do i change RSI 50 line to Zero-rsi_modified_fat_tails.png  
Reply With Quote
 
  #8 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


ceramictilepro View Post
hey fat tails. thank you!

could you take a look at the pic and tell me if there is a way to have the indicator you built on panel 3 match the indicator on panel 2 as far as the readings go?

it looks like yours is exactly one half of panel 2's reading.

thanks so much!

if you can figure out what the heck the dotted line is on panel one, that would be cool too. i was lucky enough to figure out that the solid line is a rsi

I have changed the indicator and divided its vertical scale by 2. You need to download it again.

The dotted line looks like a moving average, can you show more of the chart?

Reply With Quote
 
  #9 (permalink)
Elite Member
Roseville CA
 
Futures Experience: Advanced
Platform: N7
Broker/Data: Amp Futures/CQG
Favorite Futures: ES
 
Posts: 124 since Jun 2009
Thanks: 32 given, 19 received

wow, you are awesome!


Fat Tails View Post
I have changed the indicator and divided its vertical scale by 2. You need to download it again.

The dotted line looks like a moving average, can you show more of the chart?

how is this?

Attached Thumbnails
how do i change RSI 50 line to Zero-rsi_modified_fat_tails_2.png  
Reply With Quote
 
  #10 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary



ceramictilepro View Post
how is this?

Just try different moving averages, start with EMA and SMA, it is nothing special.

Reply With Quote

Reply



futures io > > > > how do i change RSI 50 line to Zero

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Color change in an indicator line macro NinjaTrader Programming 9 March 16th, 2012 06:12 PM
Coin flips to reach 50-50 distribution aligator Traders Hideout 7 April 5th, 2011 05:08 PM
RSI Edge? gever17 NinjaTrader 5 March 23rd, 2011 06:48 PM
RSI Strategy Dienewk NinjaTrader Programming 6 December 9th, 2010 10:12 AM
ADX color line change in DM Indicator Joshua 1 vs 8 NinjaTrader Programming 30 October 31st, 2010 04:10 PM


All times are GMT -4. The time now is 03:34 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-16 in 0.14 seconds with 38 queries on phoenix via your IP 54.196.201.241