Color changing candles rsi - NinjaTrader | futures io social day trading
futures io futures trading


Color changing candles rsi
Updated: Views / Replies:2,742 / 10
Created: by dwemini Attachments:3

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

Color changing candles rsi

  #1 (permalink)
Elite Member
Yorktown, VA
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: AMP
Favorite Futures: ES,6E,CL,NG
 
Posts: 6 since Jul 2009
Thanks: 3 given, 4 received

Color changing candles rsi

I would like an indicator to change the color of the candles if they are oversold or overbought.
Thanks for any repaons

Reply With Quote
 
  #2 (permalink)
Elite Member
Houston, Texas
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: futures
 
learning0101's Avatar
 
Posts: 247 since Aug 2011
Thanks: 3,400 given, 185 received


dwemini View Post
I would like an indicator to change the color of the candles if they are oversold or overbought.
Thanks for any repaons

Hi @dwemini
Do a search for gradient

@aligator has done this, and by the way Thank you


Last edited by learning0101; February 12th, 2014 at 07:22 PM. Reason: wanted to add thks
Reply With Quote
 
  #3 (permalink)
Elite Member
Yorktown, VA
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: AMP
Favorite Futures: ES,6E,CL,NG
 
Posts: 6 since Jul 2009
Thanks: 3 given, 4 received

color changing candles


Thanks, yes I did see the gradient color change. I would prefer the candles to change when OBOS.
Thanks

Reply With Quote
The following user says Thank You to dwemini for this post:
 
  #4 (permalink)
Elite Member
Houston, Texas
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: futures
 
learning0101's Avatar
 
Posts: 247 since Aug 2011
Thanks: 3,400 given, 185 received


dwemini View Post
Thanks, yes I did see the gradient color change. I would prefer the candles to change when OBOS.
Thanks

Hi @dwemini, maybe you can use the strategy wizard for what you are trying to do.
I did this and with it. Find attached as a strategy(sorry don't know how to make an indicator out of it)
Maybe one of the generous members here will help you out if it is doing what you want.
I just told the wizard to outline the candles (you can tell it to color the outline, the candle,the bkground, etc) when the RSI was greater than the value of 70.(did not do for undersold)
I am the farthest thing from a coder, just thought would give a shot with the wizard.

Attached Thumbnails
Color changing candles rsi-rsiobos.jpg  
Attached Files
Register to download File Type: zip testrsiOBOS.zip (5.5 KB, 53 views)

Last edited by learning0101; February 12th, 2014 at 08:37 PM. Reason: disclaimer
Reply With Quote
The following 2 users say Thank You to learning0101 for this post:
 
  #5 (permalink)
Market Wizard
Las Vegas, NV
 
Futures Experience: Advanced
Platform: Abacus, Slide Rule, HP-65, Metastock, TOS, NT
Favorite Futures: Futures
 
aligator's Avatar
 
Posts: 3,424 since Aug 2010
Thanks: 1,053 given, 5,822 received
Forum Reputation: Legendary


learning0101 View Post
Hi @dwemini, maybe you can use the strategy wizard for what you are trying to do.
I did this and with it. Find attached as a strategy(sorry don't know how to make an indicator out of it)
Maybe one of the generous members here will help you out if it is doing what you want.
I just told the wizard to outline the candles (you can tell it to color the outline, the candle,the bkground, etc) when the RSI was greater than the value of 70.(did not do for undersold)
I am the farthest thing from a coder, just thought would give a shot with the wizard.

Thank you @learning0101,

There are a bunch of color bar indicators on futures.io (formerly BMT), All one needs do is a search. But I think he wants ready-mix. All one really have to do is to change one line of your code; change "Strategy" to "Indicator " for public class and recompile it.

Cheers!

#region Using declarations
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Xml.Serialization;
using NinjaTrader.Cbi;
using NinjaTrader.Data;
using NinjaTrader.Indicator;
using NinjaTrader.Gui.Chart;
using NinjaTrader.Strategy;
#endregion

// This namespace holds all strategies and is required. Do not change it.
namespace NinjaTrader.Indicator
{
/// <summary>
/// Enter the description of your strategy here
/// </summary>
[Description("Enter the description of your strategy here")]
public class Rsiobos : Indicator
{
#region Variables
// Wizard generated variables
// User defined variables (add any user defined variables below)
#endregion

/// <summary>
/// This method is used to configure the strategy and is called once before any strategy method is called.
/// </summary>
protected override void Initialize()
{

CalculateOnBarClose = true;
}

/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
// Condition set 1
if (RSI(14, 3).Avg[0] >= 75)
{
CandleOutlineColor = Color.DarkBlue;
}
if (RSI(14, 3).Avg[0] <= 25)
{
CandleOutlineColor = Color.DarkRed;
}

}

#region Properties
#endregion
}
}

Reply With Quote
The following 3 users say Thank You to aligator for this post:
 
  #6 (permalink)
Elite Member
Houston, Texas
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: futures
 
learning0101's Avatar
 
Posts: 247 since Aug 2011
Thanks: 3,400 given, 185 received

thanks aligator now you've opened can of worms

LOL Hi @aligator thanks for that little trick. However when I tried to just replace "Strategy" with "Indicator"
got compile error, so opened a regular indicator in editor and copied and pasted this
" NinjaTrader.Indicator.Indicator" and it compiled.(if this was not right way, please shout out)
Really cool, now I know how to create a strategy and then make into indicator. Your tip is much appreciated, you have created a monster-LOL.
Not really I still have no clue but now I can really screw my install up with badly coded indis-Thanks! lol.
On a serious note I really appreciate you chiming in with the "how-to" Thanks-All the best


edit: ok now totally confused I for curiosity copied and pasted your above code and it compiles. Think I am missing something cause when all I did was use the Strategy and edited it and replaced the one word "strategy" with "indicator" it did not work until I used the " NinjaTrader.Indicator.Indicator" in place of "strategy" yet when I used your code all was fine and it compiled. Sorry for rambling guess thinking out loud on paper but for all to see.


Last edited by learning0101; February 13th, 2014 at 08:23 PM. Reason: more thoughts
Reply With Quote
 
  #7 (permalink)
Market Wizard
Las Vegas, NV
 
Futures Experience: Advanced
Platform: Abacus, Slide Rule, HP-65, Metastock, TOS, NT
Favorite Futures: Futures
 
aligator's Avatar
 
Posts: 3,424 since Aug 2010
Thanks: 1,053 given, 5,822 received
Forum Reputation: Legendary


learning0101 View Post
LOL Hi @aligator thanks for that little trick. if this was not right way, please shout out Really cool, now I know how to create a strategy and then make into indicator. Your tip is much appreciated, you have created a monster-LOL....

@learning0101,

Don't be confused, that is the trick Just create a simple strategy and copy the code area (parameters, Initilization, OnBarUpdate, Properties,etc. (but none of the NinjaScript Generated Code) into a new indicator. I do the same, then I just add whatever bells and whistles I want.



learning0101 View Post
Not really I still have no clue but now I can really screw my install up with badly coded indis-Thanks! lol. On a serious note I really appreciate you chiming in with the "how-to" Thanks-All the best

You are more than welcome! Not a monster, just a fisherman now..

Cheers!

Reply With Quote
The following 2 users say Thank You to aligator for this post:
 
  #8 (permalink)
Elite Member
Yorktown, VA
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: AMP
Favorite Futures: ES,6E,CL,NG
 
Posts: 6 since Jul 2009
Thanks: 3 given, 4 received

OBOS indicator

I would like to Thank learing0101 for creating this indicator for me.

Reply With Quote
The following user says Thank You to dwemini for this post:
 
  #9 (permalink)
Elite Member
London + UK
 
Futures Experience: Advanced
Platform: Proprietary Analytics
Broker/Data: Multiple broker + Multiple feed
Favorite Futures: Currently European and US equities
 
sands's Avatar
 
Posts: 432 since Dec 2013
Thanks: 223 given, 205 received

Great post, love that you're having a go at it yourself. You can learn so much from pattern matching and adding functionality..and there are always friendly people to help here.

Good luck

Reply With Quote
 
  #10 (permalink)
Elite Member
Germany
 
Futures Experience: Intermediate
Platform: FlatTrader
Broker/Data: GFT and Interactive Brokers
Favorite Futures: ES, DAX
 
Posts: 531 since Aug 2010
Thanks: 2,121 given, 719 received



dwemini View Post
I would like an indicator to change the color of the candles if they are oversold or overbought.
Thanks for any repaons

Hi @dwemini

Have just noticed this thread today, so Im likely a bit late to the party...

A while back , Ive created an RSI which does what you want and more. You can define up to five levels and color the bars accordingly. It has also options to display arrows and play sound alerts at OB/OS conditions. Im attaching the RSIpaintBarsDeLuxe2 in case you or someone else is interested.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Attached Files
Register to download File Type: zip RSIpaintBarsDeLuxe2.zip (8.1 KB, 113 views)
Reply With Quote
The following 5 users say Thank You to Abde for this post:

Reply



futures io > > > > Color changing candles 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
Color changing stochastic based on slope of K and D Lines. msedlak40 NinjaTrader 11 February 21st, 2014 12:53 PM
EMA changing Color Trend Carl7816 EasyLanguage Programming 3 May 9th, 2013 08:16 PM
Color Gradient for Candles in NinjaTrader aligator NinjaTrader 29 June 18th, 2012 10:54 PM
Stochastics Color Changing wbtrader EasyLanguage Programming 4 August 29th, 2011 01:38 PM
Color changing Regression Line with Paint Bar Gibby NinjaTrader Programming 49 April 23rd, 2010 03:54 PM


All times are GMT -4. The time now is 10:27 PM.

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-10 in 0.14 seconds with 20 queries on phoenix via your IP 54.221.73.186