This indicator displays a horizontal line across your ThinkorSwim chart to show the current value of the price.
One some charts, it is hard to discern the last price among all the other indicators and bubbles on the axis. Sometimes one wants to see the last price relative to other meaningful values like prev lows, reversal points, etc. This indicator draws a horizontal line across the chart area for the last price. I find it useful on VolumeProfile and TPO charts and many more.
Image of LinePriceTracker
(Orange line at 2981.5 on the sample charts below)
Code for LinePriceTracker
Link to LastPriceTracker study
https://tos.mx/SkUZpR
Happy trading,
Kory Gill, @korygill
One some charts, it is hard to discern the last price among all the other indicators and bubbles on the axis. Sometimes one wants to see the last price relative to other meaningful values like prev lows, reversal points, etc. This indicator draws a horizontal line across the chart area for the last price. I find it useful on VolumeProfile and TPO charts and many more.
Image of LinePriceTracker
(Orange line at 2981.5 on the sample charts below)
Code for LinePriceTracker
Code:
# LastPriceTracker
#
# Author: Kory Gill, @korygill
#
# Shows the last price as horizontal line across entire chart area.
#
# VERSION HISTORY - Sortable date and time (your local time is fine), and your initials.
# 20190910-2200-KG - Created.
# ...
# ...
def vClose = close;
def nan = double.NaN;
def highestClose = HighestAll(if IsNaN(vClose[-1]) then vClose else nan);
plot hc = highestClose;
hc.SetPaintingStrategy(PaintingStrategy.DASHES);
hc.SetDefaultColor(Color.Orange);
hc.HideBubble();
hc.HideTitle();
Link to LastPriceTracker study
https://tos.mx/SkUZpR
Happy trading,
Kory Gill, @korygill
Attachments
Last edited by a moderator: