Рейтинг: Empty Star Empty Star Empty Star Empty Star Empty Star
Need a Script or EA to move/place/modify SL to BE.
Sarkel

Пользователь с Aug 11, 2011  20 сообщений Nasim (Sarkel) Mar 17 2012 at 22:21 (Отредактировано 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

Пользователь с Apr 11, 2011  202 сообщений Splexin (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?
Вложения:
Breakeven_EA_v1.2.mq4

Everything should be as simple as it can be, but not simpler.
Sarkel

Пользователь с Aug 11, 2011  20 сообщений 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.
Чтобы оставить комментарий, необходимо войти в систему.
Retail Sales (YoY) (4 min)
On Thursday, markets digested the Bernanke co...(6 min ago)
EURUSD 1.2923 GBPUSD 1.5087
USDJPY 101.638 USDCAD 1.03438
Tools Сообщество Обзоры Платформа Компания Поддержка
Экономический календарь Сообщество Брокеры Виджеты О нас ЧаВо
Forex Market Системы Советник Особенности Блог Помощь
Forex Volatility Most Popular Systems Провайдеры торговых сигналов API Твиттер Связаться с нами
Forex Correlation Стратегии VPS Services Мобильные устройства Facebook Сообщ. об ошибке!
Спрэды форекс брокеров Конкурсы EA Programming Переводы    
Котировки форекс брокеров Forex Charts PAMM Brokers RSS    
Forex Broker Swaps Community Outlook Rebate Programs      
Новости Forex одной строкой   Trading Platforms      
Forex Broker Volume          
COT Data New          

Карта сайта  |   Terms & Conditions  |   Политика конфиденциальности
©2012 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.