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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    95 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    140 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    75 views
    0 likes
    Last Post PaulMohn  
    Working...
    X