As soon as the indicator is removed from the symbol, the inscription remains. Tell me how to fix it?
(Screenshot below)
Files:
lvDIRijcC3vCZSY8nflO66bl-4R_a9XG_Rsfu29Z9JhCYVBOEXyzHKB_LrmMQ35hL6vtc0WtSDfdFj7i917vQsrB.jpg
103 kb
In OnDeinit, set the Comment to "".
As @Dominik Christian Egert suggested, here is a code example. I suggest also reading about Event Handling.
void OnDeinit( const int reason ) { Comment( "" ); // Clear comment on chart };
Fernando Carreiro #:
As @Dominik Christian Egert suggested, here is a code example. I suggest also reading about Event Handling.
Thank you. This time I was to lazy to give code.
I already did twice.
Fernando Carreiro #:
No worries! I know you answer from a mobile phone many times and that it is difficult for you to post code on those occasions.
Yes. In fact I found some ways to compensate for most of the shortcomings from mobile.
Like answering to a post by reply,making my text be below the citation. It requires me to copy-paste a CR/LF of text and then hit "new line" at least twice.
Code sections are similar, copy paste.
Usually I read the forum when I have spare time, not on the PC.... Contradictory, but well, I guess that's life.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register