Mira cómo descargar robots gratis
¡Búscanos en Twitter!
Pon "Me gusta" y sigue las noticias
¿Es interesante este script?
Deje un enlace a él, ¡qué los demás también lo valoren!
¿Le ha gustado el script?
Evalúe su trabajo en el terminal MetaTrader 5
Librerías

KeyboardTrade - librería para MetaTrader 4

Visualizaciones:
9078
Ranking:
(14)
Publicado:
2018.07.31 16:09
\MQL4\Include\
KeyboardTrade.mqh (40.81 KB) ver
\MQL4\Experts\ \MQL4\Indicators\
¿Necesita un robot o indicador basado en este código? Solicítelo en la bolsa freelance Pasar a la bolsa

This tool is for trading with keyboard input, it supports "Send order", "Set Stop Loss", "Set Take Profit", and "Close order".


1. Send Order

Command

Buy: b,lots,price,sl,tp
Sell: s,lots,price,sl,tp

Example

Buy 0.1 lots EURUSD on 1.16000, set Stop Loss on 1.15500, and set Take Profit on 1.17000

The command is:

b,0.1,1.16,1.155,1.17x

The last 'x' is to execute this command.

  • If price is zero, or is equal to the Ask/Bid, the order type will be BUY/SELL.
  • If the first command is 'b'(BUY), and price > Ask, the order type will be Buy Stop, if price < Ask, the order type will be Buy Limit.
  • If the first command is 's'(SELL), and price > Bid, the order type will be Sell Limit, if price < Bid the order type will be Sell Stop.


2. Modify Order

Setting Stop Loss and Take Profit are supported only.

Command

Set Stop Loss: sl,ticket,sl
Set Take Profit: tp,ticket,tp

Example

If there is an EURUSD buy order, the Stop Loss is 1.1550, and the ticket is 123456789.

Now we set the Stop Loss to 1.1580, the command is:

sl,123456789,1.1580x

The last 'x' is to execute this command.


3. Close or Delete Order

Command

c,ticket

Example

If we want to close an order with the ticket 123456789

The command is:

c,123456789x

The last 'x' is to execute this command.


4. Other Commands

  • ',' is to separate the command.
  • 'ESC' or double 'z' will clear the command.
  • 'x' is to execute the command.

Translated from Chinese by MetaQuotes Ltd.
Original code: https://www.mql5.com/zh/code/21360

Automatic Fibonacci Lines MrVB Automatic Fibonacci Lines MrVB

AutoFibLinesMrVB indicator draws automatically the Fibonacci levels on the chart.

Change Zoom Level All Change Zoom Level All

Changes the zoom level for all opened charts.

RSI MA EA RSI MA EA

EA purposes to always win with cumulative profit and to manage volume.

Renko-Fractals-Grid Renko-Fractals-Grid

This EA uses "Renko" box size on MetaTrader 4 chart. When the price reaches the level where there was a fractal, the EA enters a trade, has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.