limite de validité indicateur

Viewing 7 posts - 61 through 67 (of 67 total)
  • Author
    Posts
  • #169898 quote
    pierre66pierre66
    Participant
    Senior
    Bonjour Roberto, Je voudrais mettre une date de validité de ce petit “screener” au 31122021, comme je ne peux pas mettre de message comment puis-je faire
    //DEFPARAM DrawOnLastBarOnly = True
    
    IF Date <=20211231 Then ?
     
    wup = low[0] > low[1] and low[1] <low[2]
     
    IF wup and close> high[1]THEN
     
    C= wup
    
     
    Screener [c](close as "close")
    
    #169903 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    Voilà:
    C = 0
    IF Date <=20211231 Then
       wup = low[0] > low[1] and low[1] <low[2]
       IF wup and close> high[1]THEN
          C = wup
       endif
    endif
    Screener [C](close as "close")
    #169910 quote
    pierre66pierre66
    Participant
    Senior
    OK , Merci Roberto
    #174194 quote
    warningffwarningff
    Participant
    Average
    Bonjour, J’utilise le code suivant pour mettre disponible mon indicateur limité dans le temps
    DEFPARAM DrawOnLastBarOnly = true
     
    MyDate = 20191101
     
    haut=undefined
    bas=undefined
    milieu=undefined
     
    if opendate<=MyDate then 
    P      = 10 // number of high periods
    q      = 21 // name periods bas
    haut   = highest[p](high[1])
    bas    = lowest[q](low[1])
    milieu =(highest[p](high)+lowest[q](low))/2
    else
    DRAWTEXT("veuillez re télécharger l’indicateur",barindex,high + 5 * ticksize) coloured(255,100,2)
    ENDIF
     
    return haut,bas,milieu, opendate<=MyDate
    or je voudrais savoir ou je dois insérer mon indicateur que je rend temporaires. cordialement
    #174199 quote
    warningffwarningff
    Participant
    Average
    Je viens de trouvez désolé pour le dérangement  
    DEFPARAM DrawOnLastBarOnly = true
     
    MyDate = 20191101
     
    haut=undefined
    bas=undefined
    milieu=undefined
     
    if opendate<=MyDate then 
    P      = 10 // number of high periods
    q      = 21 // name periods bas
    haut   = highest[p](high[1])
    bas    = lowest[q](low[1])
    milieu =(highest[p](high)+lowest[q](low))/2
    else
    DRAWTEXT("veuillez re télécharger l’indicateur",barindex,high + 5 * ticksize) coloured(255,100,2)
    ENDIF
    
    INDICATEUR
     
    return haut,bas,milieu, opendate<=MyDate, INDICATEUR
    #174200 quote
    warningffwarningff
    Participant
    Average
    Si je comprends bien my date  : c’est le date d’échéance ? Cela ne marche pas très bien. J’ai mis des backgroundcolor dans mon indicateur et il ne les enlèves pas avec ce code. Il enleve bien fleche signal etc.
    #174305 quote
    warningffwarningff
    Participant
    Average
    Je viens de trouver 🙂 Malheureusement mon code est composé de flèche et background , les back ground restent mais les flèches ne restent pas.( éphémère sur la bougie et disparaisse) alors que sur mon indicateur les flèches restent. Désolé pour ces spams  ^^ mois de juillet les gens doivent être à la piscine ^^
    DEFPARAM DrawOnLastBarOnly = true
     
    MyDate = 20210729
     
    if opendate<=MyDate then
    indicator = call "Signal 2.0"
    else
    DRAWTEXT("veuillez re télécharger l’indicateur",barindex,high + 5 * ticksize) coloured(255,100,2)
    ENDIF
     
    return indicator ,opendate<=MyDate
Viewing 7 posts - 61 through 67 (of 67 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

limite de validité indicateur


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
remy92400 @remy92400 Participant
Summary

This topic contains 66 replies,
has 5 voices, and was last updated by warningffwarningff
5 years, 1 month ago.

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