Rating: Empty Star Empty Star Empty Star Empty Star Empty Star
Need a Script or EA to move/place/modify SL to BE.
Sarkel

Member Since Aug 11, 2011  21 posts Nasim (Sarkel) Mar 17 2012 at 22:21 (edited 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: nas@nycirb.org 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

Member Since Apr 11, 2011  202 posts Splexin 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: nas@nycirb.org 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?

Sarkel

Member Since Aug 11, 2011  21 posts Nasim (Sarkel) 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.
Please login to comment.
Leading Indicator (16 min)
Movers & Shakers: Amazon sinks on result...(45 min ago)
EURUSD 1.26541 GBPUSD 1.60514
USDJPY 107.947 USDCAD 1.12148
FxPro
Tools Community Reviews Platform Company Support
Economic Calendar Community Brokers Widgets About FAQ
Forex Market Systems Expert Advisors Features Blog Help
Forex Volatility Most Popular Systems Signal Providers API Twitter Contact Us
Forex Correlation Strategies VPS Services Mobile Facebook Report A Bug!
Forex Broker Spreads Contests EA Programming Translations    
Forex Broker Quotes Forex Charts PAMM Brokers RSS    
Forex Broker Swaps Community Outlook Rebate Programs      
Streaming Forex News   Trading Platforms      
Forex Broker Volume          
COT Data          
Liquidity          
Forex Calculators New          

Download Myfxbook Android App
Site Map  |   Terms & Conditions  |   Privacy Policy
©2014 Myfxbook Ltd. All Rights Reserved.
HIGH RISK WARNING: Foreign exchange trading carries a high level of risk that may not be suitable for all investors. Leverage creates additional risk and loss exposure. Before you decide to trade foreign exchange, carefully consider your investment objectives, experience level, and risk tolerance. You could lose some or all of your initial investment; do not invest money that you cannot afford to lose. Educate yourself on the risks associated with foreign exchange trading, and seek advice from an independent financial or tax advisor if you have any questions. Any data and information is provided 'as is' solely for informational purposes, and is not intended for trading purposes or advice.