BarColor Opacity - NinjaTrader Programming | futures io social day trading
futures io futures trading


BarColor Opacity
Updated: Views / Replies:677 / 7
Created: by KrazyTrader 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 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
 

BarColor Opacity

  #1 (permalink)
Elite Member
Dallas, TX/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES, CL
 
Posts: 46 since Aug 2013
Thanks: 52 given, 6 received

BarColor Opacity

Hi all,

I'm new to programming and could use some help. I have bars set to paint and need to add opacity.

If EMA > SMA
BarColor = Color.Green;

All feedback welcome.

Thanks in advance

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
Texas, USA
 
Futures Experience: Intermediate
Platform: X_TRADER Pro, Custom
Broker/Data: NxCore
Favorite Futures: Futures, Spreads
 
Hulk's Avatar
 
Posts: 215 since May 2014
Thanks: 509 given, 474 received



KrazyTrader View Post
Hi all,

I'm new to programming and could use some help. I have bars set to paint and need to add opacity.

If EMA > SMA
BarColor = Color.Green;

All feedback welcome.

Thanks in advance

You can use something like the following. Set the alpha value from 0 to 255 with 0 being transparent and 255 being fully opaque.

 
Code
Color.FromArgb(150, Color.Green);

Reply With Quote
The following user says Thank You to Hulk for this post:
 
  #4 (permalink)
Elite Member
Dallas, TX/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES, CL
 
Posts: 46 since Aug 2013
Thanks: 52 given, 6 received


Hulk View Post
You can use something like the following. Set the alpha value from 0 to 255 with 0 being transparent and 255 being fully opaque.

 
Code
Color.FromArgb(150, Color.Green);


You lost me on the alpha reference.

Thanks for the response.

Reply With Quote
The following user says Thank You to KrazyTrader for this post:
 
  #5 (permalink)
Elite Member
Texas, USA
 
Futures Experience: Intermediate
Platform: X_TRADER Pro, Custom
Broker/Data: NxCore
Favorite Futures: Futures, Spreads
 
Hulk's Avatar
 
Posts: 215 since May 2014
Thanks: 509 given, 474 received


KrazyTrader View Post
You lost me on the alpha reference.

Thanks for the response.

Maybe the reference doc for Color.Argb method will help:

https://msdn.microsoft.com/query/dev10.query?appId=Dev10IDEF1&l=EN-US&k=k(SYSTEM...(DevLang-CSHARP)&rd=true

Reply With Quote
The following user says Thank You to Hulk for this post:
 
  #6 (permalink)
Market Wizard
Houston, TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Optimus Futures
Favorite Futures: 6E
 
TheWizard's Avatar
 
Posts: 1,711 since Jun 2009
Thanks: 509 given, 4,072 received


KrazyTrader View Post
Hi all,

I'm new to programming and could use some help. I have bars set to paint and need to add opacity.

If EMA > SMA
BarColor = Color.Green;

All feedback welcome.

Thanks in advance


Reply to this message, attach the indicator and I'll happily add the bar coloring for you, with notation so that you can see what I've done, where and why.

After all, it's what you learn AFTER you know it all, that counts!
Reply With Quote
The following 2 users say Thank You to TheWizard for this post:
 
  #7 (permalink)
Elite Member
Dallas, TX/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES, CL
 
Posts: 46 since Aug 2013
Thanks: 52 given, 6 received

Thanks so much.

Attached Files
Register to download File Type: cs McXv1.cs (5.4 KB, 9 views)
Reply With Quote
 
  #8 (permalink)
Market Wizard
Houston, TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Optimus Futures
Favorite Futures: 6E
 
TheWizard's Avatar
 
Posts: 1,711 since Jun 2009
Thanks: 509 given, 4,072 received


KrazyTrader View Post
Thanks so much.

@KrazyTrader, First - before we get too involved, here. I think there already exists something that will do everything you might possibly want. It's an indicator posted by That Man From Texas (now, sadly, no longer with us) that allows you to:

choose 2 MA's
color each MA individually
shade the zone between the 2 ma's, if you desire
color the up bars & down bars, if you desire
change the candlestick outline colors, both up & down, if you desire
color the background of the price panel, if you desire

It does NOT have a sound option, but that could most likely be easily added, if needed.

Try it out & see if this does what you want. If not, we can go back to the drawing board & start fresh with your McXv1.

As I've gotten older, I've realized that I spent a lot of my earlier years reinventing a lot of stuff that didn't need to be reinvented. Just wanted to avoid another instance of doing the same.

Let me know if this does everything you wanted the indicator to do. We can go from there.

I see you're an ELITE member and this thread is not ELITE, so I'm sending you the indicator via Private message, as the TMFTDualMa may be an ELITE indicator.

After all, it's what you learn AFTER you know it all, that counts!

Last edited by TheWizard; May 24th, 2015 at 11:06 AM.
Reply With Quote
The following user says Thank You to TheWizard for this post:

Reply



futures io > > > > > BarColor Opacity

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
Asking for help with special Fibonacci opacity setting, thanks if someone can help. hector24 NinjaTrader 2 June 23rd, 2012 04:26 PM


All times are GMT -4. The time now is 06:07 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-12 in 0.10 seconds with 20 queries on phoenix via your IP 54.167.44.32