Waiting after a loss

Forums ProRealTime English forum ProOrder support Waiting after a loss

Viewing 6 posts - 1 through 6 (of 6 total)
  • #26674

    Hello all,

    Is there a way to tell a strategy to wait before opening a new trade after a loss? e.g. If a bet loses, I want my strategy to wait 10 minutes before considering entering a trade again (i.e. it should ignore any trade signals that might occur in that 10 minute period)

    Many thanks

    Geoff

    #26739

    Hi Geoff

    I’m just about to go out but you could try something like this ..this uses the bars as the time and looks to enter once the price has moved a certain distance from the first entry…

     

    #26760

    You can use BARINDEX and TRADEINDEX like Big Hug said in his previous post. You can also make comparison between schedules if you store “time” in a variable, when you launch an order.

    #26763

    thanks guys…will try that

    #26775

    “You can also make comparison between schedules if you store “time” in a variable, when you launch an order”

    Hi Nicolas –

    Are you referring to

    indicator3 = //whatever your condition is
    c3 = (indicator3 >=  X )AND TIME >090000 AND TIME <200000

    If not – I wondered if you could post an example of the  code when you have a moment

    …Thanks in advance

    #26801

    @Big Hug

    You can give a try with this code snippet for instance:

     

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

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