If you got nothing in the data window then the indicator uses objects to draw strings on the window.
You can get the string is the object if it's a label object and if you know its name by this function:
string ObjectDescription( | string name) |
Thank you Guru
Follow your guide, i try use function ObjectDescription for this example :
====================
string label_01="BUY";
string label_02= ObjectDescription("BUY");
if (label_01 == label_02) Comment (" String is correct");
else Comment (" String is not correct");
====================
my example is Ok? it's missing something else? please help me
Right click, show objects and find the pattern.
Most likely, where there's an object, one of the indicator's buffers will also be non-EMPTY. If true, just use iCustom()
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi
I have a indicator, it' separate chart window. This indicator show signal by strings " BUY" or "SELL" ....I want to get this "signal" by get string "BUY" or "SELL" when its output. But I'm not find any function can search string in this indicator. I was try functions : WindowFind(), ObjectFind() and StringFind(), but thats can't work.
I also view this code of indicator, but I cant get it by function iCustom() because this indicator is show signal by strings, not draw.
Anyone can help me to do this problem. Thanks a lot