Forex
Google

Go Back   Forex Trading > Discussion Areas > Setup Questions
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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 05-09-2006, 02:49 PM
whizzkid whizzkid is offline
Junior Member
 
Join Date: May 2006
Posts: 4
whizzkid is on a distinguished road
Can Metatrader read whether Target or SL for Order 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!
Reply With Quote
Reply


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

vB 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
Login is Read Only? DooMGuarD Metatrader 4 0 06-11-2007 07:02 PM
Looking for EA that will close after profit target reached. haslin75 Expert Advisors - Metatrader 4 2 06-03-2007 12:49 AM
Can Metatrader4 recognize a target hit? whizzkid Metatrader 4 3 05-09-2006 07:54 PM


All times are GMT. The time now is 03:08 AM.