Scan manager to identify specific trading day on multi codes

Optuma Forums Optuma Scripting Scan manager to identify specific trading day on multi codes

  • This topic has 2 replies, 2 voices, and was last updated 1 month ago by Yan.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #65591
    Yan
    • Topics: 24
    • Replies: 34
    • Posts: 58

    Hello everyone,

    I want to bring up this issue since i don’t find any similar topic on forum.

    If i want to identify all the trading days with the 1 day rate of change  <=-2% on $spy, $qqq $dji at the same day during the last 10 years. And leave a mark on the chart of $spy for research purpose, what should i do to make it happen ?

    I tried with the scan manager but appearently i can’t work out a solution in this module.

    Or is there any article in the knowledge base to explain how should we use optuma to get it done ?

    As always, i appreciate your time and have a good day ~

    Yan

    • This topic was modified 1 month ago by Matthew. Reason: Scripting Query rather than new feature
    #65596
    Matthew
    • Topics: 5
    • Replies: 422
    • Posts: 427

    Hi,

    You can use the GETDATA() function to achieve this.  GETDATA is used to pull in data from other codes, you can then wrap the ROC() around them so you can check values for symbols other than the current chart.

    It does not need to be setup as a scan if your intention is to mark all areas that match on the chart, you would open a chart for the SPY and apply a Show Bar with the following script:

    This is how it looks on the chart (using Show Bar with Lines)…

    Ex1

    1 user thanked author for this post.
    Yan
    #65677
    Yan
    • Topics: 24
    • Replies: 34
    • Posts: 58

    Hi,

    You can use the GETDATA() function to achieve this.  GETDATA is used to pull in data from other codes, you can then wrap the ROC() around them so you can check values for symbols other than the current chart.

    It does not need to be setup as a scan if your intention is to mark all areas that match on the chart, you would open a chart for the SPY and apply a Show Bar with the following script:

    This is how it looks on the chart (using Show Bar with Lines)…

    Ex1

    Thank you for your solution Matthew. Sorry that i can’t reply this a little earlier since i was in hospital for the last 2 days.

    I didn’t know that we can use show bar option for such a script who involves different codes.  I will watch again the course videos to get more information on that.

    Have a good day ~

    Yan

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

Pin It on Pinterest