Thats the problem, I dont have the code :(..
I was trying to show the alert as soon as an arrow was painted based on the number of objects,, but this didnt work.
Thansk for the answer.
Hi all...
I have an indicator that paints some arrows and Im trying to show an alert as soon as the indicator paints an arrow. The problem is that the function ObjectsTotal does not works in this case, because none of the arrows is listed in the objects list... no idea how to get that number.
Any idea of how the indicator could be coded in order to "hide" those objects, but still been able to display it on the chart.
I will appreciate your help.
Thanks.
The "hiding" is simple :
ObjectSetInteger(ChartID,object name,OBJPROP_HIDDEN,true);
But that only "hides" it in the list of objects (partially, since if you press "show all" it still will be displayed in the list of objects) - you can access any object on the chart if you know it's name. If you know the name, use that name to access all the properties of the object you want
- 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 all...
I have an indicator that paints some arrows and Im trying to show an alert as soon as the indicator paints an arrow. The problem is that the function ObjectsTotal does not works in this case, because none of the arrows is listed in the objects list... no idea how to get that number.
Any idea of how the indicator could be coded in order to "hide" those objects, but still been able to display it on the chart.
I will appreciate your help.
Thanks.