My matlab function is like this: Y = Myfunc(v1,v2) The ouput Y is a cell array {y1 y2}, y1 is a 1x1 matrix, y2 is a mxn matrix, IfI call this function in MT4 via DLL, how can I get the output to MT4 environment? thanks a lot.
Hi, I'm new in using MQL4. I'm just wondering why can i only see the pop-up of Print()and MessageBox() command one time only when i first drag the script or expert inthe terminal. It don't work the second time. Why is this happen? Is there any rulesabout these TWO commands that i'm no aware of?...
Hi everyone! Need some help to code a double smoothed EMA. The derfinition is: Double Exponential Smoothing (DES) applies Single Exponential Smoothing twice. My code has still a mistake, hope somebody can find it: //+------------------------------------------------------------------+ //| double...
Hello, This code's purpose is to check if there's any active order opened by this EA.If none, it will open 2 orders, buy and sell. I haven't test it on real marketbecause it's sunday now, but from backtester, there's no trade appear. What's wrongwith these codes? int ordtotal=0; for(int...
Hello I have a lot of open buy and sell 0.1 unit positions. I need to know exactly how many of them are opened. Instead of counting them manually,is there a script which counts the number of open positions i.e. "you have57 open buy positions" ?
[Deleted]
Hi, can U tell me how to make an EA open only one position per one bar? Cause now it looks something like this: I also don't want to use "if(OrdersTotal<1)" used in many codes becauseI want to have more than one order opend at a time (but not in the same bar) Thank for any help, Jan
[Deleted]
Hi, DDE or whatever. There's a suitable protocol? I expected to being able to export indicator's historical values in as easy way as for historical quotes. Thank you so much, SA
[Deleted]
I have a problem with my metatrader. My computer hanged When metatrader4-V202 runningfor about 10 minutes. Please help me .This problem confused me.
[Deleted]
How to find the value of High and Low of the 2 last bars of the previous week inH4 ? Thanks
As seen below is incorrect when Ctrl+Space+Shift used to display function formals OR when pops up automatically when opening ( keyed in. IE, double MathMod (double value, double value2)The function returns the floating-point remainder of division of two numbers.
[Deleted]
All other charts are working fine in other timeframes on NZD/USD...just 15m chartis stuck. No other issues with any pairs or any timeframes, just this one. Have rebooted programseveral times and have opened and closed chart several times. Thanks for your help! M. Blanck
Could someone please help me with the code for the EA i have attached? I have tried and tried to edit this code to change this without any success. BasicallyI want to have the EA open only one order at a time in the same direction. However,I also would like it the EA to open another order in the...
Support email below, being sent to me every 2 hours - have over 15 so far!!! support was emailed but did not reply - perhaps others are getting this repeatednotification ?????????????/ The following new articles were published at https://www.mql5.com/en/articles/mt4: "MQL4 Lanaguage for Newbies....
Recently I have acquired a Client that has been running Cash Grabber, Trend Trader and Power Trader and they havebeen impressed with the “Demo” results running the Bellevue Strategy however they are unhappy with the supplierand the brokerage firm it is attached too. More information at http://www...
Betting Modeling as Means of Developing "Market Intuition" The article dwells on the notion of "market intuition" and ways of developingit. The method described in the article is based on the modeling of financial bettingin the form of a simple game. Author: Eryomin Sergey...
when running my EAs i often get this error message in the experts tab of the terminal: "expert function calls are not allowed; 'stdlib'-'ErrorDescription'" followed by "expert stopped" maybe the problem has something to do with the TrailingStop function trying tomodify the order too much......
[Deleted]
I am trying to keep OrdersTotal() <=1 at any point in time. If my EA is running simutaniously on multiple pairs say USDJPY and GBPJPY and theyboth meet the condtions for OrderSend() at the exact same time will OrderTotal()still remain at <=1? or will my condition be bypassed because both pairs...
The development of the MetaTrader 4 Mobile SE has been completed. Using it, youcan get access to financial markets and make trades worldwide. The embedded symbolcharts and technical indicators, as well as financial news, will help to make adecision about whether to open or close a position. Trading...
[Deleted]
I want to get in touch with the admin of this forum through a private message toask them a question related to this forum. Could anybody tell me what I have todo to talk to the admin? I have not seen the "Contact us" sections thatother forums have. Thanks in advance.
Hello, is there a replacement for the Sleep() function to use in Indicator Scripts? Because Sleep() dont work in Indicator Scripts? Or a After renovation?
Dear MetaTrader Developers, I have to write a binary file in JAVA language and read it using MQL, but i amfacing an incompatibility problem. I am writing a simple integer ("400") value into a binary file ("data.dat") using the following Java code: File f = new File("data.dat"); FileOutputStream...
Hello together, i am trying some MetaTrader FX Brokers right here right know - and asking myselfwhich i will using in the future ? I also would use MetaTrader 4 Mobile Smartphone Edition - and would also pay 45USD for it but i have a basic questions before ... I have 3 Demo Accounts from 3...
I have a template that has a number of custom indicators with settings. I have updated the indicators by closing down MT, copying the new custom indicatorsover the existing ones (same file name) and then opening MT4 with the old template. I am correct to assume that the charts will contain the new...
[Deleted]
Hi, DDE or whatever. There's a suitable protocol? I expected to being able to export indicator's historical values in as easy way as for historical quotes. Thank you so much, SA
I am thinking to buy a notebook ASUS Eee PC. What is the minimum configuration to use MT4? Thanks
thanks for all the recent articles, sure helps us new mq4'ers ..... quick question, does anyone remember seeing an article that had a method to increasethe size of the input pop up box..... the article was wriien on a different subjectbut touched on the difficulty involved when large numbers af...
Hi When I backtest i notice that usually 12 pip loss is $120 and then sometimes itwould lose $177 or $133. Why is this and how can I sidestep this? L.
[Deleted]
To all experienced coders... do you break the steps of a complex function down tosub functions? For debugging would'nt this be easier to test each step for accuracy.Then once the final result is verfied the sub functions can be combined to a singlefunction? Or is it best practice to keep each step...
Seems to work best on EURUSD on daily charts. Any comments gratefully recieved. Specifically advice on how to implement a trailingstop loss as this might be a good way to exit my trades. Or I was thinking another way might be to be when the gap gets small between theparabolic and the price. As...
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.