Hi, is there a way with thinkscript to obtain the last price of a stock during the premarket, but without showing the extended hours bars.
That is, being able to replicate what is done in TradingView when selecting the option to show the line and the value of the Pre/Post Market
In thinkscript I have only been able to work with the information that is displayed on the screen, that is, if the extended hours are shown, the last price can be obtained, but if the extended hours are hidden, the last price from when the market closed is shown.
In the attached image I show what I want to replicate how the PostMarket value is displayed in TradingView by showing or hiding the extended hours.
That is, being able to replicate what is done in TradingView when selecting the option to show the line and the value of the Pre/Post Market
In thinkscript I have only been able to work with the information that is displayed on the screen, that is, if the extended hours are shown, the last price can be obtained, but if the extended hours are hidden, the last price from when the market closed is shown.
In the attached image I show what I want to replicate how the PostMarket value is displayed in TradingView by showing or hiding the extended hours.
Last edited by a moderator: