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!
See more
See less

Partner 728x90

Collapse

Change MACD input from price to volume

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

    Change MACD input from price to volume

    Hi,

    I would like some help with changing the input value from price to volume in MACD for NinjaTrader 8. I tried open up MACD.cs and change Input[0] to Volume[0] but that did't do anything.

    Could anyone please be so kind and give me the right direction for accomplishing this?

    Thank You so much in advance!

    br,
    Chris

    #2
    Hello suroot,

    Thanks for your post and welcome to the NinjaTrader Forums!

    You can do this without working in the code. Add the MACD indicator to a chart. In the MACD properties move the mouse over the selection for "Input Series", when it shows "edit input" left click and an Input series window will show. In the Input series window, on the left side left click to open the "indicators" folder, scroll down to find the VOL indicator, click the OK button, click the Ok button. The chart will now show a MACD based on Volume.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      [SOLVED] Change MACD input from price to volume

      Thank You Sir for the reply!

      Not the same result compared to another version on another platform but I guess the other VWMACD uses also other data as input!

      Thanks though, this opens up new ways to explore price momentum!
      Last edited by suroot; 02-25-2017, 02:50 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Perr0Grande, Today, 08:16 PM
      0 responses
      2 views
      0 likes
      Last Post Perr0Grande  
      Started by elderan, Today, 08:03 PM
      0 responses
      4 views
      0 likes
      Last Post elderan
      by elderan
       
      Started by algospoke, Today, 06:40 PM
      0 responses
      10 views
      0 likes
      Last Post algospoke  
      Started by maybeimnotrader, Today, 05:46 PM
      0 responses
      9 views
      0 likes
      Last Post maybeimnotrader  
      Started by quantismo, Today, 05:13 PM
      0 responses
      7 views
      0 likes
      Last Post quantismo  
      Working...
      X