Colorier plages Horaires

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #173663 quote
    Hypnotrader77
    Participant
    New

    Bonjour,

    Je souhaiterai pouvoir mettre une couleur sur mon fond d’écran PRT sur la plage horaire 8h-16h30 afin d’éviter les signaux en dehors de cette plage horaire.

    Je pense qu’il doit être possible de programmer cela très simplement mais je ne sais pas le faire.

    D’avance merci pour le partage.

    Cordialement.

    David

    #173664 quote
    JC_Bywan
    Moderator
    Master

    Bonjour, en vert par exemple:

    if opentime>=080000 and opentime<163000 then
     BACKGROUNDCOLOR(0,200,0,100)
    endif
    
    return
    #173665 quote
    JC_Bywan
    Moderator
    Master

    Si besoin d’utiliser backgroundcolor pour une autre couleur, page de l’instruction: https://www.prorealcode.com/documentation/backgroundcolor/

    et large sources de combinaisons de variables RGB : http://cloford.com/resources/colours/500col.htm

    #173667 quote
    Hypnotrader77
    Participant
    New

    Merci beaucoup c’est parfait tout fonctionne 🙂

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

Colorier plages Horaires


ProOrder : Trading Automatique & Backtests

New Reply
Author
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Hypnotrader77
4 years, 8 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 07/15/2021
Status: Active
Attachments: No files
Logo Logo
Loading...