Signal Test/Show Bar Issue

Optuma Forums Optuma Scripting Signal Test/Show Bar Issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #62481
    • Topics: 14
    • Replies: 4
    • Posts: 18


    I want to run a signal test with a “low of the high bar” or “high of the low bar” entry sell/buy signal and have the script below. However, when combined with other criteria, it is excluding a lot of the signals that I am looking for. Is there a way to have this signal fire within +/- 3 bars of other entry criteria? For instance, when Jupiter changes to Aquarius, I would not need this exact point to exceed the Low of the high bar. I would need the signal to fire on the elongated red bar since the price closed below the previous high, within 3 bars of Jupiter changing signs.

    • Topics: 70
    • Replies: 871
    • Posts: 941

    Hi Jeff,

    You can use the PLSC() function with a TIMESINCESIGNAL() function, so for Jupiter changing signs within 3 days of the signal:

    • This reply was modified 1 year ago by Darren.
    • Topics: 85
    • Replies: 71
    • Posts: 156


    What does the below code signifies.

    • Topics: 5
    • Replies: 631
    • Posts: 636


    h1 sets the variable BARTYPES().Higher and the [1] offsets it by 1 bar.  Finally the == 1 means we’re looking for a True result.

    In summary the line means the previous bar is a Higher bar.

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

Pin It on Pinterest