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 helpwanted, Today, 03:06 AM
      1 response
      7 views
      0 likes
      Last Post sarafuenonly123  
      Started by Brevo, Today, 01:45 AM
      0 responses
      7 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      5 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      242 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      384 views
      1 like
      Last Post Gavini
      by Gavini
       
      Working...
      X