So how do I load these strategies again? I just see a "Save As..." but no "Load" or "Import". What's the point?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Loading previous strategy list
Collapse
X
-
Loading previous strategy list
In the Control Center on the Strategies tab, after I add a series of strategies there is a "Save As..." option. I save my defined strategies.
So how do I load these strategies again? I just see a "Save As..." but no "Load" or "Import". What's the point?Tags: None
-
"Save as" is a standard option for every grid and saves the grid content to a file.
Please learn more here on NT grids: http://www.ninjatrader-support.com/H...Overview3.html
-
Who would ever want to save a list of strategies if they can't re-load it?Originally posted by NinjaTrader_Dierk View Post"Save as" is a standard option for every grid and saves the grid content to a file.
Please learn more here on NT grids: http://www.ninjatrader-support.com/H...Overview3.html
It's a time-consuming and error-prone task to add all of my strategies (since I have to do it for each, individual instrument, ugh). Is there any way that I can save the list and then load it again?
Comment
-
'Cause this is a very important issue to me, I wrote an AutoIt script which will automate/hijack the NinjaTrader UI to add a list strategies. It's extremely user un-friendly, intolerant of glitches and isn't easily extensible but it works for me. I'm reluctant to do more work on it since I'm hoping that version 7.0 will offer real support for this feature. (hint hint
)
As a safety precaution, the script is provided without documentation, tips or pointers. If you can't install AutoIt on your own and successfully modify the source code, then it's probably too raw for you anyway.
Enjoy
Code:; run the script then click the 'Strategies' window of NinjaTrader WinWaitActive("Control Center - Default") Dim $anArray[4] $anArray[0]="AAPL" $anArray[1]="AMZN" $anArray[2]="BIDU" $anArray[3]="EOG" for $element in $anArray AddStrategy( "MyStrategy", $element ) NEXT Func AddStrategy($stratName, $ticker) MouseClick("right") Sleep(100) Send("N") Dim $currStrat $currStrat = WinGetText("New Strategy") While StringInStr( $currStrat, $stratName) == 0 Send( StringLeft($stratName, 1) ) Sleep(1000) $currStrat = WinGetText("New Strategy") Wend ; Get the instrument field ControlClick("New Strategy", "", "[CLASS:WindowsForms10.Window.8.app.0.378734a; INSTANCE:4]", "left", 1, 235, 56) Sleep(1000) ControlClick("New Strategy", "", "[CLASS:WindowsForms10.BUTTON.app.0.378734a; INSTANCE:3]", "left", 1, 7, 7) Sleep(1000) ControlFocus("New Strategy", "", "[CLASS:WindowsForms10.Window.8.app.0.378734a, INSTANCE:2]") Sleep(1000) Dim $sel = WinGetText("") If StringInStr( $sel, "<Default>" ) <> 0 Then Send("S") Sleep(1000) EndIf Send($ticker & "{ENTER}") Sleep(1000) Send("{ENTER}") Sleep(1000) EndFuncLast edited by adrian; 04-15-2008, 04:33 PM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
50 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
69 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment