EA to OPENing ORDERS

 
Helo
I looking for EA or Script, to open or place orders with some parametrs for ex. I fill /SYMBOL PRICE ( BUY OR SELL LIMIT) TP & SL VOLUMEN/ and it is maybe one order maybe more
And I activate them by one key.

ps. sorry for my english
 

impossible !

MQL do not have such functions for input or fill at runtime......

Maybe need use more Dll file with C language

only new order you can use

 
hmm it is somthing like this : IN EA there is some condition's and then the EA place order with (SL,TP, volume , etc), I whant to do it manualy , describe SL TP etc and place it. I need this because a have many orders to place (limit orders) and I need to do it fast. or maybe one order by one.
 
DxdCn:

impossible !

Why not?

One script stores a set of parameters for an order.
A few others with a dedicated hotkey each can execute order with corresponding set of parameters.

Everything could be programmed.
 
but how??
 
Utilising Global variables functionality for instance
 
I got it

//+-----------------------------------------------------------------------------+
//| 1_Buy_Sell_USD_EUR_JPY. mq4 |
//| Copyright © 2006, henry |
//| wbh@dnet. pl |
//+-----------------------------------------------------------------------------+
#property copyright "Copyright © 2006, henry"
#property link "wbh@dnet.pl"


#include <stdlib.mqh>
#include <WinUser32.mqh>
//+------------------------------------------------------------------+
//| script "trading for 2 pairs EurUsd and UsdJpy |
//+------------------------------------------------------------------+
int start()
{

//----
int ticket=OrderSend( "#MSFT", OP_BUYLIMIT, 1.4, 27.25, 0, 26. 90, 27. 89, "Buy", 12345, 0, Green );
if(ticket<1)
{
int error=GetLastError();
Print("Error = ",ErrorDescription(error));
}

ticket=OrderSend( "#MSFT", OP_SELLLIMIT, 1.4, 28.52, 0, 28.87, 27.89, "Sell", 54321, 0, Green );
if(ticket<1)
{
error=GetLastError();
Print("Error = ",ErrorDescription(error));
return;
}

//----
OrderPrint();
return(0);
}
//+------------------------------------------------------------------+
Reason: