Colorier en fonction du temps

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

    re bonjour Nicolas,

    dans la mm idée que le post précédent je cherche à paramétrer le backgroundcolor en fonction de la variable temps

     

    Merci

    #36942 quote
    NicolasNicolas
    Keymaster
    Legend

    Oui c’est à dire exactement ? Un exemple concret, ce serait pas mal 🙂

    #36954 quote
    karlitokarlito
    Participant
    Average

    Exemple

    If conditions THEN

    BACKGROUND color(r,v,b)

    DRAWARROWUP(barindex, low) coloured(0,155,10)

    T=currenttime  ou time ou ????? // variable temps de l’instant ou se réalise les conditions

    ENDIF

    IF T=T+x //(T est le timing du signal d’entrée et x le delais en tps)

    THEN

    backgrounfcolor (r,v,b)

    DRAWARROWdown (barindex, low) coloured(155,0,10)

    endif

     

     

    //

    Que ce soit pour un backgroundcolor ou un draw ce qui bloque est la variable temps qui n’est pas prise en compte par prt (enfin que je ne sais pas coder, plus exactement)

    Merci

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

Colorier en fonction du temps


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
karlito @karlito Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by karlitokarlito
9 years, 5 months ago.

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