NexusFi: Find Your Edge


Home Menu

 





Changing size of chart window with ChartControl in NT


Discussion in NinjaTrader

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




 
Search this Thread
  #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:	259
Size:	45.0 KB
ID:	151105  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
CFTC Rewrites the Rulebook -- Kalshi Cracks $1B Non-Spor …
Prediction Markets & Event Contracts
US Prop Firms Race Inside the CFTC Perimeter -- Tradeify …
Funded Trading Evaluation Firms
The Feds Stagflation Trap -- Negative Payrolls, $91 Oil, …
Traders Hideout
Khamenei Vetoes Uranium Transfer as Peace Odds Surge to …
Prediction Markets & Event Contracts
The Great Rotation -- Small Caps Crushing Tech as Sectio …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


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
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093

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


© 2026 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 - Downloads - Top
no new posts