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

Exposing value calculated in bartype

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

    Exposing value calculated in bartype

    Hello,

    I have a custom value that is calculated in a custom bartype in order to form the bars. I would like that shown on screen. I am not very familiar with bartypes. It seems that any rendering is typically normally done in the chartstyle?

    Could you suggest a supported way for me to render that value from the BarType internals to the chart? I'm quite happy with OnRender etc.

    Thanks.

    #2
    Hello pjsmith,

    Thank you for your post.

    BarsTypes scripts are used to calculate the Open, High, Low, and Close values then return the bars object. Next, the ChartStyle does the rendering of the ChartBars object. It is not supported and might not be possible to render the value from a BarsType script; it would be best to do the calculation and render the value from an indicator script.

    Please let us know if we may be of further assistance.
    Emily C.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Stanfillirenfro, Today, 07:23 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    2 responses
    21 views
    0 likes
    Last Post cmtjoancolmenero  
    Started by olisav57, Yesterday, 07:39 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by cocoescala, 10-12-2018, 11:02 PM
    7 responses
    944 views
    0 likes
    Last Post Jquiroz1975  
    Started by oviejo, Today, 12:28 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X