Coding vertical lines at particuler times

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #186740 quote
    ZigoZigo
    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
    ZigoZigo
    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
    ZigoZigo
    Participant
    Master

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

    #186755 quote
    robertogozzirobertogozzi
    Moderator
    Legend

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

    #186757 quote
    ZigoZigo
    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
    ZigoZigo
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    ZigoZigo
    Participant
    Master

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

    Verticale-lijnen.png Verticale-lijnen.png
    #186948 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

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 robertogozzirobertogozzi
4 years, 7 months ago.

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