İş tamamlandı
İş Gereklilikleri
I have an EA that is already programmed to operate how I want in terms of function. I just need a programmer to fix an error, and then add a few levels of consistency to the programming.
The main idea of the additions to this EA is to remember settings of previous hedge orders if EA is removed and readded, (including EA version updates in the future). I need options on the Hedge EA that will allow for it to be removed, then when EA is readded (regardless of current version or updated version), for the EA to remember and manage the old active hedge orders.
Error in current version: When switching from “Current Orders” to “All Order”, EA losses track of current hedge orders. Adding the options below may fix this issue.
Add:
Manage Previous Hedge Order (Selection) – True/False
o If false, do not manage current hedge orders. Old Hedge order will be completely ignored by the new hedge EA. Therefore, it will also be possible for New EA to Hedge the old Hedge Orders. This setting will look at the old Hedge order as if it’s a regular order.
o If True, it will recognize that there is already a hedge order from a previous version of the EA on a primary order, and will know not to add a new hedge order until the previous hedge order has been closed. New hedge order will be based on new rules.
Old Hedge Order Handling (Selection) (active when “Manager Previous Hedge Order” set to “True”) – Use Previous Settings / Use Current Settings
Use Previous Settings – For EA to remember the previous settings of the old hedge orders. Setting of new Hedge EA will not affect the current hedge order. When previous hedge order is closed based on old rules, new hedge order will follow new rules.
Use Current Settings – This option will simply bring the old hedge orders under the management of the new hedge EA settings immediately.
Add - EA should send alerts when a trade fails to open an order or close an order. The EA should have some kind of self-verification mechanism. The EA will only need to alert, it does not have to try add the order again.
***Currently this current version of the EA also tracks order numbers on the hedge orders in the comments section. Perhaps that could help with a method.
***The reason this addition became an idea is because of other EA’s that can remember trades after they have been removed and readded. I have a trade copier that stores some of its files in a folder on the terminal if this is a method you are familiar with.