• Overview
  • Reviews
  • Comments (6)

Daily Hi Low

The Expert Advisor places pending orders on a previous day's High and Low prices. TypeOrder parameter defines the type of pending orders. If TypeOrder is set to Stop, BuyStop order is placed at a previous day's High, while SellStop order is placed at a previous day's Low. If TypeOrder is set to Limit, Limit orders are placed at High SellLimit and Low BuyLimit prices. When either of pending orders is triggered, the opposite one is deleted. Unused orders are removed within a day (a day candle). If the EA is allowed to work at this day of the week, new pending orders are placed at new High and Low prices.

Parameters

  • TypeOrder - pending order type;
  • Lots - fixed lot;
  • StopLoss - stop loss level in points;
  • TakeProfit - take profit level in points;
  • Monday - if true, the EA is allowed to trade on this day of the week;
  • Tuesday - if true, the EA is allowed to trade on this day of the week;
  • Wednesday - if true, the EA is allowed to trade on this day of the week;
  • Thursday - if true, the EA is allowed to trade on this day of the week;
  • Friday - if true, the EA is allowed to trade on this day of the week;
  • BreakevenDeals - if true, trades are moved to breakeven;
  • BreakevenStart - the minimum number of points passed by the price to move a position to breakeven;
  • BreakevenStep - minimum profit in points to move to breakeven;
  • Trailing - point based trailing if set to true;
  • TrailingStart - the minimum number of points passed from the order open price for the trailing;
  • TrailingStop - the number of points to start trailing stop;
  • TrailingStep - trailing stop step;
  • Magic - magic number;
  • ShowInfo - display/hide information on the trading;
  • TextColor - displayed data color.
No reviews