Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-15-2006, 09: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (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
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,
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 11-15-2006, 09: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 11-15-2006, 09: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>
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 11-15-2006, 09: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 11-15-2006, 09: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 11-15-2006, 10: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.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 11-15-2006, 12:23 PM
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 11-15-2006, 12:49 PM
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
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rectangle object colour trevman Tools and utilities 2 05-23-2009 11:35 AM
brokers that will run an EA server side? stubish Metatrader brokers 7 11-03-2008 01:15 AM
Putting a buy order in Pervaz Metatrader 4 2 03-18-2007 10:25 AM
Need an OBJECT lesson ! CaptainVideo Tools and utilities 6 05-18-2006 11:42 PM
Out Side Inside free84 Indicators - Metatrader 4 9 02-14-2006 05:54 PM


All times are GMT. The time now is 05:15 AM.



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