Price greater or less than opening bar

Forums ProRealTime English forum ProOrder support Price greater or less than opening bar

Viewing 3 posts - 1 through 3 (of 3 total)
  • #201779

    Hello

     

    I’m sorry if this seems obvious but I have tried many ways that seemed logical but don’t work – for me!

    Can anyone help please?

    When a signal is received the size and colour of the first bar is noted … then if the bar is green and CLOSE of any of the following bars is higher a BUY is activated or if the first bar is red and the CLOSE of any of the following bars is lower a SELLSHORT is activated.

    Each bar to the next signal is checked against the first bar of the run and if none meet the criteria the cycle starts over the next time the signal is triggered – and a new ‘first bar’ is established.

    I have tried setting an upper or lower variable against the value of the first bar and testing with greater/equal or lower/equal or crosses over/crosses under but I must be missing something ???

    Thanks

     

    #201782

    There you go:

    in line 5 you will need to define what MySignal is.

     

    #201791

    Thank you Roberto

     

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

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