View Single Post
  #3 (permalink)  
Old 06-07-2006, 06:20 AM
Kalenzo's Avatar
Kalenzo Kalenzo is offline
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 696
Kalenzo is on a distinguished road
Quote:
Originally Posted by BluePearl
How does one delete arrows on the chart with MT 4?

I have tried ObjectDeleteAll(0,0) and that deletes the vertical lines but not the buy and sell arrows.
Try this:

for(int i=0;i<ObjectsTotal();i++)
{
if(ObjectType(i) == OBJ_ARROW)
ObjectDelete(ObjectName(i));
}
__________________
You need proffesional mql coder? Contact me! I will help you!
........................................
http://www.fxservice.eu/
........................................
Reply With Quote