Divergence Indicator

Forums ProRealTime English forum ProBuilder support Divergence Indicator

Viewing 2 posts - 1 through 2 (of 2 total)
  • #149402

    Can I please request you to convert this pinescript to PRT?
    I would have done it with me beginner’s knowledge, but I got stuck with codes like – “valuewhen”

     

    #149438

    The “valuewhen” instruction is not available in ProBuilder programming language. Something similar will be added in an upcoming new instructions package for PRT v11.

    valuewhen(condition, source, occurrence)

    It returns the “Source” value when “condition” was true on the “occurrence” number. So you have to make a loop in order to get the value.

     

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

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