Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2010.05.17 08:14
Script opening orders

Script opening orders - script for MetaTrader 4

| English 日本語 Русский Español Deutsch Português

Views:
15791
Rating:
votes: 5

Sometimes you want to help the advisor and add the order, but that Advisor has its own Magic number needed to be placed orders with its number.

Variables:
  • stoploss - level exhibiting SL, if 0, then SL is not exposed
  • takeprofit - level exhibiting TP, if 0, then TP is not exposed
  • Magic - a unique order number
  • SELL - open SELL order
  • BUY - open BUY order
  • Lot - Order Quantity
  • slippage - the maximum deviation of the price for market orders

The simultaneous installation of different directions of orders for this variable SELL BUY and set to true.

When failures of connection or a sharp price movement will be exhibiting 10 attempts to place an order, after that the script stops.

To run the script, drop it on the chart window and the menu will appear, select the options and type of the opened orders.


Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/9673

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Elliott Wave Oscillator Elliott Wave Oscillator

A good oscillator for helping you count Elliot waves.

DWMChannels DWMChannels

Shows simple channels for daily, weekly, monthly timeframes.