Removing vertical component of plots

Optuma Forums Optuma Scripting Removing vertical component of plots

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #51439
    Steve
    • Topics: 15
    • Replies: 20
    • Posts: 35

    Hello

    I am using the PIVOTS function to apply daily pivots to my chart. (See attached example).

    Script is simply:

    PIVOTS()

    Is it possible to remove or hide the vertical component of these lines?  It would improve clarity on my screen, particularly when other indicators are added.

    Thanks
    Steve

     

    #51447
    Matthew
    • Topics: 5
    • Replies: 487
    • Posts: 492

    Hi Steve,

    You can adjust the Show Plot script tool properties to a Dot plot style instead of Line. When this is done increase the thickness to form a solid line (not the value will change depending on zoom level and size of the chart).

    Ex12

    This will show just the horizontal components of the script results.

     

    #51523
    Steve
    • Topics: 15
    • Replies: 20
    • Posts: 35

    Yes, this is a good solution – thank you.

     

    Also – how can I use yearly pivots? (The drop down options for PIVOTS only gives daily, weekly, monthly pivots)

     

    Thanks
    Steve

     

    • This reply was modified 2 years ago by Steve.
    #51527
    Steve
    • Topics: 15
    • Replies: 20
    • Posts: 35

    .

    • This reply was modified 2 years ago by Steve.
    #51559
    Matthew
    • Topics: 5
    • Replies: 487
    • Posts: 492

    Hi Steve,

    If you have the script applied to a yearly chart it will automatically use that time frame to calculate from.  If you mean the tools properties itself, we do not have a yearly calc option, Monthly Pivots is as high as the tool allows.

    #51571
    Steve
    • Topics: 15
    • Replies: 20
    • Posts: 35

    Hi Matthew

     

    Thanks. Is there any sort of work around this? (I would like to apply yearly pivots to a daily chart).

    I’ve been able to do similar in other scripts using PERIODAMOUNT – ie applying a 6 monthly indicator to a monthly chart by using PERIODAMOUNT=6  but I can’t see this as an option for PIVOTS

     

    Ta

    Steve

     

    #52575
    Steve
    • Topics: 15
    • Replies: 20
    • Posts: 35

    Hello

     

    Just following up on this. Is there a workaround to allow me to obtain yearly pivots using the PIVOTS function?  (using perhaps PERIODAMOUNT or similar?)

     

    Thanks

    Steve

     

    #52579
    Darren
    • Topics: 67
    • Replies: 702
    • Posts: 769

    Hi Steve,

    Not sure if this is what you are trying to do, but we have a tool called Year High Low Marker which draws the high/low by calendar year:

    https://help.optuma.com/kb/faq.php?id=320

    Alternatively, try a Show Plot with HIGH(Year(PERIODAMOUNT=1)) for the high and LOW(Year(PERIODAMOUNT=1)) for the low (Plot Style set to Dot).

    Capture

    #52615
    Steve
    • Topics: 15
    • Replies: 20
    • Posts: 35

    Thanks Darren. It’s not the yearly high/lows that I’m looking for – but rather pivot points. (eg https://www.babypips.com/learn/forex/how-to-calculate-pivot-points)

     

    The tool “Pivots” gets me close to what I want however there are a couple of things it doesn’t do:

     

    1. Yearly pivots. (Currently the tool only allows for daily, weekly or monthly pivots). Can yearly pivots please be added to these options?
    2. Vertical lines. As the Pivots tool is plotted, there are (vertical) lines joining or connecting the horizontal pivot levels that I would like to remove.

    I’ll attach an image with the parts of the pivot levels that I would like to hide or remove circled. I have a script that does essentially the same job as the Pivots tool however when I select dots (for plotstyle) the vertical component is hidden. It’s not a big thing – but would give some more clarity to my charts. And of course, only daily, weekly or monthly pivots are given as options. Again – would appreciate it if yearly pivots could be added as an option here.

     

    Thanks for your time

    Regards

    Steve

     

     

     

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

Pin It on Pinterest