I am attempting to write a script to assist my analysis of premarket gaps... I would like to get the most recent trade price during the premarket and mark this price on a daily interval chart.
but, getMostRecentTrade() appears to just give me the close from the previous day, so I am also considering options for alternatives, like maybe getting the high or low from a one-tick chart, which should be the price of the last trade if my understanding of tick charts is correct... is this possible?
if its of any consequence, i have strong understanding of time templates, and i can see premarket data on my charts, i just cant get efs to return this data.
Any advice is much appreciated, I have very limited time to test this due to the premarket nature of my task.
but, getMostRecentTrade() appears to just give me the close from the previous day, so I am also considering options for alternatives, like maybe getting the high or low from a one-tick chart, which should be the price of the last trade if my understanding of tick charts is correct... is this possible?
if its of any consequence, i have strong understanding of time templates, and i can see premarket data on my charts, i just cant get efs to return this data.
Any advice is much appreciated, I have very limited time to test this due to the premarket nature of my task.
Comment