Code Bandes MOGALEF

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #244789 quote
    Eric LefortEric 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"
    
    LEONIDAS007, robertogozzi, Madrosat and 3 others thanked this post
    #244843 quote
    LucasBestLucasBest
    Participant
    Senior
    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
    MadrosatMadrosat
    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álezIván González
    Moderator
    Legend
    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
    MESXXXX-1-hour.png MESXXXX-1-hour.png
    #244896 quote
    Eric LefortEric 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.
    Screen-Shot-265.jpg Screen-Shot-265.jpg
    #250303 quote
    philippe V.philippe V.
    Participant
    New
    Un grand merci pour cet indicateur !
    #254569 quote
    MadrosatMadrosat
    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.
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

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 MadrosatMadrosat
9 months, 1 week ago.

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