Variable dans un paramètre d’indicateur Bug

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #239904 quote
    PlayerPlayer
    Participant
    Average

    Bonjour,

    Lorsque je prédéfinis une variable de 1.5 et que je la passe à l’indicateur ZigZag : IdcZigZag=ZigZag[Variation](close), je m’aperçois que celui-ci est différent que si j’avais entré directement la valeur 1.5 dans mon code comme : IdcZigZag=ZigZag[1.5](close)

    Auriez-vous une explication ?

    Merci d’avance.

    #239944 quote
    Iván GonzálezIván González
    Moderator
    Legend

    La raison est que la variable nommée « variation » est réservée dans le code PRT. Vous verrez comment il devient vert lorsque vous générez le code. Au lieu de varier par var=1,5 et vous verrez que tout est correct.

    IdcZigZag=ZigZag[1.5](close)
    var=1.5
    IdcZigZag2=ZigZag[var](close)
    
    return IdcZigZag, IdcZigZag2
    Player thanked this post
    #239960 quote
    PlayerPlayer
    Participant
    Average

    Un grand merci à vous !!

Viewing 3 posts - 1 through 3 (of 3 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

Variable dans un paramètre d’indicateur Bug


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Player @player Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by PlayerPlayer
1 year, 10 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 11/02/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...