NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 9 of 9
Search: Posts Made By: patbateman
Forum: NinjaTrader April 21st, 2012, 02:10 PM
Replies: 20
Views: 8,112
Posted By patbateman
I'll try that right now, thanks allot for sharing...

I'll try that right now, thanks allot for sharing -

are the print statements required? I have not been using them, but maybe it's required and that's what I've been missing all along...
Forum: NinjaTrader April 21st, 2012, 11:40 AM
Replies: 20
Views: 8,112
Posted By patbateman
I had picked up on that error (this code is...

I had picked up on that error (this code is sample code I wrote for NT btw) two days ago here - NinjaTrader Support Forum - View Single Post - Time of day?...
Forum: NinjaTrader April 20th, 2012, 07:32 PM
Replies: 20
Views: 8,112
Posted By patbateman
I've been a supporter of Ninjatrader, and have...

I've been a supporter of Ninjatrader, and have persuaded friends to go with it over other retail platforms... there is a bug in this however. Let me know which code is dirty - unless if you're...
Forum: NinjaTrader April 20th, 2012, 02:20 PM
Replies: 20
Views: 8,112
Posted By patbateman
No it wasn't... that error was in a sample code,...

No it wasn't... that error was in a sample code, and I mentinoed the fix in the post before.

I was going to make another post on your forum (NT support), but I gave up. However here is what I...
Forum: NinjaTrader April 19th, 2012, 07:03 PM
Replies: 20
Views: 8,112
Posted By patbateman
Also one quick update... to be clear, I'm trying...

Also one quick update... to be clear, I'm trying to get the strategy to execute only during certain times of days. Maybe this function isn't what this is for...:confused:
Forum: NinjaTrader April 19th, 2012, 06:43 PM
Replies: 20
Views: 8,112
Posted By patbateman
edit... regarding your suggestion, are you saying...

edit... regarding your suggestion, are you saying

if (ToTime xxxxxx )

{
if (strategy) { lxxx ong xxx }
}
Forum: NinjaTrader April 19th, 2012, 06:41 PM
Replies: 20
Views: 8,112
Posted By patbateman
I updated it to && ToTime(Time[0]) > 02000 ...

I updated it to && ToTime(Time[0]) > 02000
&& ToTime(Time[0]) < 08000

yet still does not work... the session template works, but not the time code. Session template doesn't work for me...
Forum: NinjaTrader April 19th, 2012, 02:15 PM
Replies: 20
Views: 8,112
Posted By patbateman
Update... I added && ToTime(Time[0]) >=...

Update... I added

&& ToTime(Time[0]) >= ToTime(8, 0, 0)
&& ToTime(Time[0]) <= ToTime(12, 0, 0)

But it doesn't work...
Forum: NinjaTrader April 19th, 2012, 01:02 PM
Replies: 20
Views: 8,112
Posted By patbateman
Time of day?

I noticed that when you apply a template (i.e. excluding certain times of days; CME US Index RTH, etc.) to a chart or strategy, the gap wrecks allot of indicators (example attached).

Is it...
Showing results 1 to 9 of 9

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