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

2016.07.01 11:26
Live limit

Live limit - script for MetaTrader 4

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

votes: 7

Many probably encountered a situation where the market requires instant decisions (especially true for pipsing and scalping), but the process of calculating the acceptable risk, and then placing the corresponding stop loss and take profit takes a lot of time. For these people, the problem can be solved by this script assigned to a hotkey. When started, the script finds the line with a special label (named "GO!") on the chart and opens a limit order on the line level (if the line is above the price - a buy limit order, if below - sell limit). The lot size (Lots variable), the maximum loss by stop loss (the MoneyRisk variable, in deposit currency) and the profit/loss ratio (the ProfitLoss variable, used as a basis for placing take profit) are set in the script settings. Based on the variable values, the script automatically calculates the values of stop loss and take profit for the current instrument and opens an order.

Installation of the script:

  • Download the script
  • Open it in the MetaEditor and edit the values of the variables Lots, MoneyRisk and ProfitLoss
  • Save the script in the 'experts\scripts\' folder
  • Assign the script to a hotkey.
  • Create a line with the name "GO!" on the chart

The script is ready to use - now by moving the line and pressing the hot key combination you can instantly open limit orders. If you want to use the ability to open orders with different lot and risk values using hotkeys - save the variants of the script with different variable values under a different name and set a hotkey for each of them.

Translated from Russian by MetaQuotes Software Corp.
Original code:

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.

Modify All TP SL Modify All TP SL

The script modifies all orders (market and pending) on the symbol with specified Take Profit and Stop Loss.

iFractals 4all TF iFractals 4all TF

Buy or sell just by looking at the "arrow" as a signal. Very easy and simple.