The control tree of a ChartControl object - NinjaTrader Programming | futures io social day trading
futures io futures trading

The control tree of a ChartControl object
Updated: Views / Replies:3,235 / 7
Created: by shodson Attachments:2

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

Thread Tools Search this Thread

The control tree of a ChartControl object

  #1 (permalink)
OC, California, USA
Futures Experience: Advanced
Platform: IB/TWS, NinjaTrader, thinkorswim
Favorite Futures: stocks, options, futures, VIX
shodson's Avatar
Posts: 1,868 since Jun 2009
Thanks: 484 given, 3,283 received

The control tree of a ChartControl object

=> chartControl :: NinjaTrader.Gui.Chart.ChartControl
   => pnlChart :: NinjaTrader.Gui.Chart.ChartCanvas, BorderStyle: System.Windows.Forms.BorderStyle.None
      => QuantitySelector :: NinjaTrader.Gui.SuperDom.QuantitySelector
         => btnAccept :: System.Windows.Forms.Button, Text: 
         => btnCancel :: System.Windows.Forms.Button, Text: X
         => numericUpDown1 :: NinjaTrader.Gui.QuantityUpDown, Minimum = 0, Maximum = 1000000000
            =>  :: System.Windows.Forms.UpDownBase+UpDownButtons
            =>  :: System.Windows.Forms.UpDownBase+UpDownEdit, Text: 3
   => scrChart :: System.Windows.Forms.HScrollBar, Minimum: 0, Maximum: 343, Value: 270
   => pnlChartTrader :: System.Windows.Forms.Panel, BorderStyle: System.Windows.Forms.BorderStyle.Fixed3D
      => ctrChartTraderControl :: NinjaTrader.Gui.Chart.ChartTraderControl
         => lblSimOrder :: System.Windows.Forms.Label, Text: so
         => lblOco :: System.Windows.Forms.Label, Text: oco
         => lblBidVolume :: System.Windows.Forms.Label, Text: 12
         => lblAskVolume :: System.Windows.Forms.Label, Text: 58
         => lblBidPrice :: System.Windows.Forms.Label, Text: B: 1.4085
         => lblAskPrice :: System.Windows.Forms.Label, Text: A: 1.4086
         => btnChartTraderVisible :: System.Windows.Forms.Button, Text: 
         => label6 :: System.Windows.Forms.Label, Text: Qty
         => nudQuantity :: NinjaTrader.Gui.QuantityUpDown, Minimum = 1, Maximum = 1000000000
            =>  :: System.Windows.Forms.UpDownBase+UpDownButtons
            =>  :: System.Windows.Forms.UpDownBase+UpDownEdit, Text: 1
         => label5 :: System.Windows.Forms.Label, Text: Account
         => cboAccount :: System.Windows.Forms.ComboBox, Items.Count: 2
         => btnSelectStrategy :: System.Windows.Forms.Button, Text: ...
         => cboStrategy :: System.Windows.Forms.ComboBox, Items.Count: 4
         => label4 :: System.Windows.Forms.Label, Text:     ATM Strategy
         => lblProfitLoss :: System.Windows.Forms.Label, Text: PnL
         => lblAverageEntry :: System.Windows.Forms.Label, Text: ENTRY
         => grpOrderEntryMode :: System.Windows.Forms.GroupBox, Text: Order Entry Mode
            => rdbAlwaysSell :: System.Windows.Forms.RadioButton, Checked: False
            => rdbAlwaysBuy :: System.Windows.Forms.RadioButton, Checked: False
            => rdbDynamic :: System.Windows.Forms.RadioButton, Checked: True
         => lblPosition :: System.Windows.Forms.Label, Text: FLAT
         => chkDirectChartEntry :: System.Windows.Forms.CheckBox, CheckState: 0
         => btnReverse :: System.Windows.Forms.Button, Text: REV
         => btnClose :: System.Windows.Forms.Button, Text: CLOSE
         => btnSellBid :: System.Windows.Forms.Button, Text: SELL BID
         => btnBuyBid :: System.Windows.Forms.Button, Text: BUY BID
         => btnSellAsk :: System.Windows.Forms.Button, Text: SELL ASK
         => btnBuyAsk :: System.Windows.Forms.Button, Text: BUY ASK
         => btnSellMarket :: System.Windows.Forms.Button, Text: SELL MARKET
         => btnBuyMarket :: System.Windows.Forms.Button, Text: BUY MARKET
   => tsrTool :: System.Windows.Forms.ToolStrip, Name: tsrTool, Items: 17
   =>  :: System.Windows.Forms.Panel, BorderStyle: System.Windows.Forms.BorderStyle.None
      =>  :: System.Windows.Forms.Button, Text: Button 1
      =>  :: System.Windows.Forms.Button, Text: Button 2

Attached Files
Register to download File Type: cs fooWinForm.cs (1.2 KB, 209 views)

Last edited by shodson; March 28th, 2011 at 11:25 AM.
Reply With Quote
The following 18 users say Thank You to shodson for this post:
  #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)
Just starting out...
Houston, TX
Futures Experience: Intermediate
Platform: Ninja, MetaTrader
Broker/Data: IB
Favorite Futures: EUR/USD 6E
Posts: 23 since Apr 2010
Thanks: 16 given, 5 received

y-axis panel

Hey shodson, Thanks for that. Could you modify it to show the detail of the y-axis panel "Chart Panel Properties" area - horizontal grid settings etc.

Reply With Quote
The following user says Thank You to kenz987 for this post:
  #4 (permalink)
Elite Member
Daytona Beach
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: ES
Posts: 54 since May 2010
Thanks: 2 given, 100 received

Does this help.


Attached Thumbnails
The control tree of a ChartControl object-chartcontrol.jpg  
Reply With Quote
The following 2 users say Thank You to ghoti for this post:
  #5 (permalink)
Elite Member
Futures Experience: Intermediate
Platform: NT
Broker/Data: ib
Favorite Futures: Electric Guitar
Mindset's Avatar
Posts: 355 since Sep 2009
Thanks: 88 given, 285 received

Remove Control

Help required!!

If I wanted to remove the control btnReverse, how would I do it?

I tried
		Control.ControlCollection ccol = ChartControl.Controls;	
		 Control ch = ccol["pnlChartTrader"];
				if (ch!=null) 
(ct = ch.Control["ctrChartTraderControl"];

Reply With Quote
  #6 (permalink)
Winning Is What I do
Sacramento, CA
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NA
Favorite Futures: Stocks, Forex
Posts: 64 since Nov 2013
Thanks: 14 given, 18 received

Mindset, in regards to your profile photo, yes i wish i had those two buttons ready to go on my keyboard.

Reply With Quote
  #7 (permalink)
Elite Member
Futures Experience: Intermediate
Platform: NT
Broker/Data: ib
Favorite Futures: Electric Guitar
Mindset's Avatar
Posts: 355 since Sep 2009
Thanks: 88 given, 285 received


I keep searching different keyboards but I can never find those buttons either:-)

I produced a clunky solution to my problem here

Reply With Quote
  #8 (permalink)
Trading Apprentice
Toronto, Canada
Futures Experience: Intermediate
Platform: NinjaTrader
Posts: 5 since Dec 2009
Thanks: 0 given, 0 received

ghoti View Post
Does this help.


How can I replicate the following attachment 35587d1301598042 on my computer?



Reply With Quote


futures io > > > > > The control tree of a ChartControl object

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
GoTo Bar ChartControl decs0057 NinjaTrader Programming 5 February 17th, 2015 01:46 PM
Error: Object reference not set to an instance of an object. gomad NinjaTrader Programming 11 December 22nd, 2014 08:09 AM
ChartControl Documentation ThatManFromTexas NinjaTrader Programming 3 May 11th, 2011 05:53 PM
need help :: cant fix :: Object reference not set to an instance of an object Trader.Jon NinjaTrader Programming 9 November 3rd, 2010 10:55 AM
Keep Watering Your Bamboo Tree soumi71 Psychology and Money Management 4 February 22nd, 2010 09:26 PM

All times are GMT -4. The time now is 12:08 PM.

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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 2018-05-22 in 0.11 seconds with 20 queries on phoenix via your IP