Trading the 5 Min Bar

Forums ProRealTime English forum ProOrder support Trading the 5 Min Bar

Viewing 15 posts - 1 through 15 (of 67 total)
  • #40591

    Came across the link below … it explains 3 Strategies in detail for trading on 5 Min Timeframe. Would be a good basis for coding 3 separate Bots.

    If the Strategies exist on here already, then it be very useful if you could provide a link?

    https://tradingsim.com/blog/5-minute-bar/

    GraHal

    #40637

    I tried #1, Stochastic+Rsi+TEMA, on DAX 5-min TF (I added Nicolas’ trailing stop code):

    It is over optimized, though. I’ll demo it for a while.

     

    1 user thanked author for this post.
    #40676

    Wow Robert that looks great! Would have taken me all next week to get that sorted, if even then! 🙂

    Results stats look healthy … ‘gain to loss ratio’ and % winning trades. Love how your variables and comments line up … I have trouble with lack of ‘text contrast’ on the PRT Coding window and vertical alignment makes it so much easier.

    I’ll check it out further over the weekend.

    Many Thanks for your time, effort and for sharing
    GraHal

    #40789

    Actually the above strategy was Strategy #1 (of group 3).

    #40790

    Here is another one, Strategy #2 (of group 3), still using Nicolas’trailing stop code:

    Tested on DAX 5-min TF.

     

    #40793

    It’s the first time I tackle with MFI and I’d like a confirmation that this is the correct way it should be used.

    Thank you.

    Roberto

    #40836

    Wow you’ve been busy again!

    I knocked 1 hour off the times to change from UTC +2 (Italy) to UTC +1 (UK).

    Attached are the equity curves I get on the DAX at 100k bars.

    Re Strategy #2 (of group 3) … are your results over 200k bars Robert?

    Thank You
    Graham

    #40839

    No, I only started from Jan. 1, 2017 through last friday. Anyway I am using IG, so my limit would be 100k.

    I am planning to try to build the strategy #3 of group 3, but it involves oscillators/indicators not built-in so its execution will be slower, but I still wanna have a try over the next couple of days.

    1 user thanked author for this post.
    #40846

    Right I’ve got my results for Strategy #2 (of group 3) exact same as yours now … 16 Trades all winners since 4 Jan 17 … see attached.

    I’m on spreadbet with IG so I increased Lot size to 25 to get exact same figures as you (I would only trade £1 per point to see how it goes).

    I love both Strats cos they’re in and out in a few bars (they don’t sit there for hours (while I’m stressing! :)) as losers  hoping ‘all will come right in the end’!) To my logic, this is what a short TF Strat should do … ride the short term cycles!?

    Onward and Upward … looking good!

    Many Thanks for your ongoing work Roberto (apols for Robert in previous)
    GraHal

     

     

    1 user thanked author for this post.
    #40851

    As to strategy #3 of group 3, it involves a Relative Vigor Index which I haven’t found around here.

    In a new post I’ll ask Nicolas if he can translate it from a Metastock code I have found over the internet.

     

     

    #40866
    AVT
    #40870
    AVT

    That’s the code how I understood the description in mql5 page

     

    1 user thanked author for this post.
    #40924

    For info, I got a ‘divide by zero’ error overnight on Strat #02 – Macd-Mfi-DAX-5-min.itf code at Post #40790 . The Strat was Quit / closed due to the error.

    #40938

    I incurred the same error this morning (nighttime) at 02:00 (gmt +0) as from attached pics.

    Pic (1) is just the error; Pic(2) is the screenshot of the DAX 5-min chart at that time; Pic(3) is the screenshot where I outlined variable MFI with a value of -0, which is likely to be the problem.

    I tried to replicate the error with ProBackTest, extending the final time to the last current bar, but it did not work, I don’t know why ProOrder behaves differently from ProBackTest.

    I am afraid the oscillator MFI is not used correctly (it was the first time I used it). Also, this may happen due to overnight closure of DAX, because the strategy keeps running and evaluating each bar continuosly. What’s the data contained in a NON-exixting 5-min bar?

    I hope Nicolas will help when back from his leave.

    1 user thanked author for this post.
    #40951
    AVT

    @robertogozzi

    In the Strategy No 2: where do you get these border values from?

    If I open the MFI Indicator in PRT, it has default borders of 20/80 and looking at the picture in the original article, it’s the same there. Thanks.

Viewing 15 posts - 1 through 15 (of 67 total)

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