In my testing I tried to add an SMA 20 against the MACD Difference, I could only select Close.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Can't make indicator against another indicator.
Collapse
X
-
Hello RogerYork,
Thank you for your note.
I’ve provided a link which demonstrates the instructions below.
Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.
Directions: You can make an indicator that has one indicator (SMA) reference another indicator (MACD). To build this code I opened the Strategy Wizard under Control Center>Tools>New NinjaScript>Strategy. Then on the Conditions and Actions page, under Conditions>New then I selected SMA under Indicators. I then set the input series to the MACD and plot to diff. I pressed OK, OK, then hit unlock code to see what this code looks like. I then copied the code and posted it in my indicator (which I’ve attached).
Code I set the indicator plot to:
Plot0.Set(SMA(MACD(12, 26, 9).Diff, 20)[0]);
Please let us know if you need further assistance.Attached FilesAlan P.NinjaTrader Customer Service
-
Hello RogerYork,
In the event I misunderstood your question, and you meant how do you add an indicator with another indicator selected as the input series, to a chart, for that you would right click on the Chart>Indicator>SMA (For example)>Then next to Input Series hover your mouse and you’ll see “…”, click that, then you’ll be given the option to switch the input to another indicator.
I’ve provided a Youtube link below covering how to do this.
Download NinjaTrader FREE at http://www.ninjatrader.comThis video demonstrates how to plot an indicator based on the value of another indicator on a chart wi...
Please let us know if you need further assistance.Alan P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Balage0922, Today, 07:38 AM
|
0 responses
5 views
0 likes
|
Last Post
by Balage0922
Today, 07:38 AM
|
||
Started by JoMoon2024, Today, 06:56 AM
|
0 responses
6 views
0 likes
|
Last Post
by JoMoon2024
Today, 06:56 AM
|
||
Started by Haiasi, 04-25-2024, 06:53 PM
|
2 responses
19 views
0 likes
|
Last Post
by Massinisa
Today, 05:32 AM
|
||
Started by Creamers, Today, 05:32 AM
|
0 responses
6 views
0 likes
|
Last Post
by Creamers
Today, 05:32 AM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
12 responses
1,786 views
0 likes
|
Last Post
by Leafcutter
Today, 05:30 AM
|
Comment