text objects
-
hi . i have an indicator shows text object label on the chart . they have name and color. and also available in object list . how can i use this text in condition to do something ?. for example : when object created in candle id 1 do what i say?
-
Have you tried object appears?
-
@jstap no how does it work?. i used ( for each object block) and does not work
-
It's indicator appears, this will cause the EA to rexct when ever it appears.

-
@jstap seems you dont understand me . i mean whenever the indicator draw object text then do something .!!!
-
Yes when the indicator draws it appears, if this doesn't work you can possibly get it from the object, but test this first.
-
Try looping the objects
-
@jstap ok. but i cant add this indicator to fx dreema . it have a lot inputs . there is and way to find text object except this?
-
If you don't have the MQ file you have to manually input, but often you won't need to, just add the buffers it has.
-
@jstap how to add input like these?

-
type is color & bool, but you will have to add all in order. the picture is showing, int, int, int, color, color, int, string, bool,
-
@jstap what is value for color and bool?
-
clrDeepPink, you can get this colour from any FX block that uses colours. It's not a bool it's an enum, the problems with enum is you need to know the values in the code imposible to guess.
-
@jstap ok thanks....what is input and value for this on .i use enum but does not work !!!!!
Screenshot (642).png
-
That is a standard MT enum,
ENUM_APPLIED_PRICE - Applied price - PRICE_CLOSE
Should do it
-
@jstap I did it but does not work.

-
Pass me the indicator here and I'll see if I can get it to work
-
-
I think this is a custom enum, because the value is: Close price not PRICE_CLOSE

-
@jstap OK thank you very much.