Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
MACD strategy
Collapse
X
-
jp2890,
You can use the MACD in the Condition Builder of the Strategy Wizard. Suggest you take a look at this tutorial: http://www.ninjatrader-support.com/H...tml?Overview34Josh P.NinjaTrader Customer Service
-
jp2890,
1. Depends under what context you are talking about. If you are talking about CrossAbove/Below, it determines the two data points to check. It looks at the values at two points in time, the first point in time is the most recent bar, the second being whatever the lookback period is set to.
2. Time intervals are determined by what kind of chart you ultimately run on. If you run on a 1min chart, it uses 1min. If you run on a 30 second chart, it will use that.
3. You can try going through the file sharing second for Zero lag indicators to see if you find what you want.Josh P.NinjaTrader Customer Service
Comment
-
jp, MyInput0 is the first variable that gets generated when creating a strategy. Unless you've included MyInput0 in your calculations, you can ignore it.
The other values you ask about are just like they seem, the low is the lowest value the optimizer will try up to high, the highest value. The other parameter is the "skip" value, which is the increment the optimizer will go from low to high by. So if the low is 9 and the high is 25 and the increment is 5 (9,25,5), the iterations tested will be 9, 14, 19, 24.AustinNinjaTrader Customer Service
Comment
-
JP, the optimize process is exactly the same for any strategy. If you've created the MACD strategy to be optimized, it is possible the inputs haven't been "exposed", thus they can't be optimized. In your code, the inputs for the MACD must be variables in order for the strategy analyzer to be able to optimize it. Please see the attached screenshots to see where to put what.AustinNinjaTrader Customer Service
Comment
-
JP, indeed there is a help guide article for this. Optimizing a strategy.AustinNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment