Fix a value in time

Forums ProRealTime English forum ProOrder support Fix a value in time

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

    Hi All,
    I need to fix a value in certain condition till another condition happens.
    For example I want to fix the value of the price ((close+open)/2) when the price crosses a MA… then when another condition happens I reset this value.
    I’d like to know how to do without tricky condition checking.
    once reserved word was not useful.
    I repeat
    priceAtCross = (open+close)/2

    I’d want to fix that value at that time whitout using indexes or too much complicate if then endif statements

    Thank You.

    Regards,
    Mauro

    #18684

    Hi, as simple as counting  up to 3:

     

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