NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 3 of 3
Search: Posts Made By: sam028
Forum: NinjaTrader April 26th, 2010, 01:55 PM
Replies: 18
Views: 12,311
Posted By sam028
Sorry, I didn't found any piece of NT code using...

Sorry, I didn't found any piece of NT code using multi dimensional arrays, but if you just need to store the previous swing high/swing low, using two simple variables is enough, something like...
Forum: NinjaTrader April 25th, 2010, 07:25 AM
Replies: 18
Views: 12,311
Posted By sam028
Their are many ways to do this, but the easier is...

Their are many ways to do this, but the easier is maybe to use a multidimensional array, to store the previous swing levels.
Forum: NinjaTrader April 24th, 2010, 04:34 PM
Replies: 18
Views: 12,311
Posted By sam028
If you mean a strategy using the Swing built-in...

If you mean a strategy using the Swing built-in indicator, it's easy, something like:
if (Close[0] > Swing(5).SwingHigh[0]) {
Golong();
etc, etc, ...
}
if (Close[0] < Swing(5).SwingLow[0]) {...
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