void CheckForOpen() { double ma; int res;//--- get Moving Average ma=iMA(NULL,0,MovingPeriod,MovingShift,MODE_SMA,PRICE_CLOSE,0);//--- sell conditions if(Low[0]<ma) { res=OrderSend(Symbol(),OP_SELL,LotsOptimized(),Bid,3,Bid+stoploss*Point,Bid-takeprofit*Point,"",MAGICMA,0...
"tester interrupted because OnInit returns to non-zero code there are no trading operations " why does this problem come out?
Why there is difference of the entry price and results of trades of a Signals Provider who I have subscribed to and my live account?He won those trades and I lost? How to fix these critical issues
Hi everyone need some help here can anyone help me i want to develop one Simple EA , once my pending order is active it automatically sends one more pending order at certain pips from current market it if that is active again it sends one more lest say i want to set a limit of 8 pending orders it...
I trade CFD on indexoptions on MT5 build 1940. The real option ODAX contract would be tobig for my account. I assume some of thefields relevant for options will never be filled. But I am interestedif it is my broker not maintaining the info for this symbols or is itMT not capable to deliver this...
Hello everyone, Does anyone know how we can go and capture news data from public websites (such as forexfactory.com, tradingiew.com, investing.com, etc) in LIVE within a MQL code ? I mean without having to download the CSV files manually and import it. I wanna write a EA placing an order
In stochastic oscillator code at (\MQL4\Indicators\Stochastic.mq4) on line number = 90,117,141 this code exists: pos=prev_calculated-2; My question : similar to other indicator, why is not this? pos=prev_calculated-1; I chose the second method, but there was no change in the results !?
I traded on Demo account of two Brokers at a time to see if there is difference shown in Price Chart candles shapes or timings which change our Decisions for Profits. I found the differences in shapes as Dogi on one chart and no Dogi at the same time on the chart of other broker !!! Screen shots of...
If you keep capital in equal portions in roubles, dollars, euros and gold - is that diversification? You will never go bust in this way? Does it even make sense to do so
[Deleted]
Dear Sir/Madam. I have two computing agents. one is intel i5320 cores, 8 GB memory @ 112.19.189.186 with a network speed of 30 MB and , another is AMD8350 cores, 16 GB memory @ 169.254.242.73 with a network speed of 10 MB. The one with intel cores could compute for a whole day and the amd cores
[Deleted]
Today I noticed a product (ex. TDS) which shows custom menus & buttons on the terminal's UI. How's this possible?
Hello to everybody; I am new of trading on line, even though I know very well computer science and programming; because my goal is to write an automated MQL5 trading robot, I am asking you tutorials which explain from scratch how to place and monitor a trading order, what bars are and why are...
Hello, is it possible to utilize mql5 signal tools to trade and manage several account of my trainee group. I have up to over 50 potential group of people who want me to be managing their trading account, but i want to make use of signal tools by creating a Provider then open mql5 for each one of my...
If we get a job in Freelance, Do we need to give the source code to the customer ? I mean, I wrote a lot of libraries. Does this mean that I have to provide the library to the customer?
Hello, I came across the function "get pointer", and I didn't understand why do we need it in mql5. I know that if I make an object like that: obj* foo=new obj(); foo is pointer, so if I print/use/return foo I get the pointer to the object of "obj". Then why do I need the function get pointer? Thank...
hello, i was trading gold with axitrader, but when it hit my "take profit" my trade vanished (thats around 1313.++ to 1317.++). No more records or whatsover. i felt cheated.
2019.02.01 13:29:15.425 Virtual Hosting: 5999124 your environment is not synchronized with hosting server 'Webzilla Moscow' for account '623548' on 'OctaFX-Real' and it shows on other brokers journal = not on OCTA FX on OCTA FX journal shows: 2019.02.01 13:32:23.647 Virtual Hosting: 5999124 status...
How can i change description of fibonacci levels with code?
i was upload for register be a seller... but status always "Please wait until your registration is confirmed."
I have this piece of code and i want it to stop sending an order incase the order is already sent...it keep sending the order many times incase the conditions set are met.: Basically it check orders history and incase an order is closed but it does not exist in the open orders as a buystop/sellstop...
Hi Guys Can anyone tel me why my MT4 platform keeps freezing and what can I do about it please Help, Regards Leighton
I see MT4 iOS can be locked (https://www.metaquotes.net/en/company/news/4699) but I havent found the way to lock the MT4 android app. Can it be done? *please note, I do not refer to OTP for desktop MT4 Thank you
When trying to get into the weekly or monthly chart error comes up saying chart is greater is than one day. I have never encountered this before can anyone help please?
Hi all, I need your help on this issue my broker FXCM when i click on payment method for a signal. the error occured. this program cannot display the webpage. I have tried paypal, other methods another errors occured
Why is the currency rate different? I checked in the central bank and it turns out that the rates are different, why? Can anyone explain this to me?
when you test an EA even if it works well on some products, changing the timeframe can you get this error out?
Hi all, if you know any firm or groups who work in the area of algorithmic trading I will appreciate if you share this info with me
i have an EA that i want to optimize to trade for only four hours, within a nine hour period. the start and end times are different inputs. how would i go about increasing both values at the same time so as to reduce time backtesting?
hello there , i want to backtest my ea , which is a easiest and the most accurate way to do it ? thank you.

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.