Paint bars - NinjaTrader Programming | futures io social day trading
futures io futures trading


Paint bars
Updated: Views / Replies:540 / 5
Created: by manlinden Attachments:4

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
 

Paint bars

  #1 (permalink)
Elite Member
Brussels Belgium
 
Futures Experience: Intermediate
Platform: Ninjatrader
Favorite Futures: es
 
Posts: 4 since Feb 2012
Thanks: 7 given, 0 received

Paint bars

Hi ,

I 'm new with NT programming.

I m using a SMI and Sinewave indicator on the Tos platform and trying to do the simular with NT.

Im looking to insert a paintbar fututre in the 2 indicators for NT I found and downloaded.

Can somebody help me ?
Thanks alot.

Attached Files
Register to download File Type: cs SMI.cs (7.4 KB, 5 views)
Register to download File Type: cs HilbertSW.cs (13.1 KB, 3 views)
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)
Market Wizard
virginia
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,220 since Jun 2009
Thanks: 628 given, 6,318 received
Forum Reputation: Legendary



manlinden View Post
Hi ,

I 'm new with NT programming.

I m using a SMI and Sinewave indicator on the Tos platform and trying to do the simular with NT.

Im looking to insert a paintbar fututre in the 2 indicators for NT I found and downloaded.

Can somebody help me ?
Thanks alot.

"insert a paintbar fututre" ? any picture?

Reply With Quote
 
  #4 (permalink)
Elite Member
Brussels Belgium
 
Futures Experience: Intermediate
Platform: Ninjatrader
Favorite Futures: es
 
Posts: 4 since Feb 2012
Thanks: 7 given, 0 received

Cory ,

Thanks for the reply.

I m looking for a paintbar future who changes the colour of the bars whenever the fast and the slow line of the SMI crosses.

Looking for the same future on the Sine Wave indicator when the Lead Wave and the Sine Wave crosses.

I added pictures.

Thanks.

Attached Thumbnails
Paint bars-smi.png   Paint bars-sine-wave.png  
Reply With Quote
 
  #5 (permalink)
Elite Member
Kuala Lumpur + Malaysia
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Interactive Brokers
Favorite Futures: ES
 
Posts: 26 since Aug 2012
Thanks: 13 given, 9 received

You can use code similar to the following in your indicators to colour bars, in case you were wondering how this is done:
 
Code
if (Input[0] > 0)
{
	CandleOutlineColor 	= Color.DarkGreen;
	BarColor 		= Color.DarkGreen;
}
else if (Input[0] < 0)
{
	CandleOutlineColor 	= Color.Firebrick;
	BarColor 		= Color.Firebrick;
}

Just change the if conditions to match what you need, and the colors as well, so for your first example it would be something like this (not exactly this since you would need to declare SMI and I'm not sure if the plots are called Fast or Slow):
 
Code
if (SMI.Fast[0] > SMI.Slow[0])
{
	CandleOutlineColor 	= Color.DarkGreen;
	BarColor 		= Color.DarkGreen;
}
else if (SMI.Fast[0] < SMI.Slow[0])
{
	CandleOutlineColor 	= Color.Firebrick;
	BarColor 		= Color.Firebrick;
}

To change the colour of indicator plots, use:
 
Code
PlotColors[0][0] = Color.DarkGreen;


Last edited by wuileng; June 29th, 2014 at 09:56 PM. Reason: Added stuff.
Reply With Quote
 
  #6 (permalink)
Elite Member
Brussels Belgium
 
Futures Experience: Intermediate
Platform: Ninjatrader
Favorite Futures: es
 
Posts: 4 since Feb 2012
Thanks: 7 given, 0 received

Hi Wuileng,

Thank you for the suggestion . I ll give it a try and let you know if its works.

cheers

Reply With Quote

Reply



futures io > > > > > Paint bars

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
Do Renko bars re-paint in NT? pilotui The Elite Circle 3 March 27th, 2014 04:12 PM
Paint inside of bars possible? ceramictilepro NinjaTrader Programming 2 December 10th, 2013 12:47 AM
TrendBars (TrendBars2) paint bars Big Mike The Elite Circle 20 March 17th, 2012 04:08 PM
Paint Bars with Volatility Stop indicator steve2222 NinjaTrader Programming 24 August 28th, 2010 05:35 AM
Paint Bars for Trend Trading hondo69 The Elite Circle 12 December 13th, 2009 06:54 AM


All times are GMT -4. The time now is 05:08 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-18 in 0.10 seconds with 20 queries on phoenix via your IP 23.22.136.56