Reply To: Net Advancing Volume Percent

Optuma Forums Optuma Scripting Net Advancing Volume Percent Reply To: Net Advancing Volume Percent

#62153
AvatarRowan
  • 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

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close