MMA CROISEMMENT ET SON

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #72904 quote
    NicolasNicolas
    Keymaster
    Legend

    Bonjour, oui on peut.

    #72906 quote
    edhitraderedhitrader
    Participant
    Average

    ok super j’attends votre code dans ce cas je vous laisse le temps rien ne presse

    merci Mr Nicolas

    #72912 quote
    NicolasNicolas
    Keymaster
    Legend

    ok, j’ai compris 😐

    En cherchant un peu sur le site, j’ai trouvé un screener: https://www.prorealcode.com/prorealtime-market-screeners/zerolag-moving-average-cross-screener/

    Facile de le transformer en indicateur !

    #72918 quote
    Alai-nAlai-n
    Participant
    Veteran

    ok, j’ai compris

    :):):)

    //ZeroLag Fast MA:
    PeriodF = 7
    DataF = Close
    lagF = ROUND((PeriodF-1)/2)
    dF = (DataF+(DataF-DataF[lagF]))
    F = exponentialaverage[periodF](dF)
     
    //ZeroLag Slow MA:
    PeriodS = 21
    DataS = Close
    lagS = ROUND((PeriodS-1)/2)
    dS = (DataS+(DataS-DataS[lagS]))
    S = exponentialaverage[periodS](dS)
    
     
    c1 = F crosses over S
    c2 = F crosses under S
    
    atr=averagetruerange[14]
    if c1 then
    drawarrowup(barindex,low-atr/2) coloured(0,200,0)
    endif
    if c2 then
    drawarrowdown(barindex,high+atr/2) coloured(200,0,0)
    endif
     
    RETURN c1 or c2
    

     

    Nicolas thanked this post
    #72920 quote
    edhitraderedhitrader
    Participant
    Average

    Merci super

Viewing 5 posts - 16 through 20 (of 20 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

MMA CROISEMMENT ET SON


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
edhitrader @edhitrader Participant
Summary

This topic contains 19 replies,
has 3 voices, and was last updated by edhitraderedhitrader
8 years, 3 months ago.

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