Filter stocks using 1st/2nd.. or any candle in our scanner

We’ve added the ability to access any candle of the latest trading day or previous days for Intraday timeframes. Useful for scans that require to access indicator values at a given point in time.

Example offset’s to access different candles for a trading day (5 minute chart)

  • [0] 5 minute close -> refers to the latest 5 minute candle
  • [=1] 5 minute close -> refers to the days’ first 5 minute candle
  • [=3] 5 minute close -> refers to the days’ third 5 minute candle
  • [=-1] 5 minute close -> refers to the previous day’s last 5 minute candle
  • [=-75] 5 minute close -> refers to the previous day’s first 5 minute candle, considering a single day has 75, 5 minute candles

If you want to access the first candle on a 5 minute timeframe(9:15-9:19:59am), you can select your required indicator/stock attribute and then change the offset to `=1` as indicated below:

Crossover Support

Days candles also support crossover/below operations. For example, to identify a crossover at the opening candle, we can do “[0] 5 minute Close Crossed above [=1] 5 minute SuperTrend(7,3)”

Example scans

 

82 thoughts on “Filter stocks using 1st/2nd.. or any candle in our scanner”

      1. ( {57960} ( [0] 15 minute close > [-1] 15 minute max ( 20 , [0] 15 minute close ) and [0] 15 minute volume > [0] 15 minute sma ( volume,20 ) ) )
        in this 15min breakout why are using present candle in max function and previous candle before that

        thank you

  1. This is very good. Please also add functionality to select a range like if I want if any condition happened during whole day so I can give day’s first bar to last bar in the scan.

      1. Mr. Akash,

        Would you please tell how to scan the criteria like below:
        “When closing value of candle goes below the crossing value of either previous 2 or 3 or 4 or candle but simultaneously RSI(14) value goes above the value of that specific candle”

        For example, in 30 min time frame 4th candle of the day closes below the value of 1st candle stick close value. Simultaneously RSI value of 4th candle would be more than that of 1st candle RSI value.
        It is just detection of divergence in RSI for any time frames. Please let me know how to scan such criteria please

  2. chakkass,,,,,very very use full. earlier i have to change the candle number as pass the every candle of time ..thank uuuuuuu

  3. Great. Keep it up. I need stochastic momentum index indicator. Till now I didn’t earn profit for last 4 months. If you add stochastic momentum index, I will be grateful to Chartink. Tku

  4. Hi Team,

    Can you please add Gann number option in scanner.

    Secondly you can ask how many upside and downside Gann level should be on chart.

    Thanks

  5. This feature is amazing Chartink team. You have out done yourself this time.

    Glad to be user of this amazing tool.

  6. sir,
    i excess your chart daily the additional feature are you giving free or chargeable your charting system is good & do inform about more indicator for educational purpose if you can display nifty put call chart it will be great. thank you
    mahesh.

  7. Not able to understand this feature correctly, kindly give this with an example of a scanner scrip please.

  8. what a great work. amazing that my requirement was seriously considered and implemented in no time. iam very thankful for your wonderful service
    regards,
    sathya

  9. Hi,
    Is it possible to code 1/2/3..n day ago 1/2/3/..nth (15min)candle so that i could easily back test my strategies??

  10. good work sir , i m new here plz can u share any link how to use sub filter and other function i m unable to use it and plz add one more important feature in chart wneh we work on chart with drawing but when we open next time it removes all drawing not show r support and resistance make chart easy like amibroker charting plz sir thanks

  11. Hello, Chartink system is class apart. If you could include subscription based backtesting feature then we could test our strategies also.

  12. sir how can i refer a candle before today’s 1st candle, your days 1st candle has improves stock screening for intraday very much for me,

  13. Hi,
    Chartink is one of the best charting available now.

    Can you please explore the possibility of chart movement for any time frame with the help of mouse (like tradingview.com)

    Thanks and Regards,
    Rangaswamy

  14. Hi there,

    Can we apply this functionality on historical data i.e. first candle of previous 2 days?

    When I was playing around this, I saw that it’s possible but when I tried next time, it’s not allowing me.

    Any updates on this are highly appreciated!

    Thank you!

    Best regards,
    Abhijeet

  15. Hi i want to create an alert when the 16th 1 min candle crosses above the high of the 1st 15 min candle. I tried for many 1 min candles ( from 16 to 31). but the query is not throwing up any stocks. Could you please advise.

    Many thanks
    Suresh

  16. me analyst h.aving. 66% accuracy ….i regularly your charts since few years it works. well unders.table g.ives. clear picture of mkt plz update me on 9819140743 or 9819134791 g.ood wis.h.es.

  17. Akash ji,

    Please add Quarterly & Yearly chart in chartink website, it will help to investors.
    No update bse & x, xt group stocks in scan.

    Thank you

    1. Hello,
      Charts are updated every 1 minute only for NSE stocks. We do plan on adding BSE later. One can view charts of 3, 6, 9 and more months by choosing the same from the dropdown menu.

  18. Are planning to add feature to customize the columns of exported report. For e.g i want to add previous day close in my exported report.

  19. I need to understand chart for making trades as I trade online and take position and losing huge money please help me my number is 9810935042 please call me or give your mobile number at my email id [email protected] I will call you

  20. Hi Team,

    I can see the back test result of scan generated stock time

    Mon Mar 25 2019 00:00:00 GMT+0530 (India Standard Time)

    i would like to know what would be the right IST time for this time entry.

    Regards
    Rajkumar.S

  21. Sir I am facing difficulties in coding days 1st 5 mins candle breakout as following:
    Range of today’s 1st 5 mins candle is greater than last 5 Days 1st 5 mins candle. Could you please guide me

      1. I am a premium customer. I have some queries.
        1. Suppose i have a scanner which is returning 2 stocks for 10th April based on first and second 5 minute candles of a day but when i see backtest results , it shows those 2 stocks @3:25 PM time and some other stocks @different time in a day.
        So my question is if my scanner is based on first and second candles why does it show other stocks in backtest results.Please explain. I think backtest is not working properly.

        2.Can you create dedicated scanner for me which filters stocks based on any 5 min candle not any specific time candle means i will not provide any specific no candle like first , second .

  22. Hope this helps on back-testing:
    https://chartink.com/articles/?s=back

    It will show the previous days/ minutes results for your scan without the need for you to modify the scan. Back-testing will not give alerts. It is only to analyze/ view stocks previously triggered by your scans.  If you click on any of the bars on the graph, it will show the list of stocks that triggered as per the scan previously. 

    Back-test data will show data for the lowest candle time frame in your scan. If lowest time frame is 1 minute, it will show results for last 1 minutes. If its on daily candle it will show data for past 6 months. We show results for the past 150 bars  in our backtest section, these 150 candles could be of any timeframe, depending on the lowest timeframe in your scan, so for 5 minutes for example, you would get 2 days, for 1 minute, half a day and so on. 

    Please share your scan requirements on [email protected] and we shall create the scan for you.

  23. Hi:
    Can you pl clarify – during mkt hrs – latest close means – whether it denotes previous days close or the price at that minute when scan is done?

    Secondly, during holiday – say Sunday – latest close means – friday close and one day ago means thursday close – right?

  24. Hello ,
    After creating a scanner using the above filter( daily 1st , 2nd candle, etc) backtesting result will not be accurate.
    For Example,
    If i want to scan stocks which breaks high of 1st candle(Hourly). then backtest data will not show the statistics of previous days correct report.

    1. Hope this helps on back-testing:
      https://chartink.com/articles/?s=back

      It will show the previous days/ minutes results for your scan without the need for you to modify the scan. Back-testing will not give alerts. It is only to analyze/ view stocks previously triggered by your scans.  If you click on any of the bars on the graph, it will show the list of stocks that triggered as per the scan previously. 

      Back-test data will show data for the lowest candle time frame in your scan. If lowest time frame is 1 minute, it will show results for last 1 minutes. If its on daily candle it will show data for past 6 months. We show results for the past 150 bars  in our backtest section, these 150 candles could be of any timeframe, depending on the lowest timeframe in your scan, so for 5 minutes for example, you would get 2 days, for 1 minute, half a day and so on. 
       
      If you have the alert frequency of 5 minutes on a 1 hour candle scan, the alert results will update every 5 minutes and so will the backtest results(if you open the site and view the graph every 5 minutes), the difference is that the alert keeps a history of all your stocks triggered every 5 minutes i.e at 9:20am, 9:25am and so on via the alert history page,, whereas the backtest graph doesn’t keep any history as such, it will show the results only as of the candle completion time i.e 10:15am. so its not necessary that the backtest will show all the stocks that were triggered every 5 minutes as your alert show’s.

      Alerts is a premium feature that would allow you to do this, it keeps a track of all your stocks that met the condition every 5 minutes so that you don’t need to keep a track of them manually in the scanner page or the backtesting graph. The backtest is a dynamic graph that would update/change as your 1 hour candle is changing.

  25. How to get formula in chart ink any body can help me.

    open first 30 min. close. than 2nd or any candle 30 min. candle open with high than 1st Candle (Each Candle Time frame is 30mins Intra-day )
    RSI should be more than 40 or below 40

  26. I am looking for Chartink scanner with the following conditions for Opening Range Breakout:- Can somebody help?

    The scanner should start from 9:30 AM(15mins ORB)
    The first 15-minute(9:15 candle) candle should be a flat opening, the high and low should be of a low range.
    First 15 minute candle should not be more than 1% gain.
    The breakout candle(9:30 candle) should not be more than 3% gain
    he scanner should not show gap up stocks
    9:30 candle should not repaint 9:15 candle/stocks
    The scanner should not show low volume stocks

      1. How to filter Stocks whose 5minute ema20 crosses 5minute ema50 from first 5 monte candle to last 5 minute candle. Such that the scanner don’t only scan the latest candle to meet the criteria. Means in a trading session if the criteria meets at any latest or previous candle of any stock.

Leave a Reply

Your email address will not be published.