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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    574 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X