Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Help with Strategy Creation
Collapse
X
-
Well, I now see what you're talking about but I can't get the damn thing to load into the strategy section? I saved it under a different name & it shows up in the Strategy drop down on the left, but whenever I go to run a strategy it doesn't show up on the right where the strategies are located? I've restarted NT several times but it doesn't help. I'm just too gd stupid to do this stuff. Thanks for your patience & trying though.
-
I am glad that you finally have it working. It actually does have a pretty good equity curve from the little testing that I did. You may want to start tweaking to see if you can improve your results. It should be easy, as I deliberately created parameters that you can use to run through the optimizer.Originally posted by MFinMO View PostWell I deleted all strategies and reloaded it. It's now working and definitely is close to what I'm wanting. Thanks again for your help & patience!
In fact, once I have some free cycles, I might very well try some optimization to see if it is a robust strategy. I kind of wonder where you got the idea for your entries and extis: I do not think that I have ever quite seen a strategy that uses moving averages in that manner.
Comment
-
3,000! A milestone!Originally posted by koganam View PostI am glad that you finally have it working. It actually does have a pretty good equity curve from the little testing that I did. You may want to start tweaking to see if you can improve your results. It should be easy, as I deliberately created parameters that you can use to run through the optimizer.
In fact, once I have some free cycles, I might very well try some optimization to see if it is a robust strategy. I kind of wonder where you got the idea for your entries and extis: I do not think that I have ever quite seen a strategy that uses moving averages in that manner.
koganam
Senior Member
Join Date: Feb 2008
Posts: 3,000
Thanks: 24
Thanked 1,150 times in 933 posts
Comment
-
I got the ema's & range bar charts from some other traders & I just found thru trial & error that having 2 full bars above the 150 seemed to yield more consistent results. I also don't usually have my stop loss that large because I'm usually sitting there watching it.
Comment
-
Maybe incorrectly, but I assumed to try a short strategy with this all that was needed was to swap out the word Short everywhere there's currently a Long (except in Variables section) & switch the <= and >= signals? Again, probably operator error, but it doesn't work. Even if I just select 1 day for a backtest, the strategy just sits there and runs without yielding results. Here's the code I switched for the short trade.Attached Files
Comment
-
In which case, what you need to do is to return to basics. Write a technical spec which details what you want to do on the short side, in a set of single-line actionable English statements. Use my code as a guide to write the logic. e.g., It will then be obvious how to code when "Price is below the EMA" as opposed to when "Price is above the EMA". Just by reading the description of what you wrote, I can tell that you probably have not taken that into account.Originally posted by MFinMO View PostMaybe incorrectly, but I assumed to try a short strategy with this all that was needed was to swap out the word Short everywhere there's currently a Long (except in Variables section) & switch the <= and >= signals? Again, probably operator error, but it doesn't work. Even if I just select 1 day for a backtest, the strategy just sits there and runs without yielding results. Here's the code I switched for the short trade.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
52 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
70 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
43 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
48 views
0 likes
|
Last Post
|

Comment