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 11-15-2006, 08:09 AM
Senior Member
 
Join Date: Aug 2006
Posts: 150
clam61 is on a distinguished road
Putting an object anchored on the right side of the screen

in mql4 script, how does one anchor an object on the right side of the screen? by anchor i mean that it will stay in teh same place no matter how you scroll,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-15-2006, 08:18 AM
raff1410's Avatar
Senior Member
 
Join Date: May 2006
Location: 24°10' E 54°24' N
Posts: 201
raff1410 is on a distinguished road
Try this one...

Code:
   ObjectCreate("Trade", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("Trade", "n", 40, "Wingdings", Red);
   ObjectSet("Trade", OBJPROP_CORNER, 1);
   ObjectSet("Trade", OBJPROP_XDISTANCE, 30);
   ObjectSet("Trade", OBJPROP_YDISTANCE, 30);
Quote:
Originally Posted by clam61
in mql4 script, how does one anchor an object on the right side of the screen? by anchor i mean that it will stay in teh same place no matter how you scroll,
__________________
http://www.gummy-stuff.org/raff-regression.htm

http://www.try-your-luck.com/

Lost in action ;-)... just_raff1410[at]yahoo.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-15-2006, 08:40 AM
Senior Member
 
Join Date: Aug 2006
Posts: 150
clam61 is on a distinguished road
Quote:
Originally Posted by raff1410
Try this one...

Code:
   ObjectCreate("Trade", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("Trade", "n", 40, "Wingdings", Red);
   ObjectSet("Trade", OBJPROP_CORNER, 1);
   ObjectSet("Trade", OBJPROP_XDISTANCE, 30);
   ObjectSet("Trade", OBJPROP_YDISTANCE, 30);
hey raf thanks

im actually interested in placing items determined by a price level.

is this possible>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-15-2006, 08:51 AM
raff1410's Avatar
Senior Member
 
Join Date: May 2006
Location: 24°10' E 54°24' N
Posts: 201
raff1410 is on a distinguished road
for example

Code:
      
      if(ObjectFind("P label") != 0)
      {
      ObjectCreate("P label", OBJ_TEXT, 0, Time[0], Close[0]);
      ObjectSetText("P label", "Price", 10, "Arial", Red);
      }
      else
      {
      ObjectMove("P label", 0, Time[0], Close[0]);
      }
Quote:
Originally Posted by clam61
hey raf thanks

im actually interested in placing items determined by a price level.

is this possible>
__________________
http://www.gummy-stuff.org/raff-regression.htm

http://www.try-your-luck.com/

Lost in action ;-)... just_raff1410[at]yahoo.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-15-2006, 08:53 AM
Senior Member
 
Join Date: Aug 2006
Posts: 150
clam61 is on a distinguished road
nice! thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-15-2006, 08:58 AM
Junior Member
 
Join Date: Aug 2006
Posts: 13
ericlooi is on a distinguished road
EMA Crosses Help...

Hi, I need an EA which will buy/sell when it crosses and take profit when it crosses again. Then follow by buy or sell when it takes the profit.

Is there anyone can help me to create one? Or can i find it in this forum?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-15-2006, 09:18 AM
raff1410's Avatar
Senior Member
 
Join Date: May 2006
Location: 24°10' E 54°24' N
Posts: 201
raff1410 is on a distinguished road
And You want it to be profitable EA?
There are a lot of EAs at
www.lightpatch.com/forex/

Raff

Quote:
Originally Posted by ericlooi
Hi, I need an EA which will buy/sell when it crosses and take profit when it crosses again. Then follow by buy or sell when it takes the profit.

Is there anyone can help me to create one? Or can i find it in this forum?

Thanks.
__________________
http://www.gummy-stuff.org/raff-regression.htm

http://www.try-your-luck.com/

Lost in action ;-)... just_raff1410[at]yahoo.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-15-2006, 11:23 AM
Junior Member
 
Join Date: Aug 2006
Posts: 13
ericlooi is on a distinguished road
Quote:
Originally Posted by raff1410
And You want it to be profitable EA?
There are a lot of EAs at
www.lightpatch.com/forex/

Raff
Ya, sure... which one it is?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-15-2006, 11:49 AM
raff1410's Avatar
Senior Member
 
Join Date: May 2006
Location: 24°10' E 54°24' N
Posts: 201
raff1410 is on a distinguished road
Lightbulb

Quote:
Originally Posted by ericlooi
Ya, sure... which one it is?
CodersGuru EMA_CROSS.mq4... I think...

Raff
__________________
http://www.gummy-stuff.org/raff-regression.htm

http://www.try-your-luck.com/

Lost in action ;-)... just_raff1410[at]yahoo.com
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
Putting a buy order in Pervaz Metatrader 4 2 03-18-2007 08:25 AM
Rectangle object colour trevman Tools and utilities 1 03-15-2007 10:16 PM
brokers that will run an EA server side? stubish Metatrader brokers 3 03-11-2007 02:54 AM
Need an OBJECT lesson ! CaptainVideo Tools and utilities 6 05-18-2006 10:42 PM
Out Side Inside free84 Indicators - Metatrader 4 9 02-14-2006 04:54 PM


All times are GMT. The time now is 11:09 PM.



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