ajout sur un super indicateur de price action

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #215152 quote
    geroniman
    Participant
    Average

    bonjour

    voici un super indicateur de price action, le TIGER. pour un buy il y aune fleche sous la bougie pour indiquer le trade. Jaimerai des pointillés vert ou rouge ( dottedline) sur la cloture de la bougie . ( il y en a sur le plus bas de la bougie mais pas au niveau du plus haut). Merci. et régalez vous avec cet indicateur.

     

    //
    defparam calculateonlastbars = 1000
    if Close>( max(max(high,high[1]),max(high[1],high[1]) ))[1] then
    D=Min(Min(low,low[1]),Min(low[1],low[1]))
    elsif close<(Min(Min(low,low[1]),Min(low[1],low[1])))[1] then
    D=Max(Max(high,high[1]),Max(high[1],high[1]))
    else
    D=D[1]
    endif
    //plot1 = 0
    //plot2 = 0
    
    rge = averagetruerange[30](close)
    
    
    
    
    if (close crosses over D) then
    //plot1 = 1
    DRAWARROWUP(barindex,low[1]-0.2*rge) coloured(250,250,0,255)
    DRAWTEXT(".",BarIndex,low[1]-0.1*rge,dialog,bold, 2) coloured(255,255,20,255) //(H1/H4 = +7) (1 min = -1)
    
    levelDwn=low[0]
    
    //else
    //plot1 = 0
    endif
    if (close crosses under D) then
    DRAWARROWDOWN(barindex,high[1]+0.2*rge) coloured(250,250,0,255)
    DRAWTEXT(".",BarIndex,high[1]*0.1*rge,dialog,bold, 2) coloured(0,0,0,255) //(H1/H4 = +7) (1 min = -1)
    //plot2=-1
    //else
    //plot2=0
    levelUP=high[0]
    endif
    
    
    
    
    return D,levelUp coloured(250,250,250) STYLE(DOTTEDLINE),levelDwn coloured(0,0,0) STYLE(DOTTEDLINE)
    #215158 quote
    robertogozzi
    Moderator
    Master

    N’est-ce pas le même que celui que vous avez posté il y a environ 4 ans  https://www.prorealcode.com/topic/placer-des-fleches-buy-sell-a-partir-de-mon-indic/?

    Publiez uniquement dans la langue du forum dans laquelle vous publiez. Par exemple, l’anglais uniquement dans les forums anglophones et le français uniquement dans les forums francophones.

    Je l’ai déplacé du forum anglais.

    Merci 🙂

    #215169 quote
    geroniman
    Participant
    Average

    Oui Roberto c’est un ITF quej ‘utilise depuis des années. Merci.

    #215170 quote
    Nicolas
    Keymaster
    Master

    Il faut modifier la dernière ligne avec:

    return D,levelUp coloured("green") STYLE(DOTTEDLINE),levelDwn coloured(0,0,0) STYLE(DOTTEDLINE), levelup coloured(0,0,0) STYLE(DOTTEDLINE)

    et modifier le nom de la couleur à convenance.

    #215173 quote
    JC_Bywan
    Moderator
    Master

    Lignes 3 et 6 :   max(high[1],high[1])    ???

    Lignes 4 et 5 :   min(low[1],low[1])   ???

    Si c’est intentionnel je ne vois pas l’intérêt, et si plus probablement ça n’est pas intentionnel car faute(s) de frappe dans les rangs des high et low, alors D s’en trouve faussé, les cross over/under aussi, et l’indicateur n’affiche pas forcément le résultat escompté.

    #215187 quote
    geroniman
    Participant
    Average

    merci bien Nicolas pour ta réponse mais ce que je souhaite c’est sur un signal BUY , un dottedline sur le plus haut, et sur un signal SELL un dottedline sur le plus bas de la bougie

    #215188 quote
    geroniman
    Participant
    Average

    JC exact. Voici le bon ITF

     

    //
    defparam calculateonlastbars = 1000
    if Close>( max(max(high,high[2]),max(high[1],high[2]) ))[1] then
    D=Min(Min(low,low[2]),Min(low[1],low[2]))
    elsif close<(Min(Min(low,low[3]),Min(low[1],low[2])))[1] then
    D=Max(Max(high,high[2]),Max(high[1],high[2]))
    else
    D=D[1]
    endif
    //plot1 = 0
    //plot2 = 0
    
    rge = averagetruerange[30](close)
    
    
    
    
    if (close crosses over D) then
    //plot1 = 1
    DRAWARROWUP(barindex,low[1]-1*rge) coloured(0,255,255,250)
    DRAWTEXT(".",BarIndex,low[1]-0.3*rge,serif,bold, 15) coloured(0,255,255,255) //(H1/H4 = +7) (1 min = -1)
    
    levelDwn=low[0]
    
    //else
    //plot1 = 0
    endif
    if (close crosses under D) then
    DRAWARROWDOWN(barindex,high[1]+1*rge) coloured(250,0,0,250)
    DRAWTEXT(".",BarIndex,high[1]+0.5*rge,serif,bold, 15) coloured(0,0,0,255) //(H1/H4 = +7) (1 min = -1)
    //plot2=-1
    //else
    //plot2=0
    levelUP=high[0]
    endif
    
    
    
    
    return D,levelUp coloured(0,250,0) STYLE(DOTTEDLINE),levelDwn coloured(250,0,0) STYLE(DOTTEDLINE)
    dax-5mn-25mai.png dax-5mn-25mai.png
    #215200 quote
    Nicolas
    Keymaster
    Master

    Hmm ok, je pense que cette fois on y est avec cette version ! 🙂

    //
    defparam calculateonlastbars = 1000
    if Close>( max(max(high,high[2]),max(high[1],high[2]) ))[1] then
    D=Min(Min(low,low[2]),Min(low[1],low[2]))
    elsif close<(Min(Min(low,low[3]),Min(low[1],low[2])))[1] then
    D=Max(Max(high,high[2]),Max(high[1],high[2]))
    else
    D=D[1]
    endif
    //plot1 = 0
    //plot2 = 0
    
    rge = averagetruerange[30](close)
    
    
    
    
    if (close crosses over D) then
    //plot1 = 1
    DRAWARROWUP(barindex,low[1]-1*rge) coloured(0,255,255,250)
    DRAWTEXT(".",BarIndex,low[1]-0.3*rge,serif,bold, 15) coloured(0,255,255,255) //(H1/H4 = +7) (1 min = -1)
    
    levelDwn=low[0]
    hh=high
    
    //else
    //plot1 = 0
    endif
    if (close crosses under D) then
    DRAWARROWDOWN(barindex,high[1]+1*rge) coloured(250,0,0,250)
    DRAWTEXT(".",BarIndex,high[1]+0.5*rge,serif,bold, 15) coloured(0,0,0,255) //(H1/H4 = +7) (1 min = -1)
    //plot2=-1
    //else
    //plot2=0
    levelUP=high[0]
    ll=low
    endif
    
    
    
    
    return D,levelUp coloured(0,250,0) STYLE(DOTTEDLINE),levelDwn coloured(250,0,0) STYLE(DOTTEDLINE),hh coloured(250,0,0) STYLE(DOTTEDLINE),ll coloured(0,250,0) STYLE(DOTTEDLINE)
    #215340 quote
    geroniman
    Participant
    Average

    Bravo merci Nicolas. c’est ce qu’ il manquait. sur cette stratégie des TIGER

    Résumé: TIGER long bougie bleue avec un trait bleu sur le plus haut pour un buystop et un jaune sur l eplus bas pour un sell stop. il faudra filterre les siganux avec stoch, rsi ( ce que vous voulez- de moncoté je flitre avec un bandeau de stoch 5.3.3 et 10.6.6. pour les siganux short sur bougie rouge, trait rouge sur le plus abs pour un sellstop et vert sur le plus haut de la bougie pour un buystop.. letrait noir c’est le stoploss basé sur le plus haut/plus bas des 2 derniéres bougies précedant le signal. A votre dispsoition pour toute remarque

    TIGER-DAX-29-MAI-5MN-3.png TIGER-DAX-29-MAI-5MN-3.png TIGER-DAX-29-MAI-5MN-2.png TIGER-DAX-29-MAI-5MN-2.png TIGER-DAX-29-MAI-5MN-1.png TIGER-DAX-29-MAI-5MN-1.png TIGER-DAX-29-MAI-30MN-1.png TIGER-DAX-29-MAI-30MN-1.png
    #215384 quote
    geroniman
    Participant
    Average

    pour simplifier les couleurs, j ai placé trait rouge sur bas du signal SELL et vert sur le haut de la bougie et inversement trait vert sur haut de signal BUY et rouge sur le bas de la bougie . ce qui donne ça par exemple sur le GOLD en 2 mn

    TIGER-GOLD-30-MAI-5MN-1.png TIGER-GOLD-30-MAI-5MN-1.png
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.

ajout sur un super indicateur de price action


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
geroniman @geroniman Participant
Summary

This topic contains 9 replies,
has 4 voices, and was last updated by geroniman
2 years, 9 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 05/25/2023
Status: Active
Attachments: 6 files
Logo Logo
Loading...