Add 'Color Zone' with code?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #83498 quote
    robdav
    Participant
    Veteran

    Hi

    Is it possible to add a ‘Color Zone’ to an indicator via code rather than adding them manually and setting as default?

    Thanks

    Rob

    #83703 quote
    Nicolas
    Keymaster
    Master

    It is not possible with the code, but a work around is to use the DRAWCANDLE or DRAWBARCHART instructions, like the way I did in many indicator of the libary, here are some examples:

    ATR adaptive Laguerre filter with levels

    DSL synthetic EMA momentum

    SuperTrend Extended

    and many other ones ..

    Only problem is that you can’t use multiple times the instruction on the same bar (coloring 2 separated zones on the same candle is not possible).

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

Add 'Color Zone' with code?


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
robdav @robdav Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/25/2018
Status: Active
Attachments: No files
Logo Logo
Loading...