NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 4 of 4
Search: Posts Made By: kandlekid
Forum: NinjaTrader September 26th, 2010, 11:19 PM
Replies: 13
Views: 8,520
Posted By kandlekid
// You instantiated SampleMACrossOver here (i.e....

// You instantiated SampleMACrossOver here (i.e. you created the strategy).

cStrat = new SampleMACrossOver();


// Here you want to call a member function (method) of SampleMACrossOver().
...
Forum: NinjaTrader September 26th, 2010, 12:46 AM
Replies: 13
Views: 8,520
Posted By kandlekid
Hi zwentz, I just realized that there are 2...

Hi zwentz,

I just realized that there are 2 threads here, yours and MXASJ's.

The NT 7 doc says that Initialize is called once upon starting a strat.
So I guess you have to determine if the...
Forum: NinjaTrader September 24th, 2010, 10:15 PM
Replies: 13
Views: 8,520
Posted By kandlekid
> Your CalledStrat is any strat as long as...

> Your CalledStrat is any strat as long as enabled=true, and your CallingStrat invokes the CalledStrat as a method???

You're invoking the constructor of the strategy. So it has to be the same...
Forum: NinjaTrader September 24th, 2010, 09:20 PM
Replies: 13
Views: 8,520
Posted By kandlekid
Yes, here's how I did it (for example) ... sorry...

Yes, here's how I did it (for example) ... sorry about the formatting ....

Instantiating a strategy from another strategy ...


CalledStrategy.cs
-----------------

// Called strategy (i.e....
Showing results 1 to 4 of 4

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