Signal Test/Show Bar Issue

Optuma Forums Optuma Scripting Signal Test/Show Bar Issue

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

    Hello,

    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.

    #62489
    Darren
    • 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.
    #62535
    Deepak
    • Topics: 85
    • Replies: 71
    • Posts: 156

    Hiii

    What does the below code signifies.

    #62542
    Matthew
    • Topics: 5
    • Replies: 631
    • Posts: 636

    Hi,

    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