I need an experienced MQL programmer to do simple modifications to my attached Expert Advisor? (Alphafx).?
I will basically need Two things:
(1) I will need the EA to ONLY trade in specific trading hours based on MT4 broker server time. The EA will? NOT initiate any orders away from these set trading hours. In this sense I will need 2 input paprameters:
- StartTime? 1:00? ? (MT4 Time)
- EndTime? 8:00? (MT4 Time)
Currently there exists in the EA a code for trading particular market sessions (Asian sessions - European session - US Session). I will need this code and related parameters removed.
(2) I need the EA to Initiaite a pending order instead of currently initiated market order at a distance of "DeltaEntry"? pips and expiry after "ExpiryBars" bars. If the distance? DeltaEntry = 0 pips then the order is initiated as a market order. The user needs to contral that? through input parameters:
- DeltaEntry? 10? (pips used to claculate pending order entry point; if entering long? and current market price = [url removed, login to view] for example, then the EA will create a pending long order? at [url removed, login to view]; while if entering short the EA will create a pending short order at [url removed, login to view])
- ExpiryBars? 5 ; if pending order does not become market order after "ExpiryBars" then the EA will delete that pending order.