Kevin N Posted April 5, 2019 Report Share Posted April 5, 2019 (edited) I have a scanner that I can run on both intraday a daily, but there are a couple things I would like to disable when running it as daily. Of course I could just duplicate the scan and make one for daily and one for intraday, but I'm wondering if there is a way to identify whether I'm using intraday or historical charts.... it would go something like this. If (Indtraday chart) { if (High >= SymbolData.High - offset) { result += "High Of Day"; } } The scan I use on daily (historical) and intraday are almost identical, thus I hate to duplicate the scan. Edited April 5, 2019 by Kevin N didn mean to submit yet... Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted April 5, 2019 Report Share Posted April 5, 2019 you can do if (IsOnHistoricalChart) or if (IsOnIntradayChart) Quote Link to comment Share on other sites More sharing options...
Kevin N Posted April 6, 2019 Author Report Share Posted April 6, 2019 Thanks, that's exactly what I was looking for Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.