Robot catalog

SendPendingOrder - Script for MetaTrader 4

SendPendingOrder
TypeScripts PlatformMT4 Version10 Date created27 April 2016 Date updated19 August 2017
Formatmq4 Size21.2Kb Downloads259 Rating
3.69 of 5
based on 13 rates

The script for MT4 platform, which helps to set pending orders. When you run the script on the chart, four lines appeare:

  • White - opening price;
  • Red - StopLoss level;
  • Green - TakeProfit level;
  • Yellow - end of the order.

The order type is selected depending on the location of the white and red lines:

  • If the white line is higher than the red line and higher than the Bid price, set the BUY STOP order;
  • If the white line is below the red line, but above the Bid price, set the SELL LIMIT order;
  • If the white line is higher than the red line, but below the Ask price, set the BUY LIMIT order;
  • If the white line is below the red line and the Ask price, set the SELL STOP order.

Green and yellow lines are optional.

Share

Most popular robots

bbma
MT4
Indicator
bbma
Trading Robot
MT4
Indicator
VWAP
MBFX Timing
MT4
Indicator
MBFX Timing