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

Indicators calculation with middle of renko bars

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

    Indicators calculation with middle of renko bars

    I'd like to calculate indicators based on the middle of renko chart bricks (testing with a 1-period SMA, it seems that NT8 default setup uses the highest of upside bricks and the lowest of downside bricks).

    Can you help me? I'm also interested in using the close of the bricks.

    Thanks.

    #2
    Hello,

    Thank you for the post.

    You may pass the Median series to the SMA to calculate off of the median price for that bar:

    double value = SMA(Median, 1)[0];

    https://ninjatrader.com/support/help...us/?median.htm - Median series

    Please let us know if we may be of any further assistance.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Thanks for help.

      I've just started to work with NT8. I do not really understand what you meant. Do i have to build a new indicator that will create a SMA or RSI or ... calculated with median bars or do i have to include median series in the existing indicators?

      I've tested "typical" in the input series parameter of the sma 1. It seems to work. Is this different of your solution?
      Last edited by Alf63; 12-22-2017, 01:37 PM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mongo, Today, 11:05 AM
      2 responses
      7 views
      0 likes
      Last Post Mongo
      by Mongo
       
      Started by guillembm, Today, 11:25 AM
      0 responses
      3 views
      0 likes
      Last Post guillembm  
      Started by Tim-c, Today, 10:58 AM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by traderqz, Yesterday, 09:06 AM
      4 responses
      27 views
      0 likes
      Last Post traderqz  
      Started by traderqz, Today, 12:06 AM
      4 responses
      8 views
      0 likes
      Last Post traderqz  
      Working...
      X