Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register More recent 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 05-09-2006, 04:26 PM
Junior Member
 
Join Date: May 2006
Posts: 3
whizzkid is on a distinguished road
Can Metatrader4 recognize a target hit?

Hey guys,
New to the forum, but very interested in Metatrader4 code.
I have a request that seems like it should be simple, but to date I’ve had no luck with it. I’m looking for a snippet of code that will do one of the following:

1. Read whether Pending trade has been placed
2. Read whether a Take Profit for a trade has taken place.
3. Read whether a Stop Loss for a trade has taken place.

You see, I’m trying to build an expert that places multiple pending orders, and then based on what the market does (whether the Stops or Targets are hit) reacts with canceling certain trades. Any Help Would be very much appreciated as I’ve currently exhausted every angle I can figure. I am fairly new to the metatrader4 language, but I’ve asked several fluent people so far to no avail. Could it be that metatrader4 can’t recognize current trades? It seems unlikely.

Thanks in advance for your response!!
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 05-09-2006, 08:19 PM
Senior Member
 
Join Date: Mar 2006
Posts: 793
Maji is on a distinguished road
I am looking for the same information. If you get it, please share. Someone did post a way to do it, but I did not understand it.

Thanks,
Maji
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 05-09-2006, 08:42 PM
Junior Member
 
Join Date: May 2006
Posts: 3
whizzkid is on a distinguished road
can you show me where it was. I'm not a genious, but I'd like to try.
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 05-09-2006, 08:54 PM
Senior Member
 
Join Date: Mar 2006
Posts: 793
Maji is on a distinguished road
Check the posts here How to fi
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
Looking for EA that will close after profit target reached. haslin75 Expert Advisors - Metatrader 4 2 06-03-2007 01:49 AM
Anybody recognize this Indicator? goldenequity Metatrader 4 5 04-14-2006 12:43 AM
2nd Anybody recognize this Indicator? jbt Metatrader 4 2 04-13-2006 04:41 PM


All times are GMT. The time now is 08:33 PM.



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