작업 종료됨
명시
EA Summary; My EA opens trades on multiple currencies based on where they in contrast with the MA. It uses multi-time frame for trade entries. I'd like to make 3 key enhancements.
Enhancement 1: Update EA Close function;
The Exit 1 close function manages when a trade will close based on the candle’s position corresponding to the MA;
Example
With the above setting, the trade will close when the current candle crosses below the 15 period exponential EA.
Update;
- Remove ‘CloseDirection’ options below which currently exists as part of the set of Exit1 inputs.
- Crossed Below
- Crossed Above
- Add ‘CloseDirection’ options below;
- Last Candle:
Options;
- Close Above: Last candle close above MA
- Close Below: Last candle close below MA
- Crossed Above: Last candle crossed above mA
- Crossed Below: Last candle crossed below MA
- Not used: Option is not used
- Current Candle:
Options;
- Close Above: Current candle close above MA
- Close Below: Current candle close below MA
- Crossed Above: Current candle crossed above mA
- Crossed Below: Current candle crossed below MA
- Not used: Option is not used
Example:
If setting were as below
- Last Candle - Cross Above
- Current Candle - Is Above
All open trades will close if both the last candle closed above the previous MA AND immediately the current candle rises above the MA.
Enhancement 2: Exit 2 Time gap within trade entry and Close
Currently my EA re-evaluates entry & close conditions every X seconds. I'd like to add 2 extra timers.
- The first timer if set to Y, will mean a trade will not close until Y time has passed since that trade was opened and the instrument/security still meets the EA close condition
- The second timer if set to Z, will mean a trade will not open on the same currency until Y time has passed since it was last closed and still meets the EA trade entry conditions.
Enhancement 3: Exclude security
Stop trades from being opened on any instrument within the box below.
Implementation example
field1: Mass Stop: *JPY, USD* --- This will stop all trades opening in instruments ending with the words JPY, e.g. GBPJPY. It will also stop trades in paris begining with the words USD e.g. USDZAR.
field2: Specific Stop: USDJPY, GBPJPY -- stops trades in instruments with these names.
If this job goes well, there are other more code clean-up orented, and logging enhancement jobs i'll assign to you.
I maintain a polite, respectful and professional attitude with my developers. I appreciate the same in return. Promises are key, quick communication and professionalism is vital.