This EA is based upon Moving Average There are 3 strategies: Strategy1 follows MA and is opened and closed per following signals. Strategy2 is a Trailing Stop. If position is open at close of Strategy 1 it is closed. Strategy3 is a basic TP. If TP level does not occur then order is closed at close of Strategy 1 position. All 3 strategies are opened by the same signal. They are opened in the order Strategy1, Strategy2, Strategy3. Inputs are: Risk %: (default 1) % of account equity and determines lot size. Lot size for each strategy will be 1/3 of this amount). Stop Loss: (default 50) Trailing Stop: (default 50) Applies to Strategy2 only. Take Profit: (default 50) Applies to Strategy3 only. Moving Average Period: (default 20, applied to close, 0 shift, MA Method is standard options). Opening Incline: (default 2) This is the number of pips that the MA changes from one bar to the next. For example the MA may read 1.4038 at current bar and 1.4044 the previous one. The value for the input is the absolute value of the difference between the two values. So current MA - previous MA = chart Incline value. Closing Incline: (default 0) Open trade signal occurs when Opening Incline input value is achieved AND current bar is (High Low) either fully above or fully below MA and does not cross that line. If the incline is a negative value (bar below MA) it is a signal to SELL and if it is a positive value (bar above MA) it is a signal to BUY. As long as Strategy1 is open then no other trades are opened by this EA. Closing signal is when the absolute value of the Incline has fallen below the Closing Incline input value AND current bar crosses or has crossed the MA. The Strategy1 and Strategy2 positions remaining open at that point are closed as well. Chart display left side in white Strategy1: Seeking etc or Open etc or Closed etc MA Incline: current Opening Incline: input Closing Incline: input Copyrights are mine.
1) All deliverables will be considered "work made for hire" under U.S. Copyright law. Employer will receive exclusive and complete copyrights to all work purchased. (No 3rd party components unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's Worker Legal Agreement).