Rendre une ligne d’indicateur invisible

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #243575 quote
    LurubuLurubu
    Participant
    Senior

    Bonjour,

    express CanalOuverture
    
    vars
    
    input	$Debut(0,2400,830),$Fin(0,2400,900);
    series PH,PB;
    
    calculation
    
    if (timetonumeric(timeopen)<=$Debut) then
    begin
    PH=(high+low)/2;
    PB=(high+low)/2;
    end
    
    if (timetonumeric(timeopen)>=$Debut) then
    begin
    PH=max(PH[1],high);
    PB=min(PB[1],low);
    end
    if (timetonumeric(timeopen)>$fin) then
    begin
    PH=PH[1];
    PB=PB[1];
    end
    
    if (timetonumeric(timeopen)>2000) then
    begin
    PH=(high+low)/2;
    PB=(high+low)/2;
    end
    
    
    interpretation
    begin
    end
    
    plot(PH,"Blue",2);
    plot(PB,"Red",2);
    

     

    à titre d’exemple voici un code simple de canal d’ouverture.

    Je voudrais que les lignes n’apparaissent pas en dehors de heures d’ouverture du canal.

    Comment peut-on faire ?

    Merci d’avance.

    #243584 quote
    fifi743fifi743
    Participant
    Master

    c’est pas un code PRT

    #243585 quote
    LurubuLurubu
    Participant
    Senior

    Désolé, je me suis trompé de site.

    Bonne journée.

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

Rendre une ligne d’indicateur invisible


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Lurubu @lurubu Participant
Summary

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

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