NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 2 of 2
Search: Posts Made By: Fat Tails
Forum: NinjaTrader May 20th, 2013, 02:06 PM
Replies: 16
Views: 5,328
Posted By Fat Tails
int or double: timer.TotalSeconds returns a...

int or double:

timer.TotalSeconds returns a double value. There is no need to convert it to int, because you will use it as divisor for Volume[0], which itself contains a double value.

first...
Forum: NinjaTrader May 19th, 2013, 03:13 AM
Replies: 16
Views: 5,328
Posted By Fat Tails
You have not declared the variable totalseconds,...

You have not declared the variable totalseconds, which would be of type double. Also there is a useless DataSeries volpersec, which has not been initialized and not be used so far. Just delete it.
...
Showing results 1 to 2 of 2

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