NexusFi: Find Your Edge


Home Menu

 





RBG Colors


Discussion in Traders Hideout

Updated
    1. trending_up 3,249 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

RBG Colors

  #1 (permalink)
 
trs3042's Avatar
 trs3042 
Holland, Michigan
 
Experience: None
Platform: ninjatrader
Broker: CQG
Trading: Acoustic Guitar
Posts: 1,617 since Jun 2009
Thanks Given: 23,764
Thanks Received: 5,616

Hello,

Could someone please tell me how to put a RBG color such as 192,0,0 (instead of plain red) into a NT7 indie code. Please be descriptive as I have very little coding knowledge.

TIA

Rick

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Quant vue
Trading Reviews and Vendors
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
Better Renko Gaps
The Elite Circle
 
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103



trs3042 View Post
Hello,

Could someone please tell me how to put a RBG color such as 192,0,0 (instead of plain red) into a NT7 indie code. Please be descriptive as I have very little coding knowledge.

TIA

Rick

Try

 
Code
Color sampleColor = Color.FromArgb (int red, int green, int blue);

Reply With Quote
Thanked by:
  #4 (permalink)
 
trs3042's Avatar
 trs3042 
Holland, Michigan
 
Experience: None
Platform: ninjatrader
Broker: CQG
Trading: Acoustic Guitar
Posts: 1,617 since Jun 2009
Thanks Given: 23,764
Thanks Received: 5,616


Fat Tails View Post
Try

 
Code
Color sampleColor = Color.FromArgb (int red, int green, int blue);


That did it. Thanks Fat Tails!!!

Rick

Started this thread Reply With Quote




Last Updated on November 3, 2010


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts