GH FibRetrace DAX 1Hour

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31799 quote
    GraHal
    Participant
    Master

    Hello Fellow Traders

    Attached – Fibonaci  61.8% Retrace System for Dax 1H.

    Backtest results shown are Spreadbet (@ £1 per point) with a 2 point spread.

    Please BackTest over 200K bars (I have max 100K bars) and post results on here.

    Please code up improvements and post on here.

    Cheers
    GraHal

    //Author: GraHal (inspiration & thanks to Nicolas for his Fib Screener)
    //Fibonacci 61.8% Retrace Auto-System for DAX 1 Hour
    
    DEFPARAM CUMULATEORDERS = False
    
    hh = highest[100](high)
    ll = lowest[110](low)
    fib618 = (hh-ll)*0.618
    
    //GO LONG
    LONGlevel618 = hh-fib618
    LONGnearpercent =  ABS(1-(close/LONGlevel618))*100
    If Close > Average[200](close) AND LONGnearpercent < 0.004 Then
    Buy 1 Contract at Market
    Endif
    
    //EXIT LONG
    If LONGonmarket Then
    SET TARGET PPROFIT 135
    SET STOP PLOSS 60
    Endif
    
    //GO SHORT
    SHORTlevel618 = ll+fib618
    SHORTnearpercent =  ABS(1-(close/SHORTlevel618))*100
    If Close < Average[165](close) AND SHORTnearpercent < 0.004 Then
    SellShort 1 Contract at Market
    Endif
    
    //EXIT SHORT
    If SHORTonmarket Then
    SET TARGET PPROFIT 190
    SET STOP PLOSS 60
    Endif
    
    Fib-Bot.jpg Fib-Bot.jpg Fib-Bot-2.jpg Fib-Bot-2.jpg GH-FibRetrace-DAX-1H.itf
    #31873 quote
    Nicolas
    Keymaster
    Master

    Your 100k bars optimisation of moving average periods, takeprofit and stoploss values has introduce a bias for this period. Even if the overall result is not so bad, I suggest a WF analysis with Out of Sample tests 🙂 Done with TP/SL and highest high / lowest low period in the first example (with a 200SMA for your exit conditions) and with the SMA period too in the second example attached.

    GraHal thanked this post
    dax-1-hour-intraday-trading-strategy-fibonacci-retracement.png dax-1-hour-intraday-trading-strategy-fibonacci-retracement.png walk-forward-dax-1-hour-trading-strategy.png walk-forward-dax-1-hour-trading-strategy.png wf-test-dax-1-hour-second-example.png wf-test-dax-1-hour-second-example.png
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

GH FibRetrace DAX 1Hour


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
8 years, 11 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/11/2017
Status: Active
Attachments: 6 files
Logo Logo
Loading...