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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
89 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
47 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
74 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
72 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
60 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment