STRATEGIE avec l'indicateur Super ARROW

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #116738 quote
    Florian
    Participant
    Senior

    Bonjour @Nicolas,

    Est-il possible de transformer l’indicateur super arrow avec les conditions d’achat au signal d’achat flèche verte, et de vente à la flèche rouge.

    Les variables seront optimisables suivant l’UT.

    Pour le sorties je pense travailler par la suite sur des stop loss.

    Merci

    PRC_Super-Arrow-Indicator.itf
    #116775 quote
    Nicolas
    Keymaster
    Master

    Voilà la stratégie de trading automatique ci-dessous. Attention pas de stoploss, ni de takeprofit, uniquement les prises de positions sur les flèches.

    DEFPARAM CumulateOrders = False
    
    //Super Arrow strategy from:
    //PRC_Super Arrow Indicator | indicator
    //24.10.2019
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    
    // --- settings
    FasterMovingAverage = 5
    SlowerMovingAverage = 200
    RSIPeriod = 12
    MagicFilterPeriod = 14
    BollingerbandsPeriod = 20
    BollingerbandsShift = 0
    BollingerbandsDeviation = 1.6
    BullsPowerPeriod = 50
    BearsPowerPeriod = 50
    // --- end of settings
    
    ima12 = average[FasterMovingAverage,1]
    ima28 = average[FasterMovingAverage,1][1]
    ima20 = average[SlowerMovingAverage,1]
    ima36 = average[SlowerMovingAverage,1][1]
    irsi44 = RSI[RSIPeriod](CLOSE)
    irsi52 = RSI[RSIPeriod](CLOSE)[1]
    ibullspower=high-average[bullspowerperiod,1]
    ibearspower=low-average[bearspowerperiod,1]
    ibullspower60 = iBullsPower
    ibullspower68 = iBullsPower[1]
    ibearspower76 = iBearsPower
    ibearspower84 = iBearsPower[1]
    ibandsup=average[bollingerbandsperiod][bollingerbandsshift]+std[bollingerbandsperiod](close)[bollingerbandsshift]*bollingerbandsdeviation
    ibandsdn=average[bollingerbandsperiod][bollingerbandsshift]-std[bollingerbandsperiod](close)[bollingerbandsshift]*bollingerbandsdeviation
    ibands152=ibandsup
    ibands160=ibandsdn
    ibands168=ibandsup[1]
    ibands176=ibandsdn[1]
    hh = highest[MagicFilterPeriod](high)
    ll = highest[MagicFilterPeriod](low)
    ld92=0
    ld100=0
    for i = 1 to MagicFilterPeriod do
    if high[i]=hh then
    ld92=i
    endif
    if low[i]=ll then
    ld100=i
    endif
    if ld92>0 and ld100>0 then
    break
    endif
    next
    
    Ld108 = 100 - 100.0 * ((Ld92 - 0.0) / 10.0)
    Ld116 = 100 - 100.0 * ((Ld100 - 0.0) / 10.0)
    if (Ld108 = 0.0) then
    Ld108 = 0.0000001
    endif
    if (Ld116 = 0.0) then
    Ld116 = 0.0000001
    endif
    Ld124 = Ld108 - Ld116
    if (Ld124 >= 0.0) then
    Gi148 = 1 //true
    Gi168 = 0 //false
    else
    if (Ld124 < 0.0) then
    Gi148 = 0 //false
    Gi168 = 1 //true
    endif
    endif
    
    if (Close > ibands152 and Close[1] >= ibands168) then
    Gi144 = 0
    Gi164 = 1
    endif
    if (Close < ibands160 and Close[1] <= ibands176) then
    Gi144 = 1
    Gi164 = 0
    endif
    if (ibullspower60 > 0.0 and ibullspower68 > ibullspower60) then
    Gi140 = 0
    Gi160 = 1
    endif
    if (ibearspower76 < 0.0 and ibearspower84 < ibearspower76) then
    Gi140 = 1
    Gi160 = 0
    endif
    if (irsi44 > 50.0 and irsi52 < 50.0) then
    Gi136 = 1
    Gi156 = 0
    endif
    if (irsi44 < 50.0 and irsi52 > 50.0) then
    Gi136 = 0
    Gi156 = 1
    endif
    if (ima12 > ima20 and ima28 < ima36) then
    Gi132 = 1
    Gi152 = 0
    endif
    if (ima12 < ima20 and ima28 > ima36) then
    Gi132 = 0
    Gi152 = 1
    endif
    if (Gi132 and Gi136 and Gi144 and Gi140 and Gi148 and Gi172 <> 1) then
    //drawarrowup(barindex,Low - 1.3 * std[14]) coloured(0,255,0)
    buy at market
    Gi172 = 1
    endif
    if (Gi152 and Gi156 and Gi164 and Gi160 and Gi168=0 and Gi172 <> 2) then
    //drawarrowdown(barindex,High + 1.3 * std[14]) coloured(255,0,0)
    sellshort at market
    Gi172 = 2
    endif
    #116779 quote
    Florian
    Participant
    Senior

    Un grand merci !

    #118269 quote
    MAKSIDE
    Participant
    Veteran

    Salut

    j’avais déjà cette stratégie. Perdante. Il est préférable de te focaliser sur une strat… 😉

    #118279 quote
    Florian
    Participant
    Senior

    @Makside merci du conseil j’avais déjà abandonné ! 😂

    Je travail sur une stratégie intéressante avec Bollinger et Chikou.

    Et toi ?

    #118300 quote
    MAKSIDE
    Participant
    Veteran

    De rien… 😉

    J’ai pas mal de bots en M1, M5, M15, H4 sur dax, dow, tech..

    Mais actuellement j essaie de peaufiner un bot en M1 Dow, environ 16℅ ts les 6 mois avec 1 lot 1€. Profit factor > 5, Ddmax < 100€ pour 80 trades gagnants et 3 pertes en 200k, MFE ok. J essaie de régler le stop… pour arriver à 0.. 😉

    Je teste aussi des choses en BB, du breakout, du hedging…

    #118315 quote
    Florian
    Participant
    Senior

    @Makside c’est marrant nous sommes plutôt complémentaire ! Ma stratégie la plus courte c’est en M15 😂 M30, 4h et journalier. Donc bravo pour pour du M1 et M5.

    Pour ma part Dax, EUR/USD et sur Societe generale ( BB et  ! Va savoir pourquoi société Générale ! Ah si la volatilité ! ☺️ J’aimerai bien sur le Dow et le Nikkei et le pétrole…

    je cherche à décoreller les stratégies et j’ai la volonté de toujours améliorer mais quelle énergie … et parfois tellement de déception.

    Nous pouvons s’entraider si tu veux 😉 tu es pas de Lyon par hasard ?

    #118322 quote
    MAKSIDE
    Participant
    Veteran

    Cool 😉

    La diversification est notre ami

    Eur/usd c est bien… Bonne couverture

    Dow ca reste plus nerveux que le Dax

    Matieres premieres c est pas mal Ms le spread reste important. Oil, sucre, café..

    Pas de pb pour me trouver ms fait passer par Nicolas qui nous mettra en relation..

    #123209 quote
    Florian
    Participant
    Senior

    @Nicolas est-il poSsible de me mettre en relation avec Makside s’il te plaît ?

    Merci

     

    florian

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.

STRATEGIE avec l'indicateur Super ARROW


ProOrder : Trading Automatique & Backtests

New Reply
Author
Summary

This topic contains 8 replies,
has 3 voices, and was last updated by Florian
5 years, 11 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 01/14/2020
Status: Active
Attachments: 1 files
Logo Logo
Loading...