Lookback loop help please

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #159864 quote
    robdav
    Participant
    Veteran

    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 quote
    robertogozzi
    Moderator
    Master

    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)
  • You must be logged in to reply to this topic.

Lookback loop help please


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
robdav @robdav Participant
Summary

This topic contains 16 replies,
has 3 voices, and was last updated by robertogozzi
5 years ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 01/15/2021
Status: Active
Attachments: No files
Logo Logo
Loading...