NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 2 of 2
Search: Posts Made By: bukkan
Forum: NinjaTrader August 12th, 2010, 11:37 PM
Replies: 5
Views: 2,169
Posted By bukkan
ToTime(Time[0]) returns an integer. like if...

ToTime(Time[0]) returns an integer. like if Time[0] equals 8:30 AM then the int value will be 83000

whenever the condition is fulfilled (i.e. ToTime(Time[0]) == 83000) you do your stuff (place...
Forum: NinjaTrader August 12th, 2010, 01:25 AM
Replies: 5
Views: 2,169
Posted By bukkan
you can try something like this. in the...

you can try something like this.

in the variables put this

private int timeint = 83000; //8:30AM


and this stuff in OnBarUpdate

if (ToTime(Time[0]) == timeint)
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