How do I make an alert that triggers once only?

Forums ProRealTime English forum ProRealTime platform support How do I make an alert that triggers once only?

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

    I just want an alert to trigger once after passing a certain price, then disable itself to avoid any future triggers.

    I’d like to place partial profit taking with alerts without worrying about more than one orders being placed because of price fluctuations.

    How can I do this? Thanks

    #178696

    Unless I am mistaken, it is not possible to stop an alert automatically after its first occurrence, sorry!

    #178740

    I’m trying to think of using multiple conditions as a workaround.

    So far I’ve come up with:
    c1 = a close of the current 15m bar above a drawn price line, c2 = before a certain date & time.

    It’s not ideal as there can still be multiple 15m closes before that time, if I’m not around to catch the first. Can I do anything better?

    #178961

    Use a binary indicator (cross over/under zero)

    1 the condition you use (c1)

    -1 something that never happens (c2)

     

    #198605

    Has code above been backtested?  Considering using a tick timeframe to buy a certain price and set a certain range at open.  That’s not to say that same price won’t be hit again.  Would it be likely given the extreme volatility at open?  How instantaneous are the triggers?  Is best option to disable the alert once executed either manually otherwise surely this could be coded.

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