Thread: Arrows in EA?
View Single Post
  #3 (permalink)  
Old 01-24-2007, 01:34 PM
igorad's Avatar
igorad igorad is offline
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 829
igorad is on a distinguished road
It's possible.
Try to insert this function in your EA:

void DrawArrow(string name,datetime time, double price, int type, color clr)
{
ObjectCreate(name, OBJ_ARROW, 0, time, price);
ObjectSet(name, OBJPROP_COLOR, clr);
ObjectSet(name, OBJPROP_ARROWCODE, type);
}


Quote:
Originally Posted by arashas
IS it possible to insert Arrows & other Drawing shapes in EA
I mean just EA`s not Indicators
because SetIndexStyle() does not work in my EA`s


please help me
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory
Reply With Quote