strategy BarHunter DAX v1p

Viewing 15 posts - 61 through 75 (of 256 total)
  • Author
    Posts
  • #117859 quote
    fifi743
    Participant
    Master

    Hi Paul
    From line 140 add the daily and weekly pivot.
    With a gap between the price and the pivot

    Paul thanked this post
    Capture-d’écran-492.png Capture-d’écran-492.png BarHunter-v3p-MOD-FIFI-1.itf
    #117879 quote
    Paul
    Participant
    Master

    Goodmorning Fifi,

    nice! I found last half part of december is not so good and better not to trade.

    once holiday            = 1
    
    // reset
    if intradaybarindex=0 then
    tradecounter=0
    breakvaluelong=99999
    breakvalueshort=0
    tradeday=1
    endif
    
    
    // holiday
    if holiday then
    if month=12 and day>=15 then
    tradeday=0
    else
    tradeday=1
    endif
    endif
    fifi743 and Florian thanked this post
    Screenshot-2020-01-26-at-12.56.12.jpg Screenshot-2020-01-26-at-12.56.12.jpg
    #117886 quote
    Florian
    Participant
    Senior

    Hello ,

    The FIFI BarHunter-v3p-MOD-FIFI-1.itf strategy is excellent on SAF40! GOOD JOB @fifi743 for creating the virtual stop!

    fifi743 thanked this post
    #117887 quote
    fifi743
    Participant
    Master
    #117914 quote
    GraHal
    Participant
    Master

    excellent on SAF40

    I agree but the spread at 30 points on entry would knock a chunk out of the profits?

    Florian.jpg Florian.jpg
    #117916 quote
    Jeremy8
    Participant
    Junior

    Merci Fifi pour le partage.

    En effet la stratégie est tres prometteuse.

    Toutefois, j’ai essayé de l’automatiser sur un compte réel mais PRT m’en empeche à cause de “remplacer variables par de valeurs fixes” et “l’instruction graph”.

    Avez vous essayé de la faire tourner en réel? Si oui comment avez vous fait?

    Merci

    #117917 quote
    Francesco
    Participant
    Veteran

    Speak English in the english forum

    #117919 quote
    fifi743
    Participant
    Master

    LINE 468 I added
    RSI position closing + barindex-tradeindex

    Paul, Francesco and GraHal thanked this post
    Capture-d’écran-495.png Capture-d’écran-495.png BarHunter-v3p-MOD-FIFI-3.itf
    #117922 quote
    fifi743
    Participant
    Master

    Merci Fifi pour le partage.

    Did you ask the creator of the algorithm for permission?
    If you do not have authorization the algorithm will put your account at 0

    #117923 quote
    fifi743
    Participant
    Master

    Do you know the Backtrader site ?
    there are very interesting things in the articles.

    #117925 quote
    Florian
    Participant
    Senior

    @GraHal I agree with you! But I prefer to take 50% of something, rather than 100% of nothing 🙂

    To go further, I have a strategy that allows me to diversify and decorrelate my strategies.
    I develop strategies that are complementary and this one is little in the market, rather regular and generates gains when my other strategies are losing.
    The other interesting point is that I integrated a reinvestment of earnings compared to the starting capital which allows to compensate for the penalizing spread.

     

    Maybe you have any suggestions? 🙂

    GraHal thanked this post
    #117926 quote
    Paul
    Participant
    Master

    Thanks for the tip. Will take a look!

    #117935 quote
    fifi743
    Participant
    Master

    Interesting but how to decorrelate strategies.
    Since no strategy is connected together.

    #117942 quote
    fifi743
    Participant
    Master
    #117954 quote
    Paul
    Participant
    Master

    always liked to close the position if possible before the weekend.

    So I’ve this

    once closebeforeweekend = 0
    
    once closebeforeweekendinloss =0
    once securebeforeweekendprofit=1
    
    if closebeforeweekend then
    if onmarket then
    if (dayofweek=5 and hour>=22) then
    sell at market
    exitshort at market
    endif
    endif
    endif
    
    if securebeforeweekendprofit then
    if (dayofweek=5 and hour>=18) then
    if longonmarket then
    if close>positionprice+15 then
    sell at tradeprice(1)+10 stop
    //else
    //if hour>=22 then
    //sell at market
    //endif
    endif
    endif
    if shortonmarket then
    if close<positionprice-15 then
    exitshort at tradeprice(1)-10 stop
    else
    if hour>=22 then
    exitshort at market
    endif
    endif
    endif
    endif
    endif
    
    if closebeforeweekendinloss then
    if (dayofweek=5 and hour>=22) then
    if longonmarket then
    if close<positionprice then
    sell at market
    endif
    endif
    if shortonmarket then
    if close>positionprice then
    exitshort at market
    endif
    endif
    endif
    endif
    fifi743 thanked this post
Viewing 15 posts - 61 through 75 (of 256 total)
  • You must be logged in to reply to this topic.

strategy BarHunter DAX v1p


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Paul @micky75d Participant
Summary

This topic contains 255 replies,
has 11 voices, and was last updated by sfl
2 years, 6 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 01/15/2020
Status: Active
Attachments: 136 files
Logo Logo
Loading...