how can i now an object is visible or not visible? (1)
is this code is true?
ObjectGetInteger(0,"NAME",OBJPROP_TIMEFRAMES,OBJ_PERIOD_H1);
I this case
ObjectGetInteger(0,"NAME",OBJPROP_TIMEFRAMES,OBJ_PERIOD_H1);
Your object will be visible only on H1 TimeFrame. If you will set OBJ_NO_PERIODS instead of OBJ_PERIOD_H1 your object won't appear on any TimeFrame
- docs.mql4.com
mr-roma:
I this case
Your object will be visible only on H1 TimeFrame. If you will set OBJ_NO_PERIODS instead of OBJ_PERIOD_H1 your object won't appear on any TimeFrame
thanks
but
i have any object in chart.
i want to now is an object is visible or unvisible
id do'nt want to set visiblty of it!You mean visible on Objects List?
i mean visible in timeframe
Can you post you code?
i have an indicator that it disable som of objects in H1 timeframe, i want to now is for example "ObjectName" Object is Visible in H1 Or is unvisible in H1.
Can you post full code?
there isent any code
You said you have an indicator ...
it is ex4
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
how can i now an object is visible or not visible? (1)
is this code is true?
ObjectGetInteger(0,"NAME",OBJPROP_TIMEFRAMES,OBJ_PERIOD_H1);