Announcement

Collapse
No announcement yet.

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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    41 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    28 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    45 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    37 views
    0 likes
    Last Post CarlTrading  
    Working...
    X