Code Bandes MOGALEF

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #244789 quote
    Eric Lefort
    Participant
    New

    Bonjour,

    Voici le code pour afficher les bandes MOGALEF (sauf erreur).

     

    // BANDES MOGALEF Morando Galabert Lefort

    CP=(open+high+low+2*close)/5
    F=LinearRegression[3](CP)
    E=std[7](F)

    if barindex<8 then
    Mediane = undefined
    BandeHaute = undefined
    BandeBasse = undefined
    endif

    if barindex=8 then
    Mediane = F
    BandeHaute = F+(E*2)
    BandeBasse = F-(E*2)
    endif

    if barindex>8 then
    Mediane=mediane[1]
    BandeHaute=BandeHaute[1]
    BandeBasse=BandeBasse[1]

    if (F>BandeHaute) or (F<BandeBasse) then
    BandeHaute = F+(E*2)
    BandeBasse = F-(E*2)
    // Mediane=F
    Mediane=(BandeBasse+BandeHaute)/2
    endif
    endif

    colorbetween(bandebasse,mediane,255,220,220)
    colorbetween(bandehaute,mediane,220,255,220)

    return BandeHaute coloured (180,255,180) as”Mogalef Bande Haute”, Mediane coloured (255,154,51) as “Mogalef Mediane”, BandeBasse coloured (255,180,180) as “Mogalef Bande Basse”

    #244843 quote
    LucasBest
    Participant
    Junior

    Bonsoir et Merci!

    c’est pas tout à fait le même que celui-ci… si?
    https://fr.tradingview.com/script/LY0HXf0C-CFB-Adaptive-MOGALEF-Bands-Loxx/

    #244850 quote
    Madrosat
    Participant
    Master

    Bonjour Eric

    Si tu pouvais maintenant nous traduire en langage prorealtime ton indicateur de cassure haussière

    ça m’intéresserait bigrement .

    Bonne journée

    Madrosat

    #244857 quote
    Iván González
    Moderator
    Master

    Bonjour. Voici une traduction de l'indicateur que j'ai réalisé à l'époque : https://www.prorealcode.com/topic/traduire-un-code-deja-existant-en-language-probuilder/#post-232637

    LucasBest thanked this post
    #244896 quote
    Eric Lefort
    Participant
    New

    Effectivenet il y a des différences. Peut-être : les bandes décalent quand la régression en sort, pas quand le close en sort.

    Je vais m’atteler à la cassure, mais c’est plus complexe.

    #250303 quote
    philippe V.
    Participant
    New

    Un grand merci pour cet indicateur !

    #254569 quote
    Madrosat
    Participant
    Master

    Bonjour Ivan et Eric je reviens sur un sujet évoqué mais pour lequel je n’ai pas vu de suite?

    La Cassure ,

    “Je vais m’atteler à la cassure mais c’est plus complexe” écrivait Eric

    Il y a t il eu du nouveau à ce sujet ??

    Bonne journée

    Madosat

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

Code Bandes MOGALEF


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

This topic contains 6 replies,
has 5 voices, and was last updated by Madrosat
1 month, 2 weeks ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 03/10/2025
Status: Active
Attachments: 2 files
Logo Logo
Loading...