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 judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      59 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      21 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      10 views
      0 likes
      Last Post cre8able  
      Working...
      X