Net Advancing Volume Percent

Optuma Forums Optuma Scripting Net Advancing Volume Percent

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #62141
    Deepak
    • Topics: 54
    • Replies: 40
    • Posts: 94

    Hii Sirs,
    I wanted to build a breadth measure of Net Advancing Volume percent.

    (Advancing Volume- Declining volume)/Total Volume;

    How to calculate total volume.

    Whereas
    Advancing Volume is

    Declining Volume is

    Regards
    Deepak

    #62153
    Rowan
    • Topics: 0
    • Replies: 1
    • Posts: 1

    Hi,

    I’m also building this breadth, however I’m unsure if my total Advance/Decline Volume script is correct.
    My scripting is different however achieves the same (forgive me I’m still relatively new to scripting):

    Advancing Volume:
    u1 = VOL();
    u2 = VOL(OFFSET=-1);
    u3 = u2 – u1;
    u3 > 0

    Declining Volume:
    u1 = VOL();
    u2 = VOL(OFFSET=-1);
    u3 = u2 – u1;
    u3 < 0

    Advance/Decline Volume:
    u1 = VOL();
    u2 = VOL(OFFSET=-1);
    u3 = u2 – u1;
    u4 = u3 > 0;
    u5 = u3 < 0;
    u6 = (u4 – u5) / u1;
    u6

    #62177
    Deepak
    • Topics: 54
    • Replies: 40
    • Posts: 94

    Can anyone guide us on this?

    #62181
    Darren
    • Topics: 66
    • Replies: 634
    • Posts: 700

    We have the following data (including advance/decline volume ratio) in our Breadth Measures data if you have it enabled on your account:

    https://help.optuma.com/kb/faq.php?id=1062

    So Advance/Decline Volume Percent for the ASX200 has the symbol ADVPASX200:

    Capture

    We’ll be adding this data for the Indian NSE exchange in the next few months, but it’s a bit tricky to calculate manually. What you would need to do is calculate two breadth measures: one summing the advancing volume and one declining volume.

    Once ADV1 and DEC1 have been calculated in Market Breadth, use the Data > Custom Codes to calculate the ratio, which would be:

    2 users thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest