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.
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
-Brett
-
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 cmtjoancolmenero, Yesterday, 03:58 PM
|
5 responses
27 views
0 likes
|
Last Post Today, 08:50 AM | ||
Started by gbourque, Today, 06:39 AM
|
2 responses
14 views
0 likes
|
Last Post
by gbourque
Today, 07:05 AM
|
||
Started by rexsole, Today, 08:39 AM
|
0 responses
4 views
0 likes
|
Last Post
by rexsole
Today, 08:39 AM
|
||
Started by trilliantrader, Yesterday, 03:01 PM
|
3 responses
31 views
0 likes
|
Last Post Today, 08:28 AM | ||
Started by Brevo, Today, 01:45 AM
|
1 response
14 views
0 likes
|
Last Post Today, 08:14 AM |
Comment