Gap greater than 0.7%

Forums ProRealTime English forum ProOrder support Gap greater than 0.7%

Viewing 5 posts - 1 through 5 (of 5 total)
  • #138404

    Hello, I would like to create a condition when a gap of more than 0.7% (between the previous day’s closing and the opening of the day) appears on the market.
    My goal is to make it a condition to program a strategy that will only take trades with Proorder on directional days with large gaps, and extreme openings with volume.
    I was able to code a gap indicator but as soon as I try to put a % variation it doesn’t work.
    Can someone help me?

    #138410
    #138411

    VARIATION cannot be used because it makes the difference between the same price on different candles. Also you used a logical value instead of a price.

    Try this:

    1 user thanked author for this post.
    #138413

    Roberto beat me to it and I’ve no doubt did it correctly! 🙂

    Mods

    this post can be deleted please

    ­robertogozzi: let’s keep it

    1 user thanked author for this post.
    #138418

    Thank you so much @robertogozzi and @GraHal !

    1 user thanked author for this post.
Viewing 5 posts - 1 through 5 (of 5 total)

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