Workbook created

Optuma Forums Optuma Scripting Workbook created

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #67355
    Raphael
    • Topics: 14
    • Replies: 14
    • Posts: 28

    Hello, Mr Darren how are you?
    Hope everything is fine!

    I’m working on with some breakout scans.
    Would you mind to share with me the workbook created
    in this tweet below:
    https://twitter.com/Optuma/status/1482727843171868672?t=JzBy3BTgpMf_3_i2Z3lAzw&s=19

    Thank you,

    Best
    RF

    #67359
    Darren
    • Topics: 70
    • Replies: 788
    • Posts: 858

    Hi Rafi – here’s the code I used for the weekly pivot level breakout scan:

    https://forum.optuma.com/topic/twitter-charts-2/#post-67357

    It was linked to a watchlist (see video: https://www.optuma.com/videos/linking-a-watchlist-to-a-scan/) using this to calculate the % Avg 12 week volume column:

    Thanks!

    1 user thanked author for this post.
    #67377
    Raphael
    • Topics: 14
    • Replies: 14
    • Posts: 28

    Mr Darren thank you very much for your reply!

    Everything worked as expected, but i still need a little help here, please.
    I´m strugling with somethig that i thought will be easy.

    I´m building a watchlist (including scripts above), but also i´d like to show in columms three imediate resistences above the last price and three supports below.

    For colum “R1” (first resistence) i used

    • This reply was modified 3 months ago by Raphael.
    #67387
    Darren
    • Topics: 70
    • Replies: 788
    • Posts: 858

    Thanks Rafi. A 6 bar pivot count could be at the same level as a 10 bar count, so you can’t really use that to get the levels.

    Getting the previous 6 bar pivot level is quite tricky, but here’s the script – note that I would recommend ignoring unconfirmed pivots in scripting as the labels can change when new data is added to the chart (see the Pivot Label KnowledgeBase article for more information on unconfirmed pivots).

    Previous resistance level:

    Increase the OFFSET value in P2 to get the value of the previous pivot labels. The support levels use the same script but modified slightly to use the Low pivot type in Piv1, and to get the Low value. Save and open the attached workbook in your copy of Optuma.

    Capture

    #67391
    Raphael
    • Topics: 14
    • Replies: 14
    • Posts: 28

    Perfect! Thanks a lot!!

    All the Best,
    RAFI.

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

Pin It on Pinterest