Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
About Eye_V10.0_FL.mq4
This EA open new Hedge Orders to avoid broken account.
Definitions:
Master Order – Any order opened manually, by another EA or by Toaster
Hedge Order – A Hedge Order is an order open when a Master Order profit < hedge_at.
Orphan Order – A Hedge Order whose Master Order has been closed.
Hedge Order is an order in the same Symbol in opposite direction.
Example: If Master Order is BUY Hedge Order is SELL.
How it works now
When Master Order reaches hedge_at value a new Hedge Order will open.
The Hedge Order is closed using the following parameters.
These parameters are not working properly. It must fix.
============= Changes I want - Begin ===================================
Check – string – (e_sort) – choose between money or points. It works fine. No action is necessary.
close_at_profit – Double - When the Hedge Order's profit – positive value - reaches this value, this order will be closed.
Note that if profit_master_order < hedge_at a new Hedge Order will be opened. This is normal.
close_at_lose – Double - When the Hedge Order's profit – negative value - reaches this value, this order will be closed.
Note that if profit_master_order < hedge_at a new Hedge Order will be opened. This is normal.
Lot_multip – double – Lot multiplier. This parameter is OK. No action is necessary.
All_profit_close_all – Double - When Equity reaches this value all open orders – Masters and Hedge - will closed. This parameter is OK.
No action is necessary.
use_close_eye_ord_if_no_master_ord – Remove this parameter.
close_eye_ord_if_no_master_ord_MINprof - Remove this parameter.
=== Add New Parameter =====================================================
Close_Orphan – Boolean – If true Close Hedge Order when respective Master Order is closed.
============================= Changes I want - End ==========================
About Toaster
Toaster is an internal code that allows EA to open Master Orders. Use in Tester or trade. It works fine. No action is necessary.
=============================================================