UP DOWN DAY 10 DAY VOLUME RATIO

Forums ProRealTime English forum ProBuilder support UP DOWN DAY 10 DAY VOLUME RATIO

  • This topic has 2 replies, 2 voices, and was last updated 3 years ago by avatarAlfy.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #177639

    Hi guys, i wonder if anyone can help. I’m looking to create a ratio of total volume on up days (close>close [1]) of the last 10 trading days to the volume on the down days in the last 10 trading days. Can anyone help please?

    Thanks in advance and best regards

     

    #177671

    There you go:

    If you import the attached ITF file the variable N is already declared. If you prefer copying & pasting the above code, then uncomment line 1.
    You can change the type of ratio simply swapping comments between lines 4 and 5.

    2 users thanked author for this post.
    #177676

    Thanks so much Roberto!

Viewing 3 posts - 1 through 3 (of 3 total)

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