Register File Sharing Journals Chat Room FAQ Calendar Mark Forums Read

Advertisement







Search Forums
 
» Advanced Search

Reply
 
Thread Tools Display Modes
Old 24-02-2005, 10:24   #1
estfx
level 1
 
Join Date: Feb 2005
Posts: 54
Downloads: 0
Uploads: 0
Rep Power: 4estfx is on a distinguished road
Expert Advisor Reversal orders

I am trading on Meta Trader 3, and would like to do the following on Expert Advisors. Does anyone know where I can get the code for this, or can someone help me write it:
I would like to place an order that would be contingent on another contingent order being executed.

For ex:ample:

Market is currently at 1.3125

Place an entry buy stop for 10 lots at 1.3150

Attach a contingent S/L at 1.3110

If the contingent order is executed and those 10 lots get sold out at 1.3110, then I want to add to this position and sell another 10 lots at that same price of 1.3110

Any help or direction would be greatly appreciated.

Thanks,

estfx
estfx is offline   Reply With Quote
Old 24-02-2005, 11:46   #2
Trevman
level 3
 
Join Date: Jan 2005
Posts: 290
Downloads: 6
Uploads: 0
Rep Power: 0Trevman is an unknown quantity at this point
Re: Expert Advisor Reversal orders

so you basically want to;

buy order 10 at 1.3150
sell order 20 at 1.3110

the buy 10 will be cancled by the sell 10 and leave a sell 10. is there any conditions to this because if oyu just want to do this randomly surely it would be less hassle to do it manually.
Trevman is offline   Reply With Quote
Old 24-02-2005, 12:19   #3
estfx
level 1
 
Join Date: Feb 2005
Posts: 54
Downloads: 0
Uploads: 0
Rep Power: 4estfx is on a distinguished road
Re: Expert Advisor Reversal orders

thats correct, however i only want to sell those 20 at 10 ifthe market first reached 50 and then came down. i dont want to do it manually- as i like to program the system in the morning - if i sit in from of the computer all day - tehn i trade too much and too emotionally.

thanks for your help
estfx is offline   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 On
Forum Jump