Announcement

Collapse
No announcement yet.

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 sjsj2732, 03-23-2026, 04:31 AM
      0 responses
      71 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      313 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      310 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      147 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      111 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X