Chcete-li používat chat, přihlaste se.
Zpět na Kontakty

Need a Script or EA to move/place/modify SL to BE.

Mar 17, 2012 at 22:21
855 zobrazení
2 Replies
Členem od Aug 11, 2011   21 příspěvků
Mar 17, 2012 at 22:21 (Upravené Mar 17, 2012 at 22:23)
Hi Guys/Gals
I've been looking for this code all over but couldn't find it. Seemed pretty simple, but surprisingly nobody wrote it yet.
Basically I need a Script or EA that will look at all open orders for selected pair(pairs or any), pick orders that are in profit by certain number of pips and modify its stop-loss to BE.

Basic scenario:
Pair USDJPY.
Order1 - long @ 76.00, current SL @ 75.00
Order2 - long @ 76.50, current SL@ 75.50
Order3 - long @ 77.3, current SL @ 76.30
Current USDJPY rate: 77.8

Parameters for script selectable/changeable by user:
Pair: USDJPY
Move SL when Profit is/more (in pips): 110
BE level (in pips): 0

I drag and drop the script on the chart and it:
- modifies SL of order1 to 76.00
- modifies SL of order2 to 76.5
- makes no changes for order3

If you can write the code or have questions please contact me by email: [email protected] with subject 'Code my FXbook' as I get hundreds of emails daily, I simply don't want to miss your response. Will pay via PayPal.
You see the shit on the street, you do not step into it.
Splexin
forex_trader_33781
Členem od Apr 11, 2011   202 příspěvků
Mar 18, 2012 at 06:53

   Sarkel posted:
   Hi Guys/Gals
I've been looking for this code all over but couldn't find it. Seemed pretty simple, but surprisingly nobody wrote it yet.
Basically I need a Script or EA that will look at all open orders for selected pair(pairs or any), pick orders that are in profit by certain number of pips and modify its stop-loss to BE.

Basic scenario:
Pair USDJPY.
Order1 - long @ 76.00, current SL @ 75.00
Order2 - long @ 76.50, current SL@ 75.50
Order3 - long @ 77.3, current SL @ 76.30
Current USDJPY rate: 77.8

Parameters for script selectable/changeable by user:
Pair: USDJPY
Move SL when Profit is/more (in pips): 110
BE level (in pips): 0

I drag and drop the script on the chart and it:
- modifies SL of order1 to 76.00
- modifies SL of order2 to 76.5
- makes no changes for order3

If you can write the code or have questions please contact me by email: [email protected] with subject 'Code my FXbook' as I get hundreds of emails daily, I simply don't want to miss your response. Will pay via PayPal.

Plenty of free EAs out there......is this what you're looking for?
Členem od Aug 11, 2011   21 příspěvků
Mar 18, 2012 at 16:50
Splexin posted:
Plenty of free EAs out there......is this what you're looking for?
Thank you, That will do.
You see the shit on the street, you do not step into it.
You must be connected to Myfxbook in order to leave a comment
*Komerční použití a spam nebudou tolerovány a mohou vést ke zrušení účtu.
Tip: Zveřejněním adresy URL obrázku /služby YouTube se automaticky vloží do vašeho příspěvku!
Tip: Zadejte znak @, abyste automaticky vyplnili jméno uživatele, který se účastní této diskuse.