Breakout M5 / H4 Nasdaq

Viewing 15 posts - 31 through 45 (of 97 total)
  • Author
    Posts
  • #181049 quote
    MauroPro
    Participant
    Veteran

    timeframe(4 hour, updateonclose)

    barCount = barIndex

    //——————————

    timeframe (5 minutes, updateonclose) // TF default

    once tradeOn = 1

    if intradayBarIndex = 0 then

    tradeOn = 1

    endif

    tradeBar = barCount

    if  not onMarket and tradeBar<>tradeBar[1] then

    tradeOn = 1

    endif

    //———————————————————

    MTF – one trade per bar

    phoentzs thanked this post
    #181050 quote
    phoentzs
    Participant
    Master

    cummulate = false

    #181051 quote
    MauroPro
    Participant
    Veteran
    #181052 quote
    GraHal
    Participant
    Master

    If you / anybody clicks in cell H1 (in the spreadsheet below) then you can copy a link that looks like this …

    Snippet Link Library

    #181054 quote
    nonetheless
    Participant
    Master

    cummulate = false

    you mean that you don’t want it to enter, get stopped out, and then enter again in the same candle? For that you can use Mauro’s code.

    #181072 quote
    phoentzs
    Participant
    Master

    Here is my version, built with my capabilities. Not as filigree as the nonethless version. But similar overall result. Let’s see which one looks better in a month?

    Some additional things are built in:
    1 trade per H4 bar
    red / green candle separated
    Fridays with profit from the market
    EMA15 used (“typicalprice” is important here)
    Significantly smaller stop loss for less risk
    WF until May, from then on it’s OOS

    I get the best results in the M5 with a simple breakeven. But I can’t get rid of the drawdown in September. Maybe there is still a good filter against it?
    The result does not really improve with trailing stoploss.
    Are there any suggestions for solutions or improvements? Anyway, it seems to be worth it.

    Midlanddave thanked this post
    Break-H4-Nasdaq-M5.jpg Break-H4-Nasdaq-M5.jpg TEST-Break-H4-Nasdaq-M5.itf
    #181076 quote
    nonetheless
    Participant
    Master

    similar overall result

    ???

    this is mine from the same period, with positionsize = 1

    (the previous were 0.5)

    NAS-5m-Breakout-v2-2019-21.jpg NAS-5m-Breakout-v2-2019-21.jpg
    #181078 quote
    ProfitAlgos
    Participant
    Junior

    What differ ur (nonetheless) NAS-5m-Breakout-v4.4T and this backtest …v3

    #181079 quote
    nonetheless
    Participant
    Master

    v4.4T is cumulative orders = true

    this one says v3 but it’s the same as v2 above, cumulative orders false

    #181080 quote
    ProfitAlgos
    Participant
    Junior

    U are all great.  Possible to get a version of this algo with september in gain?

    #181084 quote
    phoentzs
    Participant
    Master

    @nonethless Sure, your result looks better. I’m not a master either. It’s also not about measuring yourself against each other. But to come to a similar goal in several ways. I took the route with a small stop loss and a lot of small wins. Unfortunately without a trailing stop. You the way with a big SL. No idea which variant is more robust. But we are struggling with the same problematic market phases. September … do you have an idea?

    #181085 quote
    phoentzs
    Participant
    Master

    Round 2 with an SP500 version? 😉

    #181086 quote
    nonetheless
    Participant
    Master

    sorry if that came across as ‘competitive’ – I’m really not 😎

    I wouldn’t give september a second thought. I took some losses too, but look what followed – a five week bull run. I’ve gained more in just the past week than whatever I lost in September. That’s just the way it goes. Gotta keep one eye on the bigger picture.

    And yes, no reason your breakout idea shouldn’t work elsewhere – DAX, DJ, SP …

    #181088 quote
    ProfitAlgos
    Participant
    Junior

    Rules are cumulative orders = false?

    #181092 quote
    phoentzs
    Participant
    Master
    All right, I am grateful for your help. I have been trading such breakouts manually for a long time. And it’s good to know that it also works automatically. I let the Algos run in demo for 4 weeks and then maybe you can try a live version.
Viewing 15 posts - 31 through 45 (of 97 total)
  • You must be logged in to reply to this topic.

Breakout M5 / H4 Nasdaq


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
phoentzs @phoentzs Participant
Summary

This topic contains 96 replies,
has 9 voices, and was last updated by murre87
4 years, 2 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 11/03/2021
Status: Active
Attachments: 21 files
Logo Logo
Loading...