I've tried to go in and make a copy of the default MACD indicator in Ninjascript and edit it to use DEMA instead of EMA lines but I honestly am very clueless when it comes to this. I feel like it should be fairly simple to do and I'm just missing it. I really appreciate the help.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
MACD using DEMA
Collapse
X
-
MACD using DEMA
Hi, I've been trying to figure out how to use Double Exponential Moving Average lines instead of the normal EMA lines used in MACD. Could anyone guide me on the easiest way to make this happen? Im working on a simple MACD strategy to buy/sell depending on the crossover and have the strategy setup and ready to go but I am currently using the normal EMA lines since it is the default and instead would like to use DEMAs.
I've tried to go in and make a copy of the default MACD indicator in Ninjascript and edit it to use DEMA instead of EMA lines but I honestly am very clueless when it comes to this. I feel like it should be fairly simple to do and I'm just missing it. I really appreciate the help. -
Hello dmarlin17,
Welcome to the NinjaTrader forums!
What specifically do you mean?
You mean the DEMA is greater than the MACD and Less than the Avg or less than the MACD and greater than the Avg?
I am also including a link to a forum post with helpful information about getting started with NinjaScript and C#.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
63 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
91 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
48 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
105 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
63 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment