Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plotting Backbrush

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

    Plotting Backbrush

    Hello,

    I´m experiencing a strange behavior and I´wondering about this because its not a complicated logic but I have no idea why it is not plotting as it should. I have a simple logic to plot a backcolor when volume of bar0 is greater than the bars before. But it does not plot sometimes, eg where I show with the rectangle.

    What might be the reason for this please?

    In the attached screenshot one can see the chart with a situation where it is not plotting and the simple code beside. Its a 377 tickchart and I have - because of other calculations - added the volumetric 377 ticks.

    Edit post: After posting the question I changed the dataseries in the chart from a 377 tickchart to a volumetric 377 tickchart (screenshot plotting_vm) and the plotting is ok now as we can see that the volume of that bar in concern I had marked with the rectangle is not higher than the volume of the bars before.

    So the question is not about the code, the question is why the volume of a 377 tick chart is different from the volume of a volumetric 377 tickchart.

    Thank you!
    Tony
    Attached Files
    Last edited by tonynt; 12-24-2020, 04:50 PM. Reason: add information

    #2
    Hello tonynt,

    Thanks for your post.

    I would suggest testing a chart with both a Volumetric 377 tick data series and regular 377 tick data series added with the same parameters.

    If the data series parameters are not the same, the data series could be started on different ticks and then the bars will form differently.

    Please see my attach screenshots which shows matching volume.

    We look forward to assisting.
    Attached Files

    Comment


      #3
      Hello,

      after posting the question and experience I thought that the reason might be the playback connection when starting somewhere. I will check next week with live data.

      Because I have time over holidays where I want to continue and finish my codes I do some backtesting and I can state as follows:

      I reload historical data ES 03-21, starting with Dec 16th. I run a chart with Ticks377 and indicator showing if vol0 > vol1 && vol0 > vol2 or vol0 > vol1 or vol0 > vol2. And I run the modified indicator on a volumetric chart with 377 as added dataseries with BIP=1 and I run a modified indicator on a volumetric chart with BIP=0.

      99% of time (estimated) all 3 charts show same volume numbers and ">" which I can see easily with backcoloring. But it occurs that there are differences, if so then the both volumetric charts (one with BIP1 and one without added dataseries) show same but both are different from the 377 Tick chart.

      You can test it eg for Dec. 16th EST time 6:25:46 and 10:03:42 and 10:05:08. (on this notebook I have CEST time so 12:25 = 6:25 and 16:xx = 10.xx)
      eg 10:03:43 both volumetric bars show volume 715 but tickchart shows volume 719
      eg 10:05:08 both volumetric bars show volume 585 but tickchart shows volume 581.

      I attach the screenshot only to show how one can see it easily from backcoloring. I wrote exactly the date and time as examples from where you can check the numbers.


      Best regards
      Tony
      Attached Files
      Last edited by tonynt; 12-26-2020, 07:30 AM. Reason: change screenshot

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      608 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      355 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      560 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      561 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X