Thanks, Steven
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
MACD based on SMA values
Collapse
X
-
Matthew,
I am after a MACD with TEMA. I tried to change your SMA version without any luck. With you being kind enough to change the EMA to SMA for everyone, I was hoping you would do the same for the TEMA version. I know this is above and beyond your normal scope but it would be greatly appreciate. Thank you.
Bob
Comment
-
Hello Ram011558,
Thanks for your post and welcome to the forums.
To change the version created for SMA in post 3, once you have downloaded and installed the MACDSMA, you would need to follow these short steps to make the changes you want:
1) Tools>Edit Ninjascript> Indicators
2) Select MACDSMA
3) In the code of MACSMA, right mouse click, select "save as" and provide a new name, like MACDTEMA
4) In the new file of MACDTEMA, go to like 64 and replace SMA with TEMA. Go to line 65 and replace SMA with TEMA. Your lines 64 and 65 should now look like:
fastSma.Set(TEMA(Input, Fast)[0]);
slowSma.Set(TEMA(Input, Slow)[0]);
5) Right mouse click on the chart and select compile.
6) Once complied, close the file and apply the new indicator to your chart(s)Paul H.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_Matthew View PostHello,
Attached is a MACD using a SMA rather than the default EMA.
It says: ''This NinjaScript archive was made from an older, imcompatible version of NinjaTrader.''.
Could you look into this matter, please?
Comment
-
Hello California,
Thanks for your post and welcome to the NinjaTrader forums!
You are correct, this is a NinjaTrader7 indicator posted in the NinjaTrader7 indicator development forum. NinjaTrader7 scripts are not compatible with NinjaTrader8. Please do not try to import NinjaTrader7 (or earlier) scripts into NinjaTrader8.
For your convenience and as this was quick, I have converted this to NT8, please note that we do not routinely provide this service.Attached FilesPaul H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
57 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
36 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
19 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
9 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment