仕事が完了した
指定
Hi all,
I need an EA that has the following trade flow:
- EA is Activated/Triggered based on a fixed movement in pips from a specified open time.
- Once EA is triggered/activated, a pending order is placed, with X pips from the price when EA was triggered /activated.
For the rest it mainly has some configurations and settings around Entry, when to cancel, the TP and SL of the Order.
Below you can find the configs I have in mind and also a screenshot for a visual
Main Settings
-----
-
Magic Number
-
Allow multiple EA’s to run separately, including same currency
- VirtualEquity
- Set equity from which to start (from this value it subtracts/adds all previous orders wins/losses with this magic number and keeps a running VirtualEquity
- LocalTimeGMT
- Timeshift to match your local GMT
- OpenTime
- Daily cycle starting price of EA @ opening bar from where the EATriggerDistance is calculated
EA Trigger Settings
-----
- EATriggerDirection
- Price direction from OpenTime that triggers the PendingOrder
- Always "ANY" direction for now
- EATriggerDistance
- Value in Pips
- Distance is calculated from the OpenTime price
- When reached, it triggers the PendingOrder
- EATriggerRules
- X pips move over X Cycles (1 Cycle = 24h from OpenTime)
Trade Setting
---
- PendingOrder
- Distance in pips from where EATriggerDistance is reached
- Values can be positive or negative to indicate direction relative from OpenTime price
- If EATriggerDirection = Any
- Positive numbers always in the direction away from OpenTime price
- Negative numbers always direction towards OpenTime price
- TradeRiskLots
- Percentage, based on TradeSL pips and available VirtualEquity
- TradeDirection
- Breakout, Retracement
- TradeTP
- Value in pips
- TradeSL
- Value in Pips
- Cancel PendingOrder
- Value in pips
- When price moves opposite direction from PendingOrder price calculated/starting from the moment it was placed (basically from the price at the reached EATriggerDistance)
* Wish to extend this with more features after this initial version is done.
* Open to simplify the settings as long as it achieves the same result, am flexible on that if you know a better way.
* Delivery including sourcecode.