ArgoAverager EA This is an Expert Advisor designed to automatically average out trading positions opened manually or by another EA. Пожалуйста, войдите или зарегистрируйтесь для просмотра ссылок Article on the blog: Пожалуйста, войдите или зарегистрируйтесь для просмотра ссылок New in version2.3: 1. A bug in filter BuySell is corrected. A bug in filter Ticket is corrected. Note: if you are using several copies of AA on the same currency pair, they SHOULD HAVE DIFFERENT MAGIC NUMBERS. 2. A bug of display of negative target profit in info panel is corrected. 3. Added a flag for immediate closure of all orders CloseAllNow. Note: this flag closes all orders that are allowed by filters + orders opened by EA. E.g., if BuySell = Buy, EA will close only Buy orders. 4. Added a feature CheckMargin, which calculates how many grid levels can be opened with available margin. If MaxDD, MaxDDPercent are set, the calculation will be done for the margin allowed for trading by these variables. 5. Information panel now displays BuySell (when Buy or Sell), MaxDD, MaxDDPercent (when > 0), GridStepPips, LotMult, MaxGridLevels. ======================= Added on 22.02.2015: ArgoAverager is updated to ver. 2.4. New in version 2.4: 1. A bug of non-deleting the pending lock order is corrected. 2. In the case when there are both long and short orders, EA request to set up the direction of the averaging (BuySell = Buy or Sell). ======================= Added on 24.05.2016: EA is updated to ver. 3.0. New in version 3.0: Parameters of the first order of the grid set by ArgoAverager can be now adjusted. The user can now specify explicitly the lot size of the first averaging order and the distance from the last of the existing orders. New variables: LotFirst – if nonzero, this value sets the lot size of the first order of the grid. If 0, the lot size is the total volume of the existing orders to be averaged, times LotMult. GridDistFirst – if nonzero, this value sets the distance of the first order of the grid from the last of the existing orders to be averaged (the order with the best price). If zero, the distance is set to GridStepPips. The font size in the information panel can be change (comment_fontsize) and the line distance (comment_lineheight). EA now deletes pending orders only after the basket is closed. The user can now set up a pending order and use ArgoAverage to safeguard it. When the pending order comes into market, ArgoAverager will average it out. The default value of TakeProfitType is now TakeProfitType = DistanceFromBE, as most users use this setting. Several technical bugs are fixed.