Thank You
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
MACD Cross
Collapse
X
-
MACD Cross
I am trying to find a way to code or even use the Strategy Wizard to code if possible just a simple Fast line Crossing above and below the Slow line on the MACD. ALso is there a way to program in if the slow crosses above the slow line at a 45 degree angle buy? The standard default setting are fine for this.
Thank YouTags: None
-
Hello,
Thanks for the forum post.
Yes this is possible in the strategy wizard.
I would recommend watching the following youtube video and replacing the input conditions for the MACD plots that you want to check against.
Let me know if you have any questions after watching the below video.
-BrettBrettNinjaTrader Product Management
-
I understand how to set a Fast and Slow Moving Average Cross which only has 2 parameters. When using the MACD the Fast (being 12) and the Slow (being 26) i see where they can be input but what i dont understand is how would you use the 3rd portion of the MACD being the smooth period?
Ryan
Comment
-
Hello Ryan,
MACD is the difference between the 2 EMAs. The Average is essentially an EMA of the MACD. The Smooth is the EMA period value.
Please refer to the MACD indicator (in Control Center menu bar goto Tools>Edit NinjaScript>Indicaors…, in the Indicator dialog select MACD and click on Ok button) that comes with NinjaTrader to get an idea on how exactly MACD is calculated.
To create a Macd crossover strategy please see the section “How to compare plot value of multi-Plot indicators” from here http://www.ninjatrader.com/support/h...on_builder.htm
Please let me know if I can assist you any further.JoydeepNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
85 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
47 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
29 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
67 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment