Assista a como baixar robôs de negociação gratuitos
Encontre-nos em Twitter!
Participe de nossa página de fãs
Script interessante?
Coloque um link para ele, e permita que outras pessoas também o avaliem
Você gostou do script?
Avalie seu funcionamento no terminal MetaTrader 5
Bibliotecas

KeyboardTrade - biblioteca para MetaTrader 4

Visualizações:
9610
Avaliação:
(15)
Publicado:
2018.07.31 16:09
\MQL4\Include\ \MQL4\Experts\ \MQL4\Indicators\
Freelance MQL5 Precisa de um robô ou indicador baseado nesse código? Solicite-o no Freelance Ir para Freelance

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.

Traduzido do chinês pela MetaQuotes Ltd.
Publicação original: 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.