1) Try changing BarsAgo in the DrawText from 0 to say 10 or 20 (i.e. put it further back in the chart, just in case its always hidden by something)
2) Use the call
and you should always see the last stop in the top left hand corner of the chart.
You could also add in the time while testing as well, e.g. use
Note CurrentBar not needed in these cases as the fixed text places always overwrite anyway.
NB Using "My text" + CurrentBar may not guarantee unique drawing items - especially if you make use of cut/copy/paste and forget to edit one, in which case if you are drawing two things with the same 'tag' only the second one will remain visible, I find it better to use a cut down but still related tag construction whether CurrentBar is needed or not.
e.g. instead of "My Text" + CurrentBar, use "Stop Loss" + CurrentBar and then elsewhere "Entry" + CurrentBar or whatever else is more likely to be 'safe'. I mention this as it has caught me out many (grrrr) times.
Last edited by ratfink; March 27th, 2014 at 04:01 AM.
Reason: remembered a couple of related things
The following user says Thank You to ratfink for this post: