NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 3 of 3
Search: Posts Made By: rleplae
Forum: NinjaTrader October 27th, 2017, 09:53 AM
Replies: 7
Views: 1,263
Posted By rleplae
Then you don't need static. Static would be if...

Then you don't need static.
Static would be if you want a central place to hold something that you can refer to from, from different places
Forum: NinjaTrader October 27th, 2017, 08:24 AM
Replies: 7
Views: 1,263
Posted By rleplae
If you create the list as a static, you are...

If you create the list as a static, you are referring to the same memory in all
indicators/strategies that call it.. (google c# static for class, members .. it will
be explained in more detail
...
Forum: NinjaTrader October 27th, 2017, 01:40 AM
Replies: 7
Views: 1,263
Posted By rleplae
Your problem is due to the fact you create it as...

Your problem is due to the fact you create it as a static, static means it has no instantiation
and it's shared across multiple, making different strategies overwrite the same object.


Try this...
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