![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Oct 2011
Posts: 30
Thanks: 5
Thanked 1 time in 1 post
|
The MACD indicator that comes with NinjaTrader is based on EMA values. Does anyone have the same indicator but based on SMA values?
Thanks, Steven |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Sep 2008
Posts: 543
Thanks: 80
Thanked 187 times in 131 posts
|
I don't have one personally, but it would be really easy to modify your current MACD to use SMA instead of EMA...just go through and replace instances of 'EMA' with 'SMA'.
|
|
|
|
|
|
#3 |
|
NinjaTrader Customer Service
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,770
Thanks: 158
Thanked 562 times in 553 posts
|
Hello,
Attached is a MACD using a SMA rather than the default EMA.
Matthew
NinjaTrader Customer Service |
|
|
|
|
|
#4 |
|
Member
Join Date: Oct 2011
Posts: 30
Thanks: 5
Thanked 1 time in 1 post
|
Thanks for the file...Works great.
Steven |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SMA Macd ? | T2020 | Indicator Development | 8 | 03-28-2012 08:33 PM |
| Sma Of Macd | redrum28 | Indicator Development | 12 | 08-02-2010 08:29 AM |
| Sma Macd Diff | rnr123 | Charting | 1 | 12-02-2008 06:57 AM |
| MACD default EMA or SMA? | dandxg | Charting | 2 | 08-31-2008 02:26 PM |
| SMA on MACD | draime | NinjaScript File Sharing Discussion | 2 | 01-26-2008 10:02 AM |