Volume and Higher Closing High Scan for 3 continous days

Optuma Forums Optuma Scripting Volume and Higher Closing High Scan for 3 continous days

This topic contains 5 replies, has 3 voices, and was last updated by Avatar Matt 1 month, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #52651
    Avatar
    Matt
    • Topics: 1
    • Replies: 3
    • Posts: 4

    Hi All

     

    I would like to set up a scan to scan Volume and Closing price on Daily Charts.

    Volume high to be higher than the prevoius day and the day before that,  (So 3 days of volume higher than the previous day )

    and

    The closing price to be higher than the previous day and the day before that.

    MYR is a perfect example Apil 5th 8th and 9th

    Anyhelp would be great .  If i have to i will book a hr with the team to go over it , but if anyone is up to give me some pointers that would be cool

    Cheers 

    Attachments:
    #52659
    Avatar
    Srikanth
    • Topics: 3
    • Replies: 5
    • Posts: 8

    please try this ..and just curious how you are using it.

     

     

    c1 = CLOSE();
    c2 = CLOSE(OFFSET=1);
    c3 = CLOSE(OFFSET=2);

    //c4
    v1 = VOL();
    v2 = vol(OFFSET=1);
    v3 = vol(OFFSET=2);

    c4 = (c1 > c2) and (c2 > c3) and (v3 < v2) and (v2 < v1)
    and (close() > OPEN()) and close(OFFSET=1) > OPEN(OFFSET=1) and close(OFFSET=2) > OPEN(OFFSET=2);
    c4

    #52663
    Avatar
    Matt
    • Topics: 1
    • Replies: 3
    • Posts: 4

    Thanks for that I will try over the weekend .

     

    I guess you would say its a very basic entry , the next day on open .

     

    Then you could use a number of exit plans .  Main thing is go in with a plan in place.

     

    Cheers

     

    #52703
    Avatar
    Matt
    • Topics: 1
    • Replies: 3
    • Posts: 4

    Thanks for your help SriKanth   But i am going to call and get some help from Optuma Tmrw with my scripting.   Cheers

    #52715
    Darren
    Darren
    • Topics: 36
    • Replies: 211
    • Posts: 247

    DaysUp – DU() and BARSTRUE()

    Try the DaysUp function DU() (and tool) by default counts the number of consecutive higher closing prices, so for other counts (eg volume, RSI, MACD, etc) nest the function within it. More info here:

    https://help.optuma.com/kb/faq.php?id=1078

    So for consecutive higher volume: DU(VOL()), as per this example (the opposite is DD() for Days Down):

    Capture

    BARSTRUE() is similar and will count how many times X has been true in Y days, so for the number of up days in the last 10:

    BARSTRUE(DU(), LOOKBACK=10)

    #52755
    Avatar
    Matt
    • Topics: 1
    • Replies: 3
    • Posts: 4

    Hi Darren

     

    Mate thanks for your info . I will try it tonight , 

     

    Cheers

Viewing 6 posts - 1 through 6 (of 6 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