Coding vertical lines at particuler times

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #186740 quote
    Zigo
    Participant
    Master

    I can not code different verticale lines in different timeframes and at particular times in the same timezone as the intrument I choose.

    I created a graph manually (see attachemen).

    PXI-864-seconden.png PXI-864-seconden.png
    #186747 quote
    Zigo
    Participant
    Master

    Is there anyone who can help me with the coding of the lines.

    As you can see in the attachement, the rectangles I created are explicite low volume zones.

    PXI-12-minuten.png PXI-12-minuten.png
    #186751 quote
    Zigo
    Participant
    Master

    The arrows on the charts are created by the Zigonfly Indicator.

    #186755 quote
    robertogozzi
    Moderator
    Master

    You can only draw lines in the default (the lowest) timeframe, but those lines will not be visible on other TFs.

    #186757 quote
    Zigo
    Participant
    Master

    Sometimes one has to gives. Not always taken.

    I gona be rude now:

    I failed to get myself an answer to my question, problaby its a simpel answer, does the question be ask by a simpel mind to get an answer??

    Maybe I can get the answer in an other software.

    Anderesoftwaremogelijk.png Anderesoftwaremogelijk.png
    #186766 quote
    Zigo
    Participant
    Master

    Yes you can, but the only thing to consider, the unit of time is the second.

    I only ask verticale lines at times specified as in the attachement. (timeframe one second).

    DCTime.xlsx
    #186772 quote
    robertogozzi
    Moderator
    Master

    There you go (for the 1-second TF):

    IF time = 091912 or time = 130546 or time = 163936 then //you may replace TIME with OPENTIME
       drawvline(barindex)
    endif
    return

    lines will be plotted only on the 1-second TF, provided there’s a candle at that time.

    Zigo thanked this post
    #186906 quote
    Zigo
    Participant
    Master

    Were are the lines, the lines are there but not visable

    Verticale-lijnen.png Verticale-lijnen.png
    #186948 quote
    robertogozzi
    Moderator
    Master

    Look at the attached pic.

    Zigo thanked this post
    x-17.jpg x-17.jpg
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.

Coding vertical lines at particuler times


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Zigo @zigo Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 01/27/2022
Status: Active
Attachments: 6 files
Logo Logo
Loading...