Sequence of events

Forums ProRealTime English forum ProOrder support Sequence of events

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

    Hi, I would like to catch the pattern in the attached image, it’s basically any indicator that increases values on either the plus or the minus side. I have a two questions,

     

    1. the first is how to capture this sequence of events in code?
    2. what is a recommended pattern for IF (within 20 bars X is fullfilled THEN IF within 20 bars X is still true and Y is fullfilled and so on…
    #105651

    I meant something like this, maybe it can help someone..

    if event then

    a = intradaybarindex

    b = 20 //number of bars within next event have to happen

    endif

    if (a + b) > intradaybarindex AND other_event

    #105700

    1/ that sequence is (according to the picture), an oscillation that is widening since X periods?

    #108157

    Yeah, that is correct! 🙂

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