5 minute candle screener

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #85461 quote
    Yas1311
    Participant
    New

    Hi guys i was hoping you can help me build a screener for the following scenario.

    Opening 5 minute candle of the day (american market) 2.30pm start time.

    Screener filters only those companies where the first 5 minute candle opens and closes plus 3% or more.

    The candle closes at the high or maximum 15% away from high.

    Only create a list for from 2.30-2.35pm when amercian market opens.

     

    It would be fantastic if you can help!

     

    thanks

    #85468 quote
    robertogozzi
    Moderator
    Master

    This should do

    IF IntradayBarIndex = 0 THEN
       c1 = 0
       c2 = 0
    ENDIF
    IF time = 143500 THEN
       c1 = min(open,close) >= (max(open[1],close[1]) * 1.03)  //open(close 3+%  greater than the day before
       c2 = close >= (high * 0.85)                             //closing price 15-% away fromn high
    ENDIF
    SCREENER[c1 AND c2]
    #85526 quote
    Yas1311
    Participant
    New

    Wow that was quick thank you So much. I forgot to add one thing. I wanted screener to list those stocks which have gapped up or down minimum plus 3%.

     

    Thanks again I really appreciate your help

    #85533 quote
    robertogozzi
    Moderator
    Master

    This is modified to accomodate -3%, besides +3% already in place:

    IF IntradayBarIndex = 0 THEN
       c1 = 0
       c2 = 0
       c3 = 0
    ENDIF
    IF time = 143500 THEN
       c1 = min(open,close) >= (max(open[1],close[1]) * 1.03)  //open(close +3% gap
       c2 = close >= (high * 0.85)                             //closing price 15-% away fromn high
       c3 = max(open,close) <= (min(open[1],close[1]) * 0.97)  //open(close -3% gap
    ENDIF
    SCREENER[(c1 OR c3) AND c2]
    #85636 quote
    Yas1311
    Participant
    New

    Hi again I have tested the code out and waited for results at 2.35pm which didn’t trigger. Maybe we have misunderstood.

    I would like the screener to display results of only the opening 5 minute candle of the day 2.30-2.35pm.

    The candle should gap up or down + or – 3 percent from previous day close.

    The 5minute candle should close only UP at least 85percent from the high of the candle.

    I’m only interested in the results for the 2.30-2.35pm candle.

    Thank you

    #85755 quote
    robertogozzi
    Moderator
    Master

    You added a slightly more selective filter (candle 2:30-2:35 must be bullish):

    IF IntradayBarIndex = 0 THEN
       c1 = 0
       c2 = 0
       c3 = 0
    ENDIF
    IF time = 143500 THEN
       c1 = min(open,close) >= (max(open[1],close[1]) * 1.03)  //open(close +3% gap
       c2 = close >= (high * 0.85) AND close > open            //closing price 15-% away fromn high
       c3 = max(open,close) <= (min(open[1],close[1]) * 0.97)  //open(close -3% gap
    ENDIF
    SCREENER[(c1 OR c3) AND c2]

    if no items are returned maybe there were none to be returned!

    Do you have any name which for sure should have been reported today?

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

5 minute candle screener


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Yas1311 @yas1311 Participant
Summary

This topic contains 5 replies,
has 2 voices, and was last updated by robertogozzi
7 years, 3 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 11/22/2018
Status: Active
Attachments: No files
Logo Logo
Loading...