Max 1 trade if successful, 2 trades if first trade fails

Forums ProRealTime English forum ProOrder support Max 1 trade if successful, 2 trades if first trade fails

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

    Hi all

    How would one go about coding:

    – Make 1 trade, if it ends up in gains = no more trades that day (I’ve seen this snipped of code in the 69 moving average code)

    – if first trade fails then execute a second trade if the entry condition happens again.

    I would like to code a breakout strategy to trade only during market open and have a tight stop loss. If I get stopped out I’d like the strategy to have another go (most likely when it breaks out the other direction, if the first trade was a fake-out)

     

    1 user thanked author for this post.
    #157588

    A What do you want price to break? A time range, say 8-10, or previous day’s High/Low, or last week’s, etc… ?

     

    #157598

    I’m currently working on Nicolas excellent Breakout of Range Trading Strategy: https://www.prorealcode.com/prorealtime-trading-strategies/breakout-range-ts/

    My idea is to launch it on different markets with 1 trade per day when it breaks through a previous x bar range, during market open only when there is extra volatility.

    #178669

    hi did you find a solution i’m looking for something similar

    maximum one trade per day if gain or loss

    #178671
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