NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 4 of 4
Search: Posts Made By: matevisky
Forum: NinjaTrader October 23rd, 2014, 02:54 AM
Replies: 3
Views: 1,218
Posted By matevisky
Final solution

Oke, here is the solution. It is looks good:

DateTime instrumentSessionDate = TimeZoneInfo.ConvertTime(Time[0], TimeZoneInfo.Local, Bars.Session.TimeZoneInfo);
Forum: NinjaTrader October 23rd, 2014, 02:43 AM
Replies: 3
Views: 1,218
Posted By matevisky
Hm, this is stupid, but this function only give...

Hm, this is stupid, but this function only give back the date, but not the time... I thought it is converting the Time[0] to session time, but not... make no sense. I will use @Fat Tail approach, as...
Forum: NinjaTrader October 23rd, 2014, 02:18 AM
Replies: 3
Views: 1,218
Posted By matevisky
Dig deeper

Oke sorry. After some more deeper investigation: here is the answer


Print(Bars.GetSessionDateFromLocal(Bars.Session, Time[0]));
Forum: NinjaTrader October 23rd, 2014, 01:59 AM
Replies: 3
Views: 1,218
Posted By matevisky
Getting Time[0] in session template timezone with a supereasy method...?

I am trying to cleanup my code, and make it work in everytimezone. I've checked many forum, about to how to make it simple, but as I see it is not simple, but maybe.
So here is the deal:
I am...
Showing results 1 to 4 of 4

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