Extending Show Plot lines on intraday chart

Optuma Forums Optuma Scripting Extending Show Plot lines on intraday chart

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #60847
    AvatarAnnette
    • Topics: 2
    • Replies: 1
    • Posts: 3

    Hello,

    During the start of trading for the day, the script below shows the ‘show plot’ line only with the current 1 min/3min bar, etc which have filled in.  Is it possible to have the ‘show plot’ line extend out to the right beyond the current data early data?

    Thank you,
    Annette

    V1 = LOW(Day(PERIODAMOUNT=1), OFFSET=1);
    V2 = HIGH(Day(PERIODAMOUNT=1), OFFSET=1);
    V3 = CLOSE(Day(PERIODAMOUNT=1), OFFSET=1);
    Plot1 = ( V1 + V2 + V3 ) / 3;

    #60856
    MatthewMatthew
    • Topics: 5
    • Replies: 317
    • Posts: 322

    Hi,

    How are you wanting to extend it out?  There is the offset that moves the entire plot over, or are you wanting the latest value to show as a horizontal line into the future.

    If it is an offset you can do this via the Show Plots properties…

    Ex2

    Displaying the plot past the last bar as a horizontal line is not currently available (outside of the offset option).  The closest you can do is to setup a second show plot with the following script:

    Then set the tools offset to something like 100. With both Show Plots on the chart it would look like this:

    Ex3
    Solid Green Line (original script), Dashed Green Line is the last value projected forward.

    • This reply was modified 3 weeks, 4 days ago by MatthewMatthew.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close