Vates

103 0 2024-02-05

Vates is a Latin word meaning a prophet.Vates is a multicurrency trend Expert Advisor that can run on any type real accounts, on any timeframe, with any initial deposit, with a fixed or varying lot size, with four and five-digit quotes, with brokers

Vates is a Latin word meaning a prophet.

Vates is a multicurrency trend Expert Advisor that can run on any type real accounts, on any timeframe, with any initial deposit, with a fixed or varying lot size, with four and five-digit quotes, with brokers offering different order filling types.

A distinctive feature of the EA is its stability and reliability. The results of Expert Advisor testing in the Strategy Tester in four modes (two main modes – normal and with a delay, and two additional modes – all ticks and OHLC on M1), as well as its operation on demo and live accounts are virtually identical.

The EA should be tested and optimized in a normal mode or with any delay, OHLC at M1, timeframe - any.

The Expert Advisor determines the direction of the trend, as well as oversold or overbought states of the market, and when it receives a signal, it opens a buy or sell position. The position is then closed by a reverse signal or by Stop Loss or Trailing.

The EA can open additional orders in the direction of the opened position with the same lot size. Additional orders are opened only if the EA receives one more signal to open a position in the same direction after it has opened a position, and if the drawdown of the open position has exceeded the amount specified in the Drawdown Percent parameter.

When power is off, Internet connection is lost, the computer or the terminal is restarted, as well as when you chang the input parameters, the Expert Advisor checks open positions for all pairs (with additional orders or without them) and correctly calculates the orders and drawdown on them.


Input parameters

  • Magic - a unique magic number for identifying positions opened by the EA;

  • Max. Spread - maximum allowed spread in points to open a position;

  • Slippage - allowed slippage in points for market orders;

  • Lot - Fixed Lot or Lot Percent;

  • Fixed Lot - the size of the fixed lot for opening a position;

  • Lot Percent - lot size equal to a percent of the current balance: lot = Balance * Lot Percent / 100000;

  • Mode - select Closed (positions are opened and closed based on a closed bar) or Current (positions are opened and closed based on the current value);

  • Applied Price - choose one of the seven price types (Close, Open, High, Low, Median, Typical, Weighted);

  • Filter - choose one of the four price smoothing types;

  • X-FactorY-FactorZ-Factor - numerical values that define the EA operation (for EA testing and optimization in the Strategy Tester, the initial and final values, as well as the value modification step are specified in the EA inputs);

  • Add Order - number of additional orders for an open position (if 0, no addition orders);

  • Drawdown Percent - drawdown of an open position as a percent of the current balance (active only if Add Order > 0);

  • Stop Loss - Stop Loss in points (if 0, disabled);

  • Use Trailing - false/true (if false, trailing is disabled);

  • Trailing Start - the number of profit points of an open position, reaching which the trailing is activated;

  • Trailing Stop - in points (if trailing is on, Stop Loss = Price Bid – Trailing Stop for Buy or Stop Loss = Price Ask + Trailing Stop for Sell);

  • Order Filling Type - select order filling type to prevent the "Invalid Order Filling Type" trading error (if this error appears in the log, change the order filling type).

Note: the values of Max. Spread, Slippage, Stop Loss, Trailing Start and Trailing Stop are specified for 4-digit quotes. No need to change the values for 5-digit quotes, they will be adjusted automatically.