Background Color an Time interval

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

    Buenos tardes. EStoy tratando de dar un determinado background color a una zona del gráfico comprendida en un intervalo de tiempo, por ejemplo, desde las 2:00 am hasta las 08:00 am. He probado el código:

    TimeInterval = (time >= 020000) AND (time <= 080000)
    if TimeInterval then
    backgroundcolor(255,10,10,1)
    endif

    Pero no funciona. ¿Alguna idea?

    Muchas gracias y un saludo.

    #106378 quote
    NicolasNicolas
    Keymaster
    Legend

    Debido a que la configuración de transparencia alfa que tiene es demasiado baja (1 es casi invisible), le sugiero que use 100 (el máximo es 255):

    backgroundcolor(255,10,10,100)
    #106380 quote
    PluvinelPluvinel
    Participant
    Average

    Qué sencillo era! Muy agradecido, Nicolás.

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

Background Color an Time interval


ProBuilder: Indicadores y Herramientas

New Reply
Author
author-avatar
Pluvinel @pluvinel Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by PluvinelPluvinel
7 years, 1 month ago.

Topic Details
Forum: ProBuilder: Indicadores y Herramientas
Language: Spanish
Started: 09/03/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...