Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Macd with SMAs
Collapse
X
-
Yes, you create a new indicator through Tools > New NinjaScript > Indicator.
You can define inputs for slow and fast periods.
You can use the snippet below to plot the difference.
Plot0.Set(SMA(Fast)[0] - SMA(Slow)[0]);
You can see here for an introduction to indicator development in NinjaTrader.
Attached is an indicator that does if you want to compare what it should look like.
To Import
1. Download the attached file to your desktop
2. From the Control Center window select the menu File > Utilities > Import NinjaScript
3. Select the downloaded file
Attached FilesLast edited by NinjaTrader_RyanM1; 09-03-2010, 09:49 AM.Ryan M.NinjaTrader Customer Service
Comment
-
There's not much to the indicator that would cause errors. I see it is .cs instead of the expected .zip file. It's corrected now - please try to download and import again.Last edited by NinjaTrader_RyanM1; 09-03-2010, 09:51 AM.Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
71 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
39 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment