Screen Criteria Met Over past 2 days

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #126637 quote
    telboy
    Participant
    Junior

    All

    Im new to this and still finding my feet so apologies if Im asking a stupid question or presenting the question in the wrong way.

    The key thing that Im trying to achieve is to screen to see if 1 of 3 criteria has been met over the past 2 days.

    I cant seem to make it work. Any tips/advice would be greatly appreciated?

    Many thanks

    vol=Volume
    Mline=MACDline[12,26,9](close)
    Msignal=MACD[12,26,9](close)
    ParSar=SAR[0.02,0.02,0.2]
    StochD=Stochasticd[14,3,5](close)
    StochK=Stochastic[14,3](close)
    Timeframe(Daily)
    C1=ParSar crosses under CLOSE
    C2=Mline crosses over Msignal
    C3=StochK crosses over StochD
    Result=c1[0] OR c1[1] OR c1[2] OR c2[0] OR c2[1] OR c2[2] OR c3[0] OR c2[3] OR c2[3]
    screener[Result] SORT BY(vol)

     

    l)

    #126644 quote
    robertogozzi
    Moderator
    Master

    I assume you are using a Daily TF.

    Replace line 11 with:

    Result=(summation[2](c1[0] OR c1[1] OR c1[2] OR c2[0] OR c2[1] OR c2[2] OR c3[0] OR c2[3] OR c2[3])=2)
    

    you may change the two 2’s to any number you may need. Replace it with 1’s to restrict validity to 1 bar (default PRT setting).

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

Screen Criteria Met Over past 2 days


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
telboy @telboy Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
5 years, 11 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 04/17/2020
Status: Active
Attachments: No files
Logo Logo
Loading...