gbp/jpy profitable strategy help

Forums ProRealTime English forum ProOrder support gbp/jpy profitable strategy help

Viewing 9 posts - 1 through 9 (of 9 total)
  • #149895

    Hi I tried to code this strategy https://www.youtube.com/watch?v=PaVIbaTRO7o

    I seem to have succesfully done that, but the profit factor is not as good as he claims.  It is a “stop and reverse” type strategy

    One thing I noticed was that if the profit target was hit, the strategy reenters the position – How can I stop it entering when the stop or profit target is hit. (you can see on 18mar 2020)

    I tried to play around with a tradecount below, but not sure. Went into an infinite loop or missed the next trade on 19mar 2020

    Set chart to newyork time !

     

    #149898

    Add this at line 6:

    add this at lines 40 and 49:

    add this at line 13:

    then add this condition at lines 34 and 43:

     

    #149980

    Thanks Roberto,  I tried your code but it made the system trade only once per day.   It is stop and reverse so can trade twice

    I want it not to trade  after the stop or profit target gets hit for the remaining time in the day,

    I tried to make it like your example with two variables – tradeonShort and tradeonLong ,

    So only one long trade and one short per day is taken, which should work,   but didn’t seem to work.

     

    #149997

    Probably because it was carrying positions from overnight, i need to do something like if longonmarket, dont open new buy trades until next day.

    #150022

    This should do, it only allows one LONG and one SHORT trade per day:

     

    #150274

    Thanks, that didn’t really work either,

    I got it

    also another version that enters only if closes below the initial 4hr range

    (this one the timeframe will affect performance)

     

    #150275

    If you use 1hr chart set

    DailyHigh = highest[4](high)
    DailyLow = lowest[4](low)
    15min

    DailyHigh = highest[16](high)
    DailyLow = lowest[16](low)
    is best
    #150282

    and close>close[1] can be taken out on the first system, was just testing

    #150283

    Also try chicago or new york time different results (or just change code 1hr different) chicago seems better

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

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