Dual trailing stop?
| The following users have thanked gazuz for useful post above: | ||
![]() |
|
|||
|
i'm fairly sure you could with one stop referenced to 1 order and the other stop to the other order
__________________
CodersGuru MQL4 course |
|
||||
|
I just meant a trailing stop to close part of one order. For example I go long on the EURUSD but the price falls, it closes 2 lots of that trade. Then if it keeps going down it will close the other lots or however many I chose but if it goes back up then the trailing stop will follow.
Its a sort of security thing, I calculate the lots so I can break even with the first trade and anything the rest of the lots is profit. You know, usually people say "I could've made this much if only I kept my position open but it pulled back on me", I want to see if I can actually make it
__________________
____________________________\¦/ ___________________________(ò ó) ______________________o0o___(_)___o0o__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ |
|
||||
|
I thought of a way to get around, it includes making multiple trades at the same time with different increment lots. The problem with that is the broker will most likely not execute all trades at the same time therefore most likely not same price giving it an offset that may be significant depending on our pip goals
__________________
____________________________\¦/ ___________________________(ò ó) ______________________o0o___(_)___o0o__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ |
|
||||
|
Great, you can partially close order, like closing half of the position, keeping another half. Modifying already coded trailing stop to partially close is very easy. Gaz, if you have the working code, I'll modify for you.
Updated: Make sure that the broker allows contract size of 0.1 lot (mini lot). Good thing is many brokers especially Alpari and InterbankFX allow that. Last edited by scorpion : 12-18-2006 at 02:56 AM. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trailing stop methods | TraderSeven | Trading Systems | 6 | 11-09-2007 02:32 PM |
| Changing Trailing Stop | tradetrade | System Coding | 1 | 08-07-2007 10:57 AM |
| Idea for trailing stop | grantfx | Indicator Coding | 0 | 12-01-2006 09:48 PM |
| breakeven/trailing stop | MuppetMan | MetaTrader and ZeroCode | 2 | 09-23-2006 07:22 AM |
| HELP! trailing stop for medium price | giraia_br | MetaTrader and ZeroCode | 4 | 06-14-2006 05:45 AM |
All times are GMT. The time now is 09:37 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
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










Linear Mode

