Time Segmented Volume by Worden Brothers code

Forums ProRealTime English forum ProBuilder support Time Segmented Volume by Worden Brothers code

Viewing 15 posts - 1 through 15 (of 25 total)
  • #149577

    Evening All,

    Amazing work on creating this site! Absolutely love it. I was wondering if anyone has the code for Time Segmented Volume that Worden Brothers produced?

    any help gratefully received 🙂

    #149591

    There you go:

     

    #149595

    Thank you very much Roberto.

    Much appreciated

    #149597

    I am currently using balance of power which would work really well hand in hand with TSV. I can run them side by side but I would love to be build TSV onto my balance of power indicator.

    Do you think this could be done?

    thanks again for your support.

    Regards

    Alastair

    #149599

    What code do you use as balance of power ?

     

    #149600

    It is the BOP from Nicholas I believe.

    please see attached picture.

    #149614

    As you can see they don’t share the scale, values are so much different!

    Try to better explain what you mean by “I would love to be build TSV onto my balance of power indicator“.

    #149624

    Good Morning,

    Sorry, I am not doing a very good job of explaining this. Perhaps it is easiest if I show you what I am hoping to reproduce.

    Please see attached picture 🙂 this combines BOP : TSV : MA

    Many thanks

    #149626

    al_craig – Please always use the ‘Insert PRT Code’ button when posting code rather than expect the person helping you to type it all out from a screen shot.

    Like this:

    Alternatively provide a link to where the code can be found:

    https://www.prorealcode.com/prorealtime-indicators/balance-of-power/

     

    #149633

    Good Morning Vonasi,

    Yes, not a problem. Sorry for not doing this originally. I will ensure this is done in the future.

    Many Thanks

    #149666

    You explained yourself very well, but it’s impossible, since:

    • TSV cannot drop below 0
    • TSV has a different scale than BOP.

     

    #149667

    In your image TSV has been somehow normalised to only return between -100 and +100. We would need to know how this normalisation has been calculated. In this example I have normalised it by comparing the current TSV to the highest and lowest TSV values in the last P1 bars.

     

    #149678

    Thank you both very much for your efforts. It is very much appreciated.

    I will go away and do some more homework to see what I can find out.

    Thanks again

    #150441

    I think the correct code should be like the one attached,

    I don’t know if this is correct since I don’t know much about programming but it makes much more sense.

     

    #150443

    It’s the same, but since the formula I could find is TSV=(Sum( IIf( C > Ref(C,-1), V * ( C-Ref(C,-1) ), IIf( C < Ref(C,-1),-V * ( C-Ref(C,-1) ), 0 ) ) ,18)); I wrote as I did.

    Multiplying 10*-1000 is the same as multiplying -10*1000.

    There should be no difference on your chart.

     

Viewing 15 posts - 1 through 15 (of 25 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login