NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 5 of 5
Search: Posts Made By: Mindset
Forum: NinjaTrader January 9th, 2014, 10:34 AM
Replies: 11
Views: 3,773
Posted By Mindset
Clunky solution

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

for (int i=0;i<cclen;i++) {
//List controls with [i]...
Forum: NinjaTrader January 9th, 2014, 04:40 AM
Replies: 11
Views: 3,773
Posted By Mindset
You're right - I have played with the code and...

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. :peep:
Forum: NinjaTrader January 8th, 2014, 03:37 AM
Replies: 11
Views: 3,773
Posted By Mindset
On start up

An alternative is just to use a bool

so...

If(init)
{execute code
set init to false
end code}
Forum: NinjaTrader January 7th, 2014, 06:55 AM
Replies: 11
Views: 3,773
Posted By Mindset
Solution

My Bad


foreach(Control control in ct.Controls)
{
Print (control.Name);
}
Forum: NinjaTrader January 7th, 2014, 06:31 AM
Replies: 11
Views: 3,773
Posted By Mindset
Enumerate chart trader buttons

ktrader
Nice coding. I thought I could enumerate all the buttons in the Chart Trader Container by
Print(ct.Control[i].Name);

but this doesn't produce anything. Any ideas of how to do this?
Showing results 1 to 5 of 5

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 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