• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can't make indicator against another indicator.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NinjaTrader_AlanP
    replied
    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.
    https://www.youtube.com/watch?v=zQRxnFzsUVA

    Please let us know if you need further assistance.

    Leave a comment:


  • NinjaTrader_AlanP
    replied
    Hello RogerYork,

    Thank you for your note.

    I’ve provided a link which demonstrates the instructions below.
    http://screencast.com/t/wqrIAsqZYrlM

    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 Files

    Leave a comment:


  • RogerYork
    started a topic Can't make indicator against another indicator.

    Can't make indicator against another indicator.

    I don't seem to be able to make an indicator against an indicator value.

    In my testing I tried to add an SMA 20 against the MACD Difference, I could only select Close.

Latest Posts

Collapse

Topics Statistics Last Post
Started by vitixs, Today, 04:45 AM
0 responses
3 views
0 likes
Last Post vitixs
by vitixs
 
Started by J4Runner, Yesterday, 07:21 PM
1 response
18 views
0 likes
Last Post NinjaTrader_Marco  
Started by dtl-saw, Yesterday, 08:44 PM
0 responses
13 views
0 likes
Last Post dtl-saw
by dtl-saw
 
Started by ballboy11, Yesterday, 04:29 PM
0 responses
13 views
0 likes
Last Post ballboy11  
Started by zacharydw00, Yesterday, 02:29 PM
2 responses
30 views
0 likes
Last Post zacharydw00  
Working...
X