HELP! trailing stop for medium price
  #1 (permalink)  
Old 06-13-2006, 05:26 PM
Freshman
 
Join Date: Oct 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
giraia_br is on a distinguished road
Default HELP! trailing stop for medium price

PLEASE! i need an trailing stop ea that calculates the medium price of a trade.

for example:

there is a buy of 60 lots at 1,8466, another of 120 lots at 1,8386 and another of 180 lots at 1,8306. So the medium price is 1,8359. If i set profit to 30 pips the ea start at 1,8389...and stop only if price back "X" pips against medium price.

but it calculat only buy or only sell (i think i can set it in any ea...right?)
Reply With Quote
  #2 (permalink)  
Old 06-13-2006, 06:56 PM
Freshman
 
Join Date: Oct 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
giraia_br is on a distinguished road
Default

for mt4...
Reply With Quote
  #3 (permalink)  
Old 06-14-2006, 12:57 AM
gazuz's Avatar
Senior Trader and Moderat
 
Join Date: Aug 2004
Posts: 768
Thanks: 1
Thanked 8 Times in 5 Posts
gazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to all
Default

First I'd like to ask how are you able to trade 180 lots? I've never seen anything over 100 lots and I dont think any brokers actually allow you to trade that high...
__________________
____________________________\¦/
___________________________(ò ó)
______________________o0o___(_)___o0o__
___¦_____¦_____¦_____¦_____¦_____¦_____¦
¦_____¦_____¦_____¦_____¦_____¦_____¦__
___¦_____¦_____¦_____¦_____¦_____¦_____¦
¦_____¦_____¦_____¦_____¦_____¦_____¦__
Reply With Quote
  #4 (permalink)  
Old 06-14-2006, 02:46 AM
Freshman
 
Join Date: Oct 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
giraia_br is on a distinguished road
Default

Quote:
Originally Posted by gazuz
First I'd like to ask how are you able to trade 180 lots? I've never seen anything over 100 lots and I dont think any brokers actually allow you to trade that high...

0.01

1.80

and now?
Reply With Quote
  #5 (permalink)  
Old 06-14-2006, 06:45 AM
gazuz's Avatar
Senior Trader and Moderat
 
Join Date: Aug 2004
Posts: 768
Thanks: 1
Thanked 8 Times in 5 Posts
gazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to all
Default

I know how to do this manually but I can guess how to program this (without any coding language)

Name each trade 1,2,3,4 as they start and the numbers reset as the lots go back down to the first. program so that the number 2 has the trailing stop.

How are your trades opened though? do they have a fixed amount between each one? if so you can probably bypass the whole thought of using the medium price
__________________
____________________________\¦/
___________________________(ò ó)
______________________o0o___(_)___o0o__
___¦_____¦_____¦_____¦_____¦_____¦_____¦
¦_____¦_____¦_____¦_____¦_____¦_____¦__
___¦_____¦_____¦_____¦_____¦_____¦_____¦
¦_____¦_____¦_____¦_____¦_____¦_____¦__
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Super Ea AQUILEZ Trading Systems 142 09-24-2008 02:25 PM
Trailing stop methods TraderSeven Trading Systems 6 11-09-2007 03:32 PM
Changing Trailing Stop tradetrade System Coding 1 08-07-2007 11:57 AM
Custom Code request : Action breakeven stop Automatic Digs Trading Systems 0 09-24-2006 07:43 AM
How to calculate the Close and Open price of candle? scorpion MetaTrader and ZeroCode 5 09-07-2005 03:05 PM


All times are GMT. The time now is 05:59 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now

Main Menu

Economic Forecast