Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
The control tree of a ChartControl object
Updated April 11, 2014
Top Posters
looks_one
Mindset
with 2 posts (0 thanks)
looks_two
shodson
with 1 posts (18 thanks)
looks_3
Gabe2004
with 1 posts (0 thanks)
looks_4
kenz987
with 1 posts (1 thanks)
trending_up
4,682 views
thumb_up
21 thanks given
group
8 followers
forum
7 posts
attach_file
2 attachments
The control tree of a ChartControl object
March 24th, 2011, 09:41 PM
OC, California, USA
Quantoholic
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709
Code
=> 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
Elite Membership required to download: fooWinForm.cs
The following 18 users say Thank You to shodson for this post:
alexJetski , Atlatl , Big Mike , bukkan , ganamide , gnassar , gulabv , kashter , kenz987 , max-td , Mindset , redratsal , Silver Dragon , spinnybobo , tukhoai , vvhg , waynem59 , wwwingman
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
March 31st, 2011, 01:48 PM
Houston, TX
Posts: 23 since Apr 2010
Thanks Given: 17
Thanks Received: 5
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.
The following user says Thank You to kenz987 for this post:
March 31st, 2011, 03:02 PM
Daytona Beach
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus/Zen-Fire
Trading: ES
Posts: 54 since May 2010
Thanks Given: 7
Thanks Received: 100
Does this help.
ghoti
The following 2 users say Thank You to ghoti for this post:
January 7th, 2014, 07:44 AM
Singapore
Experience: Intermediate
Platform: NT
Broker: ib
Trading: MES
Posts: 365 since Sep 2009
Thanks Given: 90
Thanks Received: 291
Help required!!
If I wanted to remove the control btnReverse, how would I do it?
I tried
Code
Control.ControlCollection ccol = ChartControl.Controls;
Control ch = ccol["pnlChartTrader"];
if (ch!=null)
{
(ct = ch.Control["ctrChartTraderControl"];
if(ct.Contains("btnReverse"))
{
pnlChartTrader.Controls.Remove(btnReverse);
}
}
January 9th, 2014, 10:55 PM
Sacramento, CA
Experience: Advanced
Platform: NinjaTrader
Broker: NA
Trading: Stocks, Forex
Posts: 64 since Nov 2013
Thanks Given: 14
Thanks Received: 19
Mindset, in regards to your profile photo, yes i wish i had those two buttons ready to go on my keyboard.
January 10th, 2014, 02:02 AM
Singapore
Experience: Intermediate
Platform: NT
Broker: ib
Trading: MES
Posts: 365 since Sep 2009
Thanks Given: 90
Thanks Received: 291
Ericson
I keep searching different keyboards but I can never find those buttons either:-)
I produced a clunky solution to my problem here
April 10th, 2014, 11:11 PM
Toronto, Canada
Posts: 5 since Dec 2009
Thanks Given: 0
Thanks Received: 0
ghoti
How can I replicate the following attachment 35587d1301598042 on my computer?
Thanks
Gabe
Last Updated on April 10, 2014