NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 3 of 3
Search: Posts Made By: pxp333
Forum: NinjaTrader April 1st, 2015, 12:38 AM
Replies: 4
Views: 1,327
Posted By pxp333
Hi gregid, I needed to append .ToString()...

Hi gregid,


I needed to append .ToString() to the pos.Instrument== in your modified statement for it to compile.

I tested it and it works.

Thanks again!
Forum: NinjaTrader March 31st, 2015, 09:34 PM
Replies: 4
Views: 1,327
Posted By pxp333
Hi gregid, I appreciate the reply. I got...

Hi gregid,

I appreciate the reply. I got your code to compile but I didn't test it yet because I also need to discriminate the instrument for example "ES 06-15 Globex".

Would you be able to...
Forum: NinjaTrader March 31st, 2015, 07:17 PM
Replies: 4
Views: 1,327
Posted By pxp333
ninjatrader: strategy accessing of accounts info

Hi All,

I am using this snippet of code in my ninja 7 strategy within OnBarUpdate():

if (!Historical)
{rej.Set(0);
foreach (Account acct in Cbi.Globals.Accounts)
{PositionCollection...
Showing results 1 to 3 of 3

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