1. GENERAL Please read and make sure you fully understand everything. Please ask me what you don’t understand. It is critical that this ea is coded with a high degree of accuracy and no bugs. If broker and my VPS server lose connection, the ea sends SMS warning message to 1 phone number We need ability to change magic number input ourself. If the EA if closed and restarted in the middle of its work, it must remember its work and continue like normal when turned on again (in case of restart the server). This is critical. Please use the input names provided in the Spec Doc. You can use underscore between words e.g. Seconds_Limit. Max DD close all positions. If max draw down is reached, close all positions and stop the ea. Use market orders. Provide drop down inputs with true / false for each time frame so the ea can operate on 1min, 5 min, 15 min, 30 min, 1H, 4H, 1D ALL AT THE SAME TIME. If condition for entry is met on ANY of the time frames, we enter our order. We can select the time frames we want with true/false. these time frames pertain to the MA. 2. EA logic: Start lot is calculated as % of current equity. (need input StartLotPercentEquity). Eg $100,000 EQUITY. If StartLotPercentEqty = 1%, then start lot will be 1.0 lot size. If set StartLotPercentEqty input = 0.25% Then start lot will be 0.25 lot, assuming $100,000 account. We don’t increase lot size after losses. Need inputs: SL TP MoveToBreakEvenPips (if set to 15 pips, when we have 15 pips profit, the SL moves to the price where the position was entered plus the spread. If SL is hit, we lose nothing) TrailingPips e.g. 20 pips (if set to zero it don't work). TrailingPipsStep (if set to 5, the SL trails in 5 pip increments) 3. True / false option - MA fast and MA slow Condition for entry We have slow MA in up direction. Fast MA crosses below the slow MA. If other conditions for entry are met we enter with a BUY order only in this case. (We only buy or sell in the direction of the slow MA. This is very important. I want for the slow MA a minimum angle on the MA line e.g. = 30 degrees (input MinSlopeSlowMA). I don’t need slope angle for the fast MA. (I want to make sure the slow MA is trending, not ranging). Input: NumberCandlesSlowMA e.g. 30 Input: NumberCandlesFastMA eg. 5 We use the same inputs for all the time frames. 4. True / false option - consecutive ticks condition for entry 10 ticks = 1 pip (a tick is the 5th digit after the decimal point). (input ConsecutiveTicks) e.g. 20 consecutive ticks up means the market went up 20 ticks (2 pips) and had ZERO down tick. If this condition is met and other conditions are met we BUY (because ticks are up direction. We ONLY trade in the direction of the consecutive ticks. 5. True false option - Sets of Consecutive Ticks Within Time Limit Condition for Entry: In the last 30 seconds (input SecondsLimit) the EA counts how many occurrences we had at least 6 (input) consecutive up ticks (input ConsecutiveTicksInTimeLimit.) Also the ea counts how many occurrences in the same 30 seconds it sees at least 6 Consecutive down ticks. (we use same input for up and down consecutive ticks ConsecutiveTicksInTimeLimit e.g. 6). Now we look for a relationship between how many up consecutive tick (sets) vs. down consecutive tick (sets) within the time limit. Input: ImbalanceFactor e.g. 3. E.g. in the last 30 seconds the market made 5 separate times at least 6 consecutive up ticks and 2 separate times it made at least 6 consecutive down ticks. If the Imbalance factor = 3 we enter a BUY as soon as the imbalance is met, even before 30 seconds are finished. E.g the ea sees after 12 seconds (SecondsLimit = 30) that on 3 separate occasions we have at least 6 consecutive up ticks. We see zero times at least 6 consecutive down ticks. So the imbalance is met and we enter the buy order after 12 seconds. (the 30 seconds time clock begins after the ea sees the first ConsecutiveTicksInTimeLimit being met. IMPORTANT: e.g. if we set ConsecutiveTicksInTimeLimit = 6 and we have 12 consecutive up ticks this is NOT 2 sets of up ticks. It is ONE set of up ticks. We must have at least one down tick to separate the sets of up ticks. It is critical you follow this. 6. True/false Option - Min And Max Price move (Is NOT by itself condition for entry) These inputs only work together with SecondsLimit and ConsecutiveTicksInTimeLimit. This option by itself cannot generate a trade. From the time the ea sees the first ConsecutiveTicksInTimeLimit until the ImbalanceFactor is reached (within the SecondsLimit) the market price cannot move more than e.g. 10 pips (input MaxPriceMove) and the market cannot move less than e.g. 2 pips (input MinPriceMove). E.g. Assume condition for sell is met, if we use the inputs I give you, the market goes lower by 7 pips, so we enter our sell order (7 pips is more than 2 pips and less than 10 pips). 7. Display Info on the chart please show: All input settings with input names on LHS. Everything below is on RHS. 2. current Free margin. And lowest free margin ever reached. 3. Number of winning trades per time frame. 4. Number of losing trades per time frame. 5. total profits $ and total losses $, per time frame. 6. Longest number of days passed to reach new high equity. Show the fast and slow MA lines on the chart in different colors. Show the MA lines for all the time frames selected. When a trade is entered, show on the chart next to the trade if it is 1min, 5min, 15 min etc. (We will only open one chart per currency pair, which must work with all the time frames we select as true).