Geo Min MA, conversion code mq4 vers prorealtime

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #220700 quote
    ground77600
    Participant
    Junior

    Bonjour Nicolas,

    Pourriez-vous, s’il vous plaît, convertir cet indicateur mq4 vers PRT ?

    Il s’agit d’une moyenne mobile géométrique spécifique mais qui me semble être très intéressante.

    Vous trouverez ci-joint le fichier MQ4.

    Bien cordialement.

    GeoMin_MA.mq4
    #220721 quote
    Nicolas
    Keymaster
    Master

    Voici le code de la moyenne GeoMean pour ProRealTime:

    Length=10
    
    once iexp=1/Length
    
    if barindex>length then 
     Mult=1
     for i=0 to Length-1
      Mult=Mult*customclose[i]
     next 
    
     GeoMean=pow(Mult, iexp)
    endif 
    
    return GeoMean
    #220723 quote
    ground77600
    Participant
    Junior

    Merci beaucoup Nicolas pour cette conversion si rapide !

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

Geo Min MA, conversion code mq4 vers prorealtime


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by ground77600
2 years, 6 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 09/11/2023
Status: Active
Attachments: 1 files
Logo Logo
Loading...