Moyenne mobile Williams

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

    bonjour à tous,

    Je profite de l’ombre pour bosser un peu dehors on ne peut rien faire , 43°c à l’heure où j’écris !! on a voulu être au sud et bien on y est …

    En partant de l’indicateur de Gabri où les escaliers ne me plaisent pas de façon générale j’ai tenté de faire quelque chose de plus soft avec

    un rendu du type moyenne mobile.

    à noter qu’avec la variable m les deux dernières propositions de PRT ne marchent pas ( c’est souvent le cas!)

    // TRAILING STOP WILLIAMS
    
    count=1
    i=0
    j=i+1
    tot=0
    while count<p do
    tot=tot+1
    if (low[j]>=low[i]) and (high[j]<=high[i]) then
    //inside bar
    j=j+1
    else
    count=count+1
    i=i+1
    J=i+1
    endif
    wend
    basso=lowest[tot](low)
    alto=highest[tot](high)
    
    if close>alto[1] then
    ref=basso
    endif
    if close<basso[1] then
    ref=alto
    endif
    
    maW = average [pma,m](ref)
    
    return ref , customclose as " customclose" , maW as " maW "
    
    // Variables :
    // p = 3
    // pma = 15
    // m = M type = pondérée
    
    

    Je vous joins le graphe d’ORANGE que j’ai l’intention d’acheter la semaine prochaine

    Nicolas thanked this post
    Orange-Williams.jpg Orange-Williams.jpg
    #40859 quote
    NicolasNicolas
    Keymaster
    Legend

    Merci Supertiti, j’ai cuit aussi ce week-end je te rassure. J’ai profité du “Bastille day” pour faire une pause et le soleil m’a bien profité 🙂

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Moyenne mobile Williams


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
supertiti @supertiti Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
9 years, 2 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 07/15/2017
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...