Find Today's and Yesterday's Low in Intraday 5 min Data
Author: akar
Creation Date: 10/31/2014 1:31 AM
profile picture

akar

#1
I want to find Today's and Yesterday's Low in Intraday 5 min Data. I'm using the following

CODE:
Please log in to see this code.


The values don't match the actual lows. e.g. run it on AAPL from 10/20/2014 - 10/30/2014

How do I get the correct value ?
profile picture

akar

#2
Also, from a daily interval, how do I find the "Close" value of the intraday bar when today's low was less than yesterday's low but the "Close" value of the intraday bar was higher than yesterday's low.
profile picture

Eugene

#3
CODE:
Please log in to see this code.

Don't use fixed bars as a period, it's not reliable. The easiest technique would be to compress the scale to daily like this:

CODE:
Please log in to see this code.


QUOTE:
Also, from a daily interval, how do I find the "Close" value of the intraday bar...

That is also possible:

Intraday / Multi-Time Frame | Accessing Intraday data from Daily
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).