Pivots points – Multiple crossing = faded color

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #219784 quote
    InertiaInertia
    Participant
    Master

    Hello all !

    Just a quick one… Is there a code that would fade the color of all pivots point each time they are crossed?

    Example: Like for the PPW – first cross on Monday morning 0905am, still deep black and on Friday 1630, after a series of crossing, it would appear light grey?

    THANK YOU

    #219786 quote
    JSJS
    Participant
    Master

    Hi,

    To make a color fade you can change the “alpha”, the “alpha” controls the transparency of a color…

    For example:

    Once Alpha=255

    If … Crosses Over … then

    Alpha = Alpha – 50

    EndIf

    Return PPW Coloured(0,0,0,Alpha)

    (“Coloured(0,0,0,Alpha)=Black”)

Viewing 2 posts - 1 through 2 (of 2 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

Pivots points – Multiple crossing = faded color


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Inertia @inertia Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JSJS
3 years ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 08/25/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...