Breakout Script

Optuma Forums Optuma Scripting Breakout Script

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

    I have been trying to use a script in a watchlist to give me a True or False if the market breaks through the highest high within the last 55 bars on a day chart.

    I am using the following   HIGH()>HIGHESTHIGH(Bars=55,Day, InCbar=False, inside bars=True)
    When I test it I get a lot of TRUE but when I examine the chart it is not what I though.  I know I am missing something in the scripting but just can’t see it.

    Also, what is the function that would display the date the breakout occurs?

    I would appreciate any input.  Thanks


    • Topics: 71
    • Replies: 880
    • Posts: 951

    Thanks Stan – that correctly shows new 55 bar highs. Can you give an example of in incorrect result? Take a screenshot and click the Insert Image button (to the left of <> Code) above which will help us find the issue.

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

Pin It on Pinterest