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
    AvatarJeffrey
    • Topics: 6
    • Replies: 1
    • Posts: 7

    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.

    Attachments:
    #62489
    DarrenDarren
    • Topics: 63
    • Replies: 555
    • Posts: 618

    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 2 weeks, 1 day ago by DarrenDarren.
    #62535
    Avatardeepak
    • Topics: 38
    • Replies: 23
    • Posts: 61

    Hiii

    What does the below code signifies.

    #62542
    MatthewMatthew
    • Topics: 5
    • Replies: 332
    • Posts: 337

    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

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close