
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
my trades..........
my trades..........
OrderSend and OrderClose functions are used for that.
There are plenty of examples on the forum.
european
thank you kind sir that is what I was looking for...the rest I'm doing ok with but the open and close was a mystery
Thanks
In the Terminal, right click the order and select Close.
F9 will also pull up the order ticket window to open a trade.
Here is a list of other useful shortcuts
https://www.mql5.com/en/forum/176626
Also the Help section in mt4 (along the top) might have some other stuff.
Your broker should also be willing to help you out and teach you things about mt4, jus call em up. And last but not least... youtube it, there are hundreds of videos on basically everything related to mt4, some are better then others, but for a new user anything helps.
Hi!
Can I open two order windows at a time in MT4?
THX
F6= Buy & F7= Sell
Hi everyone,
I am new at MLQ4, i am trying to program a script (not n EA) that when I press function key 6 (F6) or F7 , it puts an instant order at the shown price for buy or sell respectively (F6/F7), and within both the pre-configured SL=5 & TP=10.
It is that possible?
I have tried with:
--------------------------------------------------
int start()
{
OrderSend(Symbol(),OP_BUY,0.1,Ask,3,Bid-5*Point,Bid+8*Point);
// OrderSend(Symbol(),OP_SELL,0.1,Ask,3,Bid-3*Point,Bid+5*Point);
return(0);
}
--------------------------------------------------
But it gives the following error,
2009.02.04 04:45:39 open order 1 EURUSD,M1: removed
2009.02.04 04:45:39 open order 1 EURUSD,M1: uninit reason 0
2009.02.04 04:45:39 open order 1 EURUSD,M1: loaded successfully
It appears that loads the script, than removes with uninit reason 0.
Any ideas on how I could come about, or find out info , or even some one that already have done it?
I am Using windows 98 and all the vertions of Metatrader above v 218 don't work.
So, I have v 218 installed.
Thanks for all help in advance.
Stefan
Stefan,
You are better off going to MQL4: automated forex trading, strategy tester and custom indicators with MetaTrader and downloading the various buy/sell scripts there
When in Metatrader, you can hotkey the script- or if you have a macro program, you can make it so that when you hotkey it presses enter to initialize the script
Cheers,
thank you Walander, that was a fast answer, i was going to sleep now, but no way, I am very awake ............
Just an FYI to clarify
When you hotkey- it opens the script on the chart, but does not initialize it.
I have a program that presses my hotkey and presses enter so its like its an "instant" order.
when I press F6 or 7 the Metatrader run the script on the opened chart, and initialize it sending the autentic order to the broker.
Is that what u have?
If it is how can I have?
Kind regards