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

plot a candle type/style in indicator plot area

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

    plot a candle type/style in indicator plot area

    Please bear with as i try to explain what i am trying to achieve here - it may take a few iterations to refine.

    I have a custom bar type which produces some outputs i can use as part of a calculation to display below in a new indicator panel. The bar type is not time based ie like a range bar for example. So far i can do this and draw a line or a histogram ie the typical plots available. What i would like to do is to plot a candle outline of said calculation instead of just the standard line/dot/histogram/etc plots which opens and closes when the custom bar type closes and opens a new bar. I have searched the site for clues on this approach. Do i need to write the plot override to do this or do i need to write a new custom bar type which takes the calculation as input and plots against the scale of the indicator ie the results are not price based more of an rsi value with a zero line ie line plots above and below zero line. Is this possible and if so perhaps there is some examples in some area of something similar being done for another indicator idea or programming question

    many thanks in advance

    #2
    Originally posted by soulfx View Post
    Please bear with as i try to explain what i am trying to achieve here - it may take a few iterations to refine.

    I have a custom bar type which produces some outputs i can use as part of a calculation to display below in a new indicator panel. The bar type is not time based ie like a range bar for example. So far i can do this and draw a line or a histogram ie the typical plots available. What i would like to do is to plot a candle outline of said calculation instead of just the standard line/dot/histogram/etc plots which opens and closes when the custom bar type closes and opens a new bar. I have searched the site for clues on this approach. Do i need to write the plot override to do this or do i need to write a new custom bar type which takes the calculation as input and plots against the scale of the indicator ie the results are not price based more of an rsi value with a zero line ie line plots above and below zero line. Is this possible and if so perhaps there is some examples in some area of something similar being done for another indicator idea or programming question

    many thanks in advance
    You need a custom Plot. Look at the code of the shipping Heiken-Ashi indicator as an example.

    Comment


      #3
      thanks Koganam for confirming was a custom plot. Managed to figure out once i knew what to set the open high low closes to for what i was trying to do. thanks again

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      18 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      1 view
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      6 views
      0 likes
      Last Post Javierw.ok  
      Started by timmbbo, Today, 08:59 AM
      2 responses
      10 views
      0 likes
      Last Post bltdavid  
      Started by alifarahani, Today, 09:40 AM
      6 responses
      41 views
      0 likes
      Last Post alifarahani  
      Working...
      X