Jump – a 5 min strategy

Forums ProRealTime English forum ProOrder support Jump – a 5 min strategy

Viewing 10 posts - 1 through 10 (of 10 total)
  • #181993

    Hello,

    This strategy will look for a new highs (or lows for shorts) over the last N candles and, in conjunction with 2 x entry filters will take a position.  I also added the volatility filter provided by JS in a recent post – thank you, this helped improve overall performance.

    https://www.prorealcode.com/topic/filter-for-too-high-volatility/#post-180817

    I had originally developed this strategy to run on a daily time frame, but have found that it runs just as well on lower time frames.  5 minutes is the lowest setting I would consider.

    Risk Mgt – For initial Profit Target and Stop Loss it uses a simple ATR methodology, with a hard $ value as a backstop to the downside.  The trailing stop is taken from another great strategy posted on this great site.

    For the walk forward results in the screenshots provided the settings were as follows, running on an EU timezone;

    Capital 10k

    Position size 1

    Spread 2.6

    NASDAQ

    5 min

    Further testing:

    1 – Need to optimise the short side as it doesn’t perform as well as the longs do.  Will test different look back periods to try and improve this.

    2 – Try to reduce how much the strategy gives back overall looking at the Losses Only metric and reflected in the Gain/Loss Ratio, without curve fitting.

    All observations, feedback and questions are always welcome.

    Thank you

    5 users thanked author for this post.
    #182080

    Hi. Great coding. I will try  the Volatility filter

    How does the daily TF-code look like?

    #182081

    Would u like to explain this 🙂

     

     

    #182085

    Deleted

    #182103

    if you want to run this on a 5min TF, surely you need to add Timeframe(default) somewhere? like just above the volatility?

    also, might be improved to keep the entry within the NDQ open hours

    Tradetime = time >=143000 and time <210000//UK

    in the ATR trail you want:

    once tsminstop = 4

    as that’s a given by IG

     

    this is what I get on 1m bar BT

    #182105

    Is this the backtest with ur adjustments, nonetheless?

    #182106

    no, that’s the original. i haven’t done any other tests, just my first thoughts.

    #182109

    Hi

    My apologies, I see I posted the wrong code for the strategy you see in the screenshots.  Will rectify when I  get back.

    1 user thanked author for this post.
    #182218

    Working this on to a 15 min time frame.  The 1M back test shows the downside testing lower time frame strategies on the standard 200k bars, and you don’t get to see how it performs through periods of real market stress.

    #182334

    There is something there.  I might try having a go at creating a 15 min version myself.  Higher time frames are definitely the way forward.

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

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