NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 01-15-2008, 07:39 PM   #1
scriabinop23
Senior Member
 
Join Date: May 2007
Posts: 112
Thanks: 0
Thanked 0 times in 0 posts
Default Looking for a MACRO program for XP? Want scheduled control of ninja

I am looking for a Macro program that will have no problem doing this:

1) tell Ninja to logout of the broker that Ninjatrader is logged into.
2) re login daily, then add the 'strategy' and start it.


This is driving me nuts because the fact that I can't find keyboard equivilents for the stategy bar, then a way to create the new strategy without right clicking, then clicking add new strategy etc.

All of this seems to depend on window position and results in Ninja not being macro friendly. I don't want ninja to not work with a mouse based macro app because the ninja window merely is in a different position or not maximized as when the macro is programmed.

Anyone have a workaround and a suggestion for a macro program that will let me control ninja reliably on a schedule?

Or to Ninja developers: PLEASE let me do all of this from keyboard equivilents or even start a strategy and login to a broker from a commandline, ie:

c:\...\ninjatrader.exe -login brokerA -strategy strategydefs.file
scriabinop23 is offline  
Reply With Quote
Old 01-15-2008, 08:09 PM   #2
Futures_Shark
Member
 
Join Date: Dec 2006
Location: , ,
Posts: 79
Thanks: 0
Thanked 0 times in 0 posts
Default

try

http://www.ranorex.com/

or

http://www.autohotkey.com/
Futures_Shark is offline  
Reply With Quote
Old 01-15-2008, 11:24 PM   #3
scriabinop23
Senior Member
 
Join Date: May 2007
Posts: 112
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by Futures_Shark View Post

autohotkey is great. does basically what i needed; good language, and well designed. can't beat free!
thanks.
scriabinop23 is offline  
Reply With Quote
Old 04-23-2009, 12:23 PM   #4
ninjaq
Junior Member
 
Join Date: Dec 2008
Posts: 26
Thanks: 0
Thanked 0 times in 0 posts
Default

How can we schedule a autohotkey script to be run daily?
The build in Windows scheduler doesn't seem to run when my machine is log off.
Can anyone recommend a better solution?

Thanks!

Jim
ninjaq is offline  
Reply With Quote
Old 04-24-2009, 10:15 AM   #5
ninjaq
Junior Member
 
Join Date: Dec 2008
Posts: 26
Thanks: 0
Thanked 0 times in 0 posts
Default

Now I'm able to have the scheduler to log in to Windows before running autohotkey.
But autohotkey seem to be able to start NJ but NOT send keystrokes or mouseclicks.

Any solution?

Jim
ninjaq is offline  
Reply With Quote
Old 04-24-2009, 01:56 PM   #6
Trevor.Richter
Member
 
Join Date: Aug 2008
Posts: 37
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by scriabinop23 View Post
I am looking for a Macro program
see this thread:

http://www.ninjatrader-support2.com/...ad.php?t=15116
Trevor.Richter is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Program Trading Symbol - PREM art cole Miscellaneous Support 5 04-04-2008 10:22 AM
basic help on program a strategy z32000 Strategy Development 10 11-23-2007 07:59 PM
program not responding JohnG Miscellaneous Support 1 09-13-2007 01:42 PM
First program Problem Freddie Indicator Development 5 03-25-2007 09:51 AM
TWS scheduled shut down glam_100 Connecting 3 06-15-2006 03:14 AM


All times are GMT -6. The time now is 02:45 PM.