Indicator not working

Forums ProRealTime English forum ProBuilder support Indicator not working

Viewing 4 posts - 1 through 4 (of 4 total)
  • #21047

    Hello,

    The following indicator does not return any values.

    I want to build an indicator called “a” where each value is the one from the previous bar to which I add the price variation for the day multiplied (weighted) by the volume variation of the day.

    1. Why it does not work?
    2. How should the problem be fixed?

    Thank you in advance

     

     

    #21092

    Did you test your indicator on instrument that have Volumes?

    #21101

    Yes Nicolas,

    I attach a chart on Pepsico. My indicator is in the bottom window

    #21107

    It should work with this modified code, like you did for the ‘a’ variable, giving only once the volume value to the ‘v’ one, fixed it. Because v[1] is not defined the first time the code is read, the calculation can’t complete itself and that’s why you didn’t get anything.

     

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

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