Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-16-2007, 12:38 AM
arashas's Avatar
Junior Member
 
Join Date: Oct 2006
Posts: 5
arashas is on a distinguished road
Arrows in EA?

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

Last edited by arashas; 01-17-2007 at 12:10 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-24-2007, 11:47 AM
arashas's Avatar
Junior Member
 
Join Date: Oct 2006
Posts: 5
arashas is on a distinguished road
still no answer?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-24-2007, 12:34 PM
igorad's Avatar
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 800
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-24-2007, 09:17 PM
arashas's Avatar
Junior Member
 
Join Date: Oct 2006
Posts: 5
arashas is on a distinguished road
Quote:
Originally Posted by igorad
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);
}
highly appreciated

thank your favor to me


let me check it please
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-04-2007, 07:47 AM
sandfromsky's Avatar
Junior Member
 
Join Date: Feb 2007
Posts: 13
sandfromsky is on a distinguished road
if (ObjectCreate("text_object_1", OBJ_TEXT, 0, D'2006.11.28 12:00', 1.3100))
{
ObjectDelete("text_object_1");
ObjectSetText("text_object_1", "Hello world!", 12, "Times New Roman", Red);
}


You can write down any words on your chart.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change arrows or dots? hidethereal Indicators - Metatrader 4 9 01-10-2008 03:45 AM
how to change arrows fxbs Indicators - Metatrader 4 1 03-23-2007 04:12 AM
Indicator DMI - Arrows profeta Suggestions for Trading Systems 7 03-02-2007 06:10 AM
How do you show buy and sell arrows on an EA rbowles Metatrader 4 1 07-31-2006 12:04 AM


All times are GMT. The time now is 06:56 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.