Using Signal After

Optuma Forums Optuma Scripting Using Signal After

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #66545
    Deepak
    • Topics: 93
    • Replies: 88
    • Posts: 181

    Hii Sir,

    I am trying to use signal after for following condition.

    close crosses above SMA 89
    after which 10 day high breakout.

    I have tried below 2 codes both doesn’t seem to be working.
    If you see attached pic its also showing signal below MA 89.

    Regards,
    Deepak

    #66558
    Matthew
    • Topics: 5
    • Replies: 677
    • Posts: 682

    Hi,

    The Signal After will show the first instance of the second criteria after the first has been met.  It will not take into account whether then Close has crossed below the MA since the trigger.

    If you want to make sure the Close is still above the 89SMA after the first criteria has triggered you can update the script to use the following:

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

Pin It on Pinterest