ChartTrader & Order Button size - width - futures io
futures io futures trading



ChartTrader & Order Button size - width


Discussion in NinjaTrader

Updated by vvhg
      Top Posters
    1. looks_one monpere with 15 posts (28 thanks)
    2. looks_two ThatManFromTexas with 9 posts (18 thanks)
    3. looks_3 futuretrader with 8 posts (0 thanks)
    4. looks_4 lolu with 6 posts (0 thanks)
      Best Posters
    1. looks_one bukkan with 4.3 thanks per post
    2. looks_two ThatManFromTexas with 2.0 thanks per post
    3. looks_3 monpere with 1.9 thanks per post
    4. looks_4 TradingGuy with 1.0 thanks per post
    1. trending_up 15,356 views
    2. thumb_up 65 thanks given
    3. group 24 followers
    1. forum 66 replies
    2. attach_file 6 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Thread Tools Search this Thread
 

ChartTrader & Order Button size - width

  #1 (permalink)
POrtugal
 
 
Posts: 54 since Nov 2009

ChartTrader & Order Button size - width

Hello,

I want to know if some one can modify the chart trader in ninjatrader?
I want to have only a buy - sel and close or flat button. The original chart trader is to big. I need the space for my charts.

Best regards,
Joćo Soares

Reply With Quote

Can you help answer these questions
from other members on futures io?
Convert NinjaTrader NT7 indicator to Tradestation EasyLanguage and RADARSCREEN
Platforms and Indicators
Issue meeting order entry conditions
Elite Automated NinjaTrader Trading
Last 5 minutes Label
ThinkOrSwim
Moving average with Lag reduction
NinjaTrader
Linux?
ThinkOrSwim
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Spoo-nalysis ES e-mini futures S&P 500
279 thanks
Want your NinjaTrader indicator created, free?
49 thanks
VWAP for stock index futures trading?
47 thanks
Is Amp at risk of going under?
36 thanks
What is your single biggest weakness?
32 thanks
 
  #3 (permalink)
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 923 received


hi Joćo,

this is not possible in Ninja as far as i know.

what you can do to get more space is, to "hide" the charttrader (black arrow upper right corner)

and to activate Keyboard- Hot Keys in Ninja for Buy + Sell + Close.
go to : tools > Hot Key Manager > Order Entry ... and set the keys the way you like them.

maybe thats a solution for you.

max-td
Reply With Quote
 
  #4 (permalink)
POrtugal
 
 
Posts: 54 since Nov 2009

I don“t like hot keys so that is not an option for me.
That chart trader is to big.

Reply With Quote
 
  #5 (permalink)
Espoo, Finland
 
 
Posts: 11 since Dec 2010


jsengxx View Post
I don“t like hot keys so that is not an option for me.
That chart trader is to big.

Newer used a chart trader but I think that a normal static super dom is very useful although it wasn't so obvious at first hand.

Reply With Quote
 
  #6 (permalink)
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
 
Trader.Jon's Avatar
 
Posts: 500 since Jul 2009
Thanks: 401 given, 183 received


jsengxx View Post
I don“t like hot keys so that is not an option for me.
That chart trader is to big.

Maybe try a different approach ... monitor with more pixels?

TJ

Writing to you from the wonderful province of Ontario, Canada. Home to the world's biggest natural negative ion generator, the Niagara Falls, and to those that dare to know how to go over it in a barrel. SALUTE!
Reply With Quote
 
  #7 (permalink)
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 266 received

one can easily resize the buttons etc. they are just buttons, and standard windows control isnt it.

 
Code
for (int i = 0;i <= ChartControl.Controls.Count - 1;i++)
            {
               if (ChartControl.Controls[i] == ChartControl.Controls["pnlChartTrader"])
                {
                    Panel p = (Panel)ChartControl.Controls["pnlChartTrader"];
                    
                    for (int j = 0;j <= p.Controls.Count - 1;j++)
                    {
                        if (p.Controls[j] == ChartControl.Controls["pnlChartTrader"].Controls["ctrChartTraderControl"])
                        {
                            Control ctrader = ChartControl.Controls["pnlChartTrader"].Controls["ctrChartTraderControl"];
                            
                            for (int k = 0;k <= ctrader.Controls.Count - 1;k++)
                            {
                                if (ctrader.Controls[k].Name == "btnBuyMarket")
                                {
                                    Button btnMkt = (Button)ctrader.Controls[k];
                                    btnMkt.Width = (int)(btnMkt.Width / 2);
                                }
                             }
                        }
                        
                    }
                }
                
            }
the above code resizes the Buy Market button to half

run the code once. so put it in OnStartUp()

Reply With Quote
The following 11 users say Thank You to bukkan for this post:
 
  #8 (permalink)
Market Wizard
New Orleans, La (Mardi Gras City)
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
 
DavidHP's Avatar
 
Posts: 1,339 since Aug 2009
Thanks: 9,291 given, 2,320 received


bukkan View Post
one can easily resize the buttons etc. they are just buttons, and standard windows control isnt it.
run the code once. so put it in OnStartUp()

I'm getting several errors when putting this in an indicator.
Does it go elsewhere?

Maybe I'm just missing declaring some varibles or additional coding?

Thanks

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
 
  #9 (permalink)
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 266 received

at the top (declaration region) make sure you add

 
Code
using System.Windows.Forms;

Reply With Quote
The following 2 users say Thank You to bukkan for this post:
 
  #10 (permalink)
Market Wizard
New Orleans, La (Mardi Gras City)
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
 
DavidHP's Avatar
 
Posts: 1,339 since Aug 2009
Thanks: 9,291 given, 2,320 received



bukkan View Post
at the top (declaration region) make sure you add

 
Code
using System.Windows.Forms;


Great, that worked.
So using code like this all of the buttons can be made smaller.
Can the entire panel be reduced to match so that it takes less width similar to the buttons?
I imagine there is a way to list all of the controls to do this?

I've asked NT many times for a way to reduce the size of the DOM but each time they say it is not possible.
Perhaps this method would also allow that.


Thanks,

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote



futures io Trading Community Platforms and Indicators NinjaTrader > ChartTrader & Order Button size - width




Upcoming Webinars and Events
 

Understanding Order Flow Stops Runs & Icebergs w/Bookmap

May 28
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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