Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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.
Ratfink your help is great! I used the "Print" command to have results in the output window as you said and that is a great stuff!
The assignment of the stop_loss_price level comes in the actions of a condition group in the {....} and it seems doesn't work; well, when I put the Print command out of the {....} instead, it works!
The question could be: Does a variable be declared in the "if" actions set?