wave volume – how to reference previous values

Forums ProRealTime English forum ProBuilder support wave volume – how to reference previous values

Viewing 1 post (of 1 total)
  • #65786

    Regarding Nicolas’ code:  https://www.prorealcode.com/prorealtime-indicators/cumulative-volumes-zigzag-divergences/

    Can someone tell me how to reference previous values of peakvol/troughvol please?

    Psuedocode would be something like:  “if peak and previous troughvol > trough vol[1] then draw down arrow”

    Visually, this is where I’d like an up arrow drawn:

    Thanks for any help.

     

     

     

Viewing 1 post (of 1 total)

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