Fractal breakout intraday Strategy EUR/USD 1H –

Viewing 15 posts - 136 through 150 (of 360 total)
  • Author
    Posts
  • #34347 quote
    GraHal
    Participant
    Master

    Stanton got this working

    e= Highest[DC](high)

    f=Lowest[DC](low)

    by doing this

    DEFPARAM CumulateOrders = false
    If NOTONMARKET Then
    DC=20// period of Donchian Stop
    Endif
    
    IF LONGONMARKET THEN
    DC=20// period of Donchian Stop
    TGL=5//Trailing Stop pip distance
    TP=30//take profit
    //SL=50// stop loss
    ELSIF SHORTONMARKET THEN
    DC=20// period of Donchian Stop
    TGS=5
    TP=30
    //SL=50
    ENDIF

    #34350 quote
    ALE
    Moderator
    Master

    ok I’ve already posted code with first the first correction of stanton:

    Updated the code like this. Just assigned a default value to the variables. can be overwritten if long or short.

    DEFPARAM CumulateOrders = false
    //LONG VARIABLES
    DC=20// period of Donchian Stop
    TGL=5//Trailing Stop pip distance
    TGS=5
    TP=30
    
    IF LONGONMARKET THEN
    DC=20// period of Donchian Stop
    TGL=5//Trailing Stop pip distance
    TP=30//take profit
    //SL=50// stop loss
    ELSIF SHORTONMARKET THEN
    DC=20// period of Donchian Stop
    TGS=5
    TP=30
    //SL=50
    ENDIF
    #34518 quote
    Despair
    Blocked
    Master

    This one really looks promising. Nice work Ale! But i wonder which are the latest versions of the different files. There are so many versions on the last pages, it is little confusing.

    I’m just running a WF-test on FBS_EURUSD_30M_V2 (i hope this wasnt the wrong version).

    What do you guys who set this life use for values for CP and TP?

    Will of course share my WF-result (if the PC doesnt crash LOL).

    #34532 quote
    ALE
    Moderator
    Master

    Hello despair

    the first page is updated with latest version

    #34566 quote
    StantonR
    Participant
    Senior

    6o minute version entered long trade at 18:00 South Africa Time. @ 1,0965

    Stoploss moved to break even at 19:00 . So far so good.

    #34567 quote
    ALE
    Moderator
    Master

    Confirmed..

    #34570 quote
    StantonR
    Participant
    Senior

    Got stopped out at – 10 cents now its climbing.
    Considering increasing trailing stop to 10.

    #34580 quote
    ALE
    Moderator
    Master

    @stanton

    i thought to optimize last 5 year, but not finish yet but seem that 1H eurusd work well with:

    cp 104

    tgl 9

    tgs 11

    i let you know finish test tomorrow

    victormork thanked this post
    #34608 quote
    GraHal
    Participant
    Master

    Hi Ale

    You said … first page is updated with latest version … this is very useful.

    Might we have latest v3 & v4 on the first page / post also please?

    Many Thanks
    GraHal

     

    #34612 quote
    victormork
    Participant
    Veteran

    Hi guys, I’ve started a rough version on AUDUSD 30M. Had to ad an ADX filter for it to work better.

    GraHal, ALE and manel thanked this post
    #34649 quote
    ALE
    Moderator
    Master

    Hello Victor,

    good Idea to move to others take profit and trailing stop, could you explain me trailing stop logik..?

    Thanks

    Ale

    #34651 quote
    ALE
    Moderator
    Master

    @ Grahal

    yes I’ll do it asap

    Tks
    ALe

    GraHal thanked this post
    #34657 quote
    victormork
    Participant
    Veteran

    Sorry guys, the comment I wrote on the trailing start doesn’t seem to be completely valid. But there is a reason behind it. I added the comment because when I’d a look earlier at the minimum stop distance for this pair it was set to 6 pips, but in my WF testing I got  a suggested result of like 2 or 3, and if I would put on a trailing stop starting so  tight there would not be enough space for the price to move because we need to keep in mind that the first break even level is set our entry level + the value of TGS. (Btw the 100 000 bars backtest result is better with TGL = 3 and TGS = 1 but I’m not sure if it works in reality and when the minimum stop distans gets increased like it must have been when I first checked your system will fail)

    I suggest also to try the  MFE stop from Nicolas (https://www.prorealcode.com/blog/learning/trailing-stop-max-favorable-excursion-mfe/), sometime it’s better than the fixed step trailing one (but not always).

    Another thing I’ve been trying which is not yet in this code is a dynamic profit target based on ATR. Especially with forex it helps to adjust the target level after the current volatility of the market.

    One issue I’ve been facing with the FX pairs attached to the Asian session is that the time restriction doesn’t work as well as on pairs connected to the European and American session.

    Ale has done a great work on the EURUSD and I hope that more people could have a look at other markets in the meantime in order to speed up the development. Start with the lowest spreads and keep on testing different combinations and timeframes!

    Cheers and have a great weekend!

    ALE thanked this post
    #34665 quote
    ALE
    Moderator
    Master

    Hello victor

    thank you very much for your support

    I’m agree with your ideas, I’ve start with Trailing stop =5 because it’s the minimum distance stop for this pair

    Eurusd response better then the others, many others market need a fixed stop, filter to entry at market, and dynamic take profit

    Tksnks

    Ale

    #35221 quote
    JR1976
    Participant
    Veteran

    Good afternoon Ale ,

    First of all congratulations for the  excellent TS and the good explanations of that .

    My question  is, in the previous post you talk about :

    @KASPER This is results with 1 lot and risk 0.3

    If I use 4 lot ( in EUR/USD mini ) , I reduce the capital to 5000  and  I set the risk ..3

    What do you Think

    Example

     

    //KASPER CODE OF REINVESTMENT
    Reinvest=1
    if reinvest then
    Capital = 5000
    Risk = 3//0.1//in % pr position
    StopLoss = 48
    REM Calculate contracts
    equity = Capital + StrategyProfit
    maxrisk = round(equity*(Risk/100))
    MAXpositionsize=5000
    MINpositionsize=4
    Positionsize= MAX(MINpositionsize,MIN(MAXpositionsize,abs(round((maxrisk/StopLoss)))))//*Pointsize))))
    else
    Positionsize=4
    StopLoss = 48
    Endif
Viewing 15 posts - 136 through 150 (of 360 total)
  • You must be logged in to reply to this topic.

Fractal breakout intraday Strategy EUR/USD 1H –


ProOrder support

New Reply
Author
author-avatar
ALE @aleale Moderator
Summary

This topic contains 359 replies,
has 1 voice, and was last updated by RandyG
2 years, 6 months ago.

Topic Details
Forum: ProOrder support
Language: English
Started: 04/16/2017
Status: Active
Attachments: 174 files
Logo Logo
Loading...