Show Bar View Problem

Optuma Forums Optuma Scripting Show Bar View Problem

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #66921
    Donald
    • Topics: 3
    • Replies: 2
    • Posts: 5

    Hi, i create 2 script of show bar view on the same chart, but i got confuse about it.
    Cause i find something missing (Big Red Arrow) or maybe my problem?
    Please take a look of the script and chart.
    Thank you.

    The green arrow show today is 20 day new high :

    The red arrow show the pattern i want:

    Show bar view

    • This topic was modified 1 month ago by Donald Chu.
    #66927
    Darren
    • Topics: 69
    • Replies: 737
    • Posts: 806

    Thanks Donald. A couple of points:

    You are missing a few () – ie OFFSET(high, OFFSET=1) should be OFFSET(high(), OFFSET=1)

    Another way of doing offsets is using square brackets, so the previous high value can be found using HIGH()[1]

    Also, ‘mid’ is not a value we calculate. So CLOSE()>OFFSET(mid, OFFSET=2) should be

    1 user thanked author for this post.
    #66929
    Donald
    • Topics: 3
    • Replies: 2
    • Posts: 5

    Darren, Thanks for your quick reply.

    I still have long way to learn.

    1 user thanked author for this post.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest