date limite d'utilisation à un indicateur comment faire ?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #98220 quote
    Julien NormandJulien Normand
    Participant
    New

    Bonjour,

    Je cherche à coder un indicateur en y ajoutant une date limite. Je sais que ça existe mais je ne connais pas la fonctionnalité.

    Pour être clair:

    Je veux par exemple que l’indicateur ne fonctionne plus après le 31/12/2019.

    Merci pour l’aide

    Julien

    #98221 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Exemple:

    x = 0
    If time <= 20191231 Then
       x = close CROSSES OVER average[100]
    Return x
    #98223 quote
    Julien NormandJulien Normand
    Participant
    New

    Merci infiniment pour votre réponse aussi rapide

    Très bon Week-end à vous

    #98224 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Désolé, la ligne 2 devrait être:

    If date <= 20191231 Then
    #98228 quote
    Julien NormandJulien Normand
    Participant
    New

    Merci ;-))

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

date limite d'utilisation à un indicateur comment faire ?


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by Julien NormandJulien Normand
7 years, 4 months ago.

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