NexusFi: Find Your Edge


Home Menu

 





Moving the ChartTrader buttons down


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Mindset with 5 posts (0 thanks)
    2. looks_two Otterly with 3 posts (0 thanks)
    3. looks_3 Tasker_182 with 2 posts (0 thanks)
    4. looks_4 ktrader with 2 posts (6 thanks)
    1. trending_up 3,910 views
    2. thumb_up 6 thanks given
    3. group 4 followers
    1. forum 11 posts
    2. attach_file 1 attachments




 
Search this Thread
  #11 (permalink)
 
Mindset's Avatar
 Mindset 
Singapore
 
Experience: Intermediate
Platform: NT
Broker: ib
Trading: MES
Posts: 365 since Sep 2009
Thanks Given: 90
Thanks Received: 291

You're right - I have played with the code and forgot I had changed the CurrentBar == 0 condition.
I'm still trying to figure out how to remove the reverse button on ChartTrader.

Reply With Quote
  #12 (permalink)
 
Mindset's Avatar
 Mindset 
Singapore
 
Experience: Intermediate
Platform: NT
Broker: ib
Trading: MES
Posts: 365 since Sep 2009
Thanks Given: 90
Thanks Received: 291

Well as nobody was able to help I have had to fashion a solution of my own.
It's not pretty but it works..

I simply used the following
 
Code
		for (int i=0;i<cclen;i++) {
		//List controls with [i] number
		//	Print(i.ToString() + "  " +ct.Controls[i].Name);
		if( i >1 && i < 6)
		ct.Controls[i].Visible = false;
		if( i >10 && i < 14)
		ct.Controls[i].Visible = false;
		if( i ==19)
		ct.Controls[i].Visible = false;
		if( i >24)
		ct.Controls[i].Visible = false;
		}
Ideally I wanted to remove the Controls altogether but I just couldn't get that to work

Reply With Quote




Last Updated on January 9, 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