Lookback loop help please

Forums ProRealTime English forum ProBuilder support Lookback loop help please

Viewing 2 posts - 16 through 17 (of 17 total)
  • #159864

    Hi Roberto

    Hypothetical use is good as it may help someone else in future.

    I only added momentum as an example.

    The logic is this:

    1) Look for condition A to be met (e.g. A = 7)
    2) Set a variable (e.g. B = Close) with Close as the value where condition A is met
    3) From this point forward, ensure Close is always less than value of B until condition C is met (e.g. A = 6) within x bars forward of Step 1
    4) Finally test if the High of the bar after where condition C is met, is higher than B.

    Thanks

    Rob

     

    #159869

    I already coded a hypothetical example.

    Now tell me the correct conditions I have to test.

     

Viewing 2 posts - 16 through 17 (of 17 total)

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