Dax Short only – intraday trading strategy – timeframe 15 minutes

Dax Short only – intraday trading strategy – timeframe 15 minutes

Dear All,

I think it is the good timing to share with you the following strategy.

“Dax Short 15′” is nothing really complicated but works fairly.

  • TF 15′
  • Instr. DAX
  • Tested on “tick by tick”
  • Tested with 200k bars.
  • 1 pt spread.
  • WF hasn’t been done.

Kindly note that I am not the coder of the century 😉 however I’ll be delighted to help as much as I can.

Thank you.

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. jebus89 • 10/13/2017 #

    what timezone? not getting similar results 🙂

  2. JR1976 • 10/13/2017 #

    Hi Inertia ,
    first of all , congrats for the good strategy
    one questions : the average 2000 in the code Time frame 15min, rapresent the Average 100 in Daily Time frame ?

    thanks

  3. Inertia • 10/13/2017 #

    Thank you JR1976.
    It was not meant to be a conversion from a daily TF but mostly a “larger and round” filter for this 15’TF.
    However, i did an excel breakdown as attached (fyi)…

  4. lysan2 • 10/13/2017 #

    Thank you Inertia.
    Can you think if it’s possible to applicate this strategy (Long Only) ?

  5. Inertia • 10/13/2017 #

    Sorry lysan2, the exact one for long only doesn’t work well.
    Perhaps, you may have to look with roughly the same trigger for entries but on a smaller TF to possibly find an edge.
    thx.

  6. andreag76 • 10/13/2017 #

    Long version… not very good

    //DEFPARAM Preloadbars = 3000
    DEFPARAM CumulateOrders = False
    DEFPARAM FLATBEFORE = 090000
    DEFPARAM FLATAFTER = 210000
    noEntryBeforeTime = 090000
    timeEnterBefore = time >= noEntryBeforeTime
    noEntryAfterTime = 213000
    timeEnterAfter = time 2)
    indicator3 = ExponentialAverage[mafilter](close)
    c3 = (close > indicator3)
    indicator4 = ExponentialAverage[mafilter](close)
    indicator5 = ExponentialAverage[mafilter](close)
    c4 = (indicator4 > indicator5[1])

    IF (c1 AND c2 AND c3 AND c4) AND timeEnterBefore AND timeEnterAfter AND not daysForbiddenEntry THEN
    buy ordersize CONTRACT AT MARKET
    ENDIF

    //trailing stop
    trailingstop = TS//Best 30

    //resetting variables when no trades are on market
    if not onmarket then
    MINPRICE = close
    priceexit = 1
    endif

    //case long order
    if longonmarket then
    MINPRICE = MIN(MINPRICE,close) //saving the MFE of the current trade
    if tradeprice(1)-MINPRICE>=trailingstop*pointsize then //if the MFE is higher than the trailingstop then
    priceexit = MINPRICE+trailingstop*pointsize //set the exit price at the MFE + trailing stop price level
    endif
    endif

    //FINE LONG

    //exit on trailing stop price levels
    if onmarket and priceexit>0 then
    EXITSHORT AT priceexit STOP
    SELL AT priceexit STOP
    endif

    SET STOP Ploss SL
    Set Target PProfit TP

  7. Inertia • 10/13/2017 #

    @Andreag76
    Thank you but your code is broken.
    Variables are missing and the trailing stop, if long only should be MAXPRICE instead of MINPRICE.
    However, yes the long version on a TF 15′ doesn’t work well enough.
    Kind regards,

  8. Vieux Marin • 10/13/2017 #

    Hi,
    What do you think about this ?

    //————————————————————————-
    // Code principal : Dax Short 15′
    //————————————————————————-
    //———————————–
    // Code principal : Dax Short 15′
    //————————————————————————-
    // Définition des paramètres du code
    // From Inertia
    //Last optimization 26/07/2017

    DEFPARAM Preloadbars = 3000
    DEFPARAM CumulateOrders = False
    DEFPARAM FLATBEFORE = 100000
    DEFPARAM FLATAFTER = 180000
    noEntryBeforeTime = 100000
    timeEnterBefore = time >= noEntryBeforeTime
    noEntryAfterTime = 213000
    timeEnterAfter = time < noEntryAfterTime
    daysForbiddenEntry = OpenDayOfWeek = 1 OR OpenDayOfWeek = 3 OR OpenDayOfWeek = 6 OR OpenDayOfWeek = 0

    REM Variables
    // Taille des positions
    REINV = 1
    LEVIER = 5
    IF REINV = 0 THEN
    N = 1
    ELSIF REINV = 1 THEN
    capital = 500 + strategyprofit
    N = round(capital / 500)*LEVIER
    ENDIF
    ordersize = N

    mafilter = 250 // 2000
    TS = 30 // 30
    SL = 45 // 45
    TP = 110 // 110

    //MACD settings
    a = 12 // 12
    b = 26 // 26
    c = 9 // 9

    // Conditions pour ouvrir une position en vente à découvert
    indicator1 = MACD[a,b,c](close)
    c1 = (indicator1 CROSSES UNDER 0)
    indicator2 = MACDline[a,b,c](close)
    c2 = (indicator2 < 0)
    indicator3 = ExponentialAverage[mafilter](close)
    c3 = (close < indicator3)
    indicator4 = ExponentialAverage[mafilter](close)
    indicator5 = ExponentialAverage[mafilter](close)
    c4 = (indicator4 =trailingstop*pointsize then //if the MFE is higher than the trailingstop then
    priceexit = MINPRICE+trailingstop*pointsize //set the exit price at the MFE + trailing stop price level
    endif
    endif

    //exit on trailing stop price levels
    if onmarket and priceexit>0 then
    EXITSHORT AT priceexit STOP
    SELL AT priceexit STOP
    endif

    SET STOP Ploss SL
    Set Target PProfit TP

  9. Inertia • 10/13/2017 #

    Thank you.
    Sorry, there is a bug on line 52…

  10. Vieux Marin • 10/13/2017 #

    //————————————————————————-
    // Code principal : Dax Short 15′
    //————————————————————————-
    //———————————–
    // Code principal : Dax Short 15′
    //————————————————————————-
    // Définition des paramètres du code
    // From Inertia
    //Last optimization 26/07/2017

    DEFPARAM Preloadbars = 3000
    DEFPARAM CumulateOrders = False
    DEFPARAM FLATBEFORE = 100000
    DEFPARAM FLATAFTER = 180000
    noEntryBeforeTime = 100000
    timeEnterBefore = time >= noEntryBeforeTime
    noEntryAfterTime = 213000
    timeEnterAfter = time < noEntryAfterTime
    daysForbiddenEntry = OpenDayOfWeek = 1 OR OpenDayOfWeek = 3 OR OpenDayOfWeek = 6 OR OpenDayOfWeek = 0

    REM Variables
    // Taille des positions
    REINV = 1
    LEVIER = 3
    IF REINV = 0 THEN
    N = 1
    ELSIF REINV = 1 THEN
    capital = 500 + strategyprofit
    n = (capital / 500)*LEVIER
    N = round(n)
    ENDIF
    ordersize = N

    mafilter = 2000 // 2000
    TS = 30 // 30
    SL = 45 // 45
    TP = 110 // 110

    //MACD settings
    a = 12 // 12
    b = 26 // 26
    c = 9 // 9

    // Conditions pour ouvrir une position en vente à découvert
    indicator1 = MACD[a,b,c](close)
    c1 = (indicator1 CROSSES UNDER 0)
    indicator2 = MACDline[a,b,c](close)
    c2 = (indicator2 < 0)
    indicator3 = ExponentialAverage[mafilter](close)
    c3 = (close < indicator3)
    indicator4 = ExponentialAverage[mafilter](close)
    indicator5 = ExponentialAverage[mafilter](close)
    c4 = (indicator4 =trailingstop*pointsize then //if the MFE is higher than the trailingstop then
    priceexit = MINPRICE+trailingstop*pointsize //set the exit price at the MFE + trailing stop price level
    endif
    endif

    //exit on trailing stop price levels
    if onmarket and priceexit>0 then
    EXITSHORT AT priceexit STOP
    SELL AT priceexit STOP
    endif

    SET STOP Ploss SL
    Set Target PProfit TP

  11. tecknozic • 10/13/2017 #

    Bonjour Inertia, cette sais-tu si cette stratégie fonctionne sur un compte IG à “risque limité” ? Car je crois qu’il y a une restriction sur le fonctionnement des trailing stops. Mais peut-être que ton code contourne cette restriction de par sa conception ? Merci.

    • Inertia • 10/13/2017 #

      Bonjour tecknozic…. Je ne sais pas… Désolé.
      Bonne chance 😉

  12. teddy58 • 10/13/2017 #

    This system is the only one running on my PC, which i didn´t developed my myself. My forcast was correct, the system makes money !! Gratulation, you understand the DAX.

  13. xpiga • 10/13/2017 #

    Hi! Is this system still working good? Anyone has it in the live account? It looks great.
    Thank you for sharing

  14. Paul_Going Dutch • 219 days ago #

    Proformence will be beter with other starting hours and closing hours @Inertia

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+5 more likes

Related users ' posts
Nicolas Thanks for sharing your automated trading strategy idea. Even if you accumulate loosing orde...
Maz Ok. Potential here to build onto this. Have opened a forum thread for further discussion: h...
ALE
7 years ago
CSR strategy DAX 1 D
CSR strategy DAX 1 D
17
Strategies
Jesper I tried it on dax 1D and I did not get any trades. Shifted to 10H and it started working. Wo...
rgrgrgr I have the same problem
avatar
crazytrader Is this working?
Francesco78 I did a little bit of work on that and now the results looks better and more stable. Please...
Francesco78 I did a little bit of work on that and now the results looks better and more stable. Please...
Khaled Hi Francesco , thank you for sharing your hard work. Any idea why all orders are executed at...
JanWd Thank you for the coding, it seems promising. FTSE gives for the short term (5 min) promis...
Jan Wind 21.04.2019: I retested the strategy for the DAX 5 minutes , it works fine for 10.000 bars, b...
bertrandpinoy hello Francesco, are you still working on this strategy?
avatar
bjoern With the same parameters? For me the results are negative
avatar
bjoern Oh ok, with the initial posted parameters it is positive
victormork yes! It's not like you want to put it on live but when I for example take the version I have...
otty82  all right. thanks
mmichael Hello, I noticed that the indicator shows the initial balance of today but also for all the ...
leyoy Bonjour, comment l'adapter sur 15 minutes au lieu de 1 heures ... j'ai changé 090000 par 081...
Derek Nice strategy. Have you tried adding a stop loss since there are a few sharp drawdowns? I ...
Piston_Broke Non so .... da qui la mia domanda iniziale :-)
Piston_Broke Hi Derek. I have tried many different ways to apply SL's to this and similar versions of th...
Nicolas Indeed, if you are not willing to loose, you will always win. Averaging down losers can carr...
David You're always safer going Long especially with averaging down on an index as the probability...
Oskar Bergvall  I noted Davids and Nicolas remarks. Could it be possible to make an indicator for contraria...
Lotar
7 years ago
Nicolas You can send it to contact@prorealcode.com and I'll attach it here. Thanks for your sharing!
Francesco78 Hi Lotar, which variables would you choose to recalibrate it to the present market condition...
Degardin Arnaud unfortunatly in today's market it's not working at all...
Nicolas it is based on seasonality of DAX.
Luciano Santiago Juárez Hello I am new here I am trying to understand this code IF monthlyMultiplierLong > 0 ...
Luciano Santiago Juárez Sorry the code copied bad the line I dont understand is: ELSIF monthlyMultiplierLong 0 THEN
Wing Yes, investigate as much as you want. For more insight, you can view the linet1, linet2 etc....
CKW Hi Wing, Thanks for your sharing. I am still trying to breakdown & understand your code...
Wing Hello CKW. No, the parameter, 7 in this case, is used when calling the RSI indicator to ide...
Nacho Buenos días Raul, tengo puesto este sistema desde hace unos días en una cuenta demo en la ve...
Dominik Hola Raul ... it looks wonderful :-) Why does it not work if I use less than 100,000 € capi...
Bobbi Hola y gracias por compartir! Descubrí que en 5 minutos teníamos algo muy bueno! Pero no ...
danhei Hi I am tryong to figure out how trist strategy works. I am new to pro real time. Can some...
Plop61 Hello,Thank you for sharing this beautiful strategy.Is it possible to indicate the code for ...
NoName Thank you very much for this fascinating trading system. It is still proving to be extremely...
ALE
7 years ago
pollon Ciao Ale,  anche a me da questo errore  "QQE_QUDAX1HBUY"  "QQE_QUDAX1HSELL"  "UNIV_QUDAX...
reb Hi Ale do you trade these QU strategies?  Are the results same as backtests Thnaks in adv...
avatar
crazytrader Hi anyone that has run this lately?
larouedegann best with this hour IF TIME =081000 THEN plushaut=highest[2](high) plusbas = lowest[2](lo...
CanAny1Trade Hi! I'm trying to put together a similar indicator but struggling. I want to mark the NY Pit...
ALE Hi Pat This code was nothing more than an experiment
pat95162 Hi Ale Do you have same results as me ? The strategy works very well in 2017 and now in 2-...
Nicolas Built on the history means that it suits the history. Always develop ideas in In-Sample peri...
ALE
8 years ago
ALE no, only with TF 15m
enzo_52 Grazie tante, Thanks so much 
JanWd Hallo Ale, First of all, thank you for this strategy. Could you explain what the BLUSTER ...
Elsborgtrading No that is wrong :) 1st runs always- then only run 2nd if 1st is on market with positions(ar...
Elsborgtrading It can only be fully automated if IG change minimum SLto 7 at night on DAX multi timefra...
Elsborgtrading A small example. the strategy would have opened 3 position on Dec 4th 2016 and keept it for ...
Cosmic1
8 years ago
Cosmic1 @JadeDB What times are you putting in?
sincitytrader I tried this one out recently,  and wasn't profitable for me.
Cosmic1 Yes, not great lately. I stopped this live at the end of last year. Will wait to see when th...
Philip Raphael Hey! Thank so much for sharing this wonderful indicator! I have always tried to code a simil...
CKW Hi Philip, What do you mean "Years" are not defined ? candle? If to code yearly candle size...
dakaodo Years not defined was probably b/c Phillip copied and pasted the code into PRT instead of im...

Top