I have some code to create some orders once per hour. Do I need to run it in a for lopp for each section ie 0 to 24 to do this? //create new orders, open at xx:00 if (Hour() ==0 && Minute() == 0 && varH1BiasDirection == 1 && OrderSetFlag == 0) {...
How can a script place a trade? The error 4109 shows up. There'sno opportunity to enable the checkbox to "Allow live trading" in theexpert properties. The script just runs and exits a second later. Hereis the bare bones script I'm working with. int start(){ int...
[Deleted]
I've a major problem with My EA as detailed below; please help and advice with partially written CODE as possible. Introduction: My EA is instructed to start by certain neutral conditions, till only one of the GoLG (buy) or GoSH (sell) condition(s) is met.The last OrderType() should be stored in...
I had some spare time today after I was talking to a friend who has been toying around with MetaTrader 5, so I decided to download a copy of MT5 from this site and see what he was talking about. Later I went back into MetaTrader 4 to finish up some editing to an EA I had been working on, after 1...
[Deleted]
I don't understand the logic behind NOT offering robots on mobile platforms. If one of Metaquotes objective is to popularize the meta trader i think NOT allowing robots on iPhones or Android is severely hindering meta trader's growth... (I don't get it!) Can anybody explain the logic behind this...
[Deleted]
Hi, how do i find my MetaQotes/MetaTrader ID? the instructions (Tools>Options) say it's located at Settings>Messages can't find it thank you Randy
I've been setting my stoploss and takeprofit based on price volume.So I created this indicator that determines the high and low for some number ofbars and uses that spread to place two moving horizontal lines indicating wherethe stoploss and takeprofit will be if a trade is opened. I think it helps...
Hi all, I'm trying to recall the closing time for the last order executed on the account for a certain currency. What do you think about this code? Thank you! total_history = OrdersHistoryTotal( ) ; for(cnt=0;cnt<=total_history;cnt++) { OrderSelect(cnt, SELECT_BY_POS, MODE_HISTORY);...
[Deleted]
Have you ever heard about the site http://www.forex-einstieg.de or something like that? As far as I know, if you look for German brokers then you will get help from this site.
[Deleted]
Hello. I have no idea if this is the right Forum, or if this has been asked before, but I am using the latest build of MT4 and there is NO WAY TO KNOW WHICH TEMPLATE YOU ARE CURRENTLY USING. Can't believe this has been an oversight for SO long, please, in the next build, have this info somewhere,...
[Deleted]
Hello, is it possible that there is a BUG in the OrderSend()-Function? For few weeks the OrderSend() doens't work correct. When I have a SL in my OrderSend(), the EA doesn't open the order, but when I set SL to 0, then he opens a order and I have to modify the order with OrderModify(). Why?...
ı did a indicator and ı need to use it in my EA. ı know there is iCustom code but ı didnt understand to use it please help me .
Dear all, I would like to know, if I put entry condition in an indicator and put order execution in EA, is it still able to perform backtesting for this system? If yes, how? Thanks for your kind help. wing
Hi everyone, I am looking for the simplest code in order to get the daily Highest/Lowest value of an indicator. For example we run CCI indicator with CCI_Period=12. This indicator has many picks as lowest or highest value in a day. I am trying to get this values in order to compare it with other...
[Deleted]
As you see on the picture the green line is over the NULL -Line, but the indicator repeats negative values (by mouse-over). May be I have to restart my MQL4
[Deleted]
Hi,I'm so new to MQL4. I wanted to test this sample code that is in toturial : -------------------------------------------------- int Count=0; // Global variable//------------------------------------------------------------------- int start()...
[Deleted]
Hi is there a way someone can change the background of the performance chart that is generated when you generate a report from mt4(not the chart in the symbol window).
In an indicator, I'm trying to modify the fibo description of a fibo object I created. The code to create the object works fine: ObjectCreate(objFibID,OBJ_FIBO,0,Time[HighestBar],High[HighestBar],Time[LowestBar],Low[LowestBar]); "HighestBar" and "LowestBar" are integer variables. After a couple...
Is there any way to programmatically retrieve the name of our EA?
similar to the parallel thread ( EURUSD in a couple of weeks from 1.4 to 1.5) would like to chat about gold :)
If I make a trade using OrderSend() or OrderClose() then want to look at the number of lots or execution price on the ticket, do I need to make a further call to OrderSelect to get this ticket, or does this happen automatically? Eg if I call OrderSend() then OrderMagicNumber(), is the magic number...
[Deleted]
I want to sendorder on the 5 minutes' duration use this bar's open price, how I can do? The condition will true in the pre-bar. Sorry for my english... Thank you very much!!!
Which is more important - the entrance or the exit? Is the entry point even important? Is the exit point even important?
(123 1 2 3 4 5 ... 12 13)
Sat ) Interested in an opinion on all three questions, preferably with an intelligible explanation of why. The answer should not depend on the trading system used. I will give my opinion later) if necessary
Hi, I've been looking for a custom indicator that identifies divergence between price and the OSMA, to help compile a simple EA based on osma divergence Is there already a custom indicator that does this? Any help will be much appreciated! Thanks
Hello! I'm just trying to add an email alert to this indy similar to the popup alert box, but I"m getting an error (highlighted in yellow below). Could you please help me to correct the 'wrong parameters count' error message in this indy when adding the email alert?...
thank you i can not search file .mql4 thank for help
[Deleted]
Could someone please tell me why I can not access MB Tradings website and utilize the MT4 software which I have downloaded? It is Tuesday 07/17/2012 at 20:56. I would truly appreciate a helpful response. Warmest Regards, Jen
[Deleted]
There is a large area. Basement of a residential building in a central location. Planned space for a gym and billiard room, sports bar. I want a trader's hall, or something to replace it, or "move" the area of other activities. Justify the profitability of the project , the partners, I can not yet
Many of the EA's available for purchase offer a demo mode only or strategy tester only mode for "trying" out the EA. Will someone please provide the code for allowing a EA to run in demo and/or strategy tester mode only? One additional question. I purchased one EA when I first began looking into...
Just wondering if this would pose a problem, as it compiles, but I don't believe it will work. string BuyOrSell = "Both";int intOrderType;if(BuyOrSell == "Both") intOrderType = OP_BUY || OP_SELL;

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.