工作已完成
指定
Hi There,
EA will have 2 strategies, thus allows the user to pick which strategies he/she wants - EMA ONLY, SLOW STOCH ONLY or BOTH.
I need an EA created based on 3 EMA as defined by the users i.e. 8, 13, 21 for example. When the 3 EMA crosses over (EA will buy) and crosses under (EA will sell). EA will then closed at the designated TP set by the users, or can continue to increase the trailing stop for profit if the TP is not set (i.e. TP=0) based on a percentile. For example if the order open goes up by 100 pip, then the trailing stop should also increase by X percent set by the users (i.e. 70%), thus the trailing stop for profit should increase by 70 pip in this case. EA will closed a the set TP, or Trailing Stop if TP is not set, or close at a Stop Lose (S/L) as set by the users. EA needs to have its own magicNumber for the orders to ensure it can maintain the order and close properly.
Second the EA will also monitors the SLOW STOCH level based on what is defined by the users - if SLOW STOCH value is higher than X defined by users, EA will execute a sell, and the reverse is true if it's below X, EA will buy. The EA will then also goes in martingale strategy if the the order does not work out and losing thus it will martingale in at certain distance set by the users and the lot size using the previous lot x a lotMultiplier for the next set of orders. Within this martingale buy/sell series, EA will need to calculate the overall average price of the entire series and then set the TP to be average price + the TP set by the users. This is to ensure that the entire series will be profitable. EA will closed at the TP, or the average TP in a martingale series, or at a STOP Loss as defined by the users. EA needs to have its own magicNumber for the orders to ensure it can maintain the order and close properly.
Thanks for your time and consideration.