NexusFi: Find Your Edge


Home Menu

 





Changing size of chart window with ChartControl in NT


Discussion in NinjaTrader

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




 
Search this Thread

Changing size of chart window with ChartControl in NT

  #1 (permalink)
 
AlBundy's Avatar
 AlBundy 
Vienna Austria
 
Experience: Advanced
Platform: NinjaTrader
Trading: Forex
Posts: 25 since Jun 2013
Thanks Given: 10
Thanks Received: 12

Hi,

does somebody know how the size of the chart window can be programmatically resized with the ChartControl object?

What I want to do:
I want te reduce the width of the chart window in order to get on the right side a "Strip" of about 200 pixels [I have a high resolution] in which I can write my own information regarding the symbol, my own indicators and so on.

Attached I send a screen shot where I describe more or less what I want to achieve:
  1. The chart window is reduced
  2. Also the label for the rates
  3. on the right is a yellow window which is embedded in the whole NT window

Thank you community for your help!

Attached Thumbnails
Click image for larger version

Name:	NT Chart Window embedding.png
Views:	183
Size:	45.0 KB
ID:	151105  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
Cheap historycal L1 data for stocks
Stocks and ETFs
Quant vue
Trading Reviews and Vendors
 
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


my hunch is you can recycle some of the code from this

Reply With Quote
Thanked by:
  #4 (permalink)
 
AlBundy's Avatar
 AlBundy 
Vienna Austria
 
Experience: Advanced
Platform: NinjaTrader
Trading: Forex
Posts: 25 since Jun 2013
Thanks Given: 10
Thanks Received: 12

Thank you for the link. I have now this problem: I can compile it without any error but the indicator does not appear in the indicator list when I want to attach it to the chart.

Thank you!

Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090

restart ninja then look for it

Reply With Quote
  #6 (permalink)
 
AlBundy's Avatar
 AlBundy 
Vienna Austria
 
Experience: Advanced
Platform: NinjaTrader
Trading: Forex
Posts: 25 since Jun 2013
Thanks Given: 10
Thanks Received: 12

Thank you very much cory. I tried the Splitter and it was exactly what I need. Instead of Splitter I will use probably "Panel".

Again thank you! I was thinking too complicated - not that much experience with C# containers...

Best Regards!

Started this thread Reply With Quote




Last Updated on July 17, 2014


© 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