Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help requested: Cumulative Delta Volume Histogram

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

    Help requested: Cumulative Delta Volume Histogram

    The indicator at...

    This is a cumulative delta indicator based on BidAsk. It also detects divergences based on cumulative delta. Those divergences are represent on main price panel.


    ... displays Cumulative Delta Volume as a chart. Can anyone please help me by converting it to display instead as a histogram, whereby each bar in the histogram displays the delta volume accumulated for the last n bars (where n is a number input by the user)? The "last n bars" should include the current bar.

    I would very much appreciate your help.

    Thank you.

    #2
    Hello wpwebsites,

    The file you linked to is using custom rendering to display the bars it makes so that would not be something which could be changed easily into a histogram. You would need to change the way that script is rendering its data to match how you wanted it to display along with any other calculation changes that you wanted. The script calculates data in OnBarUpdate and then renders it in a custom way using OnRender.


    JesseNinjaTrader Customer Service

    Comment


      #3
      Hi Jesse,

      Thanks so much for your speedy response.

      So it sounds like the OnRender section should be removed - but what should it be replaced with in order to achieve a simple histogram?

      Comment


        #4
        Hello wpwebsites,

        That indicator does not have any plots so if you remove OnRender it wont display anything. The OnRender would need to remain there to render the data. If you wanted to display the data differently you would have to change the OnRender code to match how you wanted that data rendered.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by WaleeTheRobot, 01-07-2024, 10:07 AM
        16 responses
        424 views
        2 likes
        Last Post WaleeTheRobot  
        Started by ceeb69, Today, 07:17 PM
        0 responses
        8 views
        0 likes
        Last Post ceeb69
        by ceeb69
         
        Started by rene69851, 02-19-2024, 06:45 PM
        2 responses
        15 views
        0 likes
        Last Post rene69851  
        Started by algospoke, 02-19-2024, 03:25 PM
        2 responses
        17 views
        0 likes
        Last Post algospoke  
        Started by rbeckmann05, Today, 12:19 PM
        7 responses
        23 views
        0 likes
        Last Post rbeckmann05  
        Working...
        X