NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 3 of 3
Search: Posts Made By: Big Mike
Forum: NinjaTrader October 20th, 2009, 10:28 PM
Replies: 13
Views: 4,214
Posted By Big Mike
int just means integer, and _lowbar is a variable...

int just means integer, and _lowbar is a variable name. it could be "int _iamsleepy" etc.

I suggest any C# "for dummies" book to cover basic principles, most of which apply to NinjaTrader...
Forum: NinjaTrader October 20th, 2009, 10:15 PM
Replies: 13
Views: 4,214
Posted By Big Mike
MIN(Low, 60)[0] will return the lowest Low value...

MIN(Low, 60)[0] will return the lowest Low value in the last 60 bars.

int _lowbar = LowestBar(Low, 60); will return the bar number the low was made on.

if (MIN(Low, 60)[0] > EMA(20)[_lowbar]) ...
Forum: NinjaTrader October 14th, 2009, 09:27 PM
Replies: 13
Views: 4,214
Posted By Big Mike
Low[60] is not the low of the last sixty minutes....

Low[60] is not the low of the last sixty minutes. Also, unless you've included something like

if (CurrentBar < 60) return;


Then using Low[60] is going to throw an error anyway for an out of...
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