MQL4 and MetaTrader 4 - page 1576

Dear MQL4 Admin, I have plan to write a book for MT4 and MQL4 tutorial in Indonesian and publish it in my country. The content will be : 1. How to use MetaTrader4, with pictures. 2. How to create an Indicator, Script and Expert Advisor. 3. Reference - MQL4 Functions. I can guarantee that the content...
New article A Non-Trading EA Testing Indicators is published: All indicators can be divided into two groups: static indicators, thedisplaying of which, once shown, always remains the same in history anddoes not change with new incoming quotes, and dynamic indicators thatdisplay their status for the...
[Deleted]
I'd like to start making my own fucntions to cut down on the size of my programs.  I found some good information on how to make a function that will be called from the same file, but no info on how to call a function that is located in a seperate file.  Can I call a seperate .mq4 file for this,...
[Deleted]
Hi, I had written a scripts to run at a fix interval (say execute every 5sec), and I sometimes I may need to change the external parameter for the script. It seems to me that it is not allowed to recall the window for the external parameters after the script is launched. For EA, we can press F7 to...
What is the code to calculate the lowest margin and the highest margin on which date and time tht it occur? It should display something like example below on the chart: Lowest margin: ??% on 01.02.2008 Highest margin: ??% on 01.05.2008
[Deleted]
This newbie is new to this program however not new to Forex. I have tried and tried with no luck to get the program to recognize my FAPS as Activated. I called the Customer Service Number Yesterday during the open times and left a message however have not heard back. Does anyone know how to get...
[Deleted]
Hi My EA works per MA direction, but I want my trade trade only 1 time when MA in one direction before next changing direction of MA. I do not know how to stop issue new order after 1 closed oder. I write a program as below, but it does not work! Is anyone can help? bool iftrade2=true; int count=0;...
[Deleted]
Hi all, I wrote this last night, but somehow it failed to post I think, so excuse me if this turns up twice somewhere. I am not new to the Forex, but am relatively new to Automated Trading, what I need to do is automate a few trading strategies that I have developed over the last 6-7 months that to...
[Deleted]
Hi, I tried setting up emails on the MT4 platform manytimes but it just will not send out emails... It just keeps on under the journal, Mail Error connecting to....... Does anyone know the solution. All email parameters are correct. Thank you, Sf
Hi, I just saw MT4 behaving very strange. When parsing a CSV-file of integers without an empty line at the end of the file, it keeps looping with 99% CPU. The file: 38974 ; 293847 293874 ; 39847 942387 ; 94387 the file is read correctly till FileReadNumber() gets to the very last value (94387)
[Deleted]
Dear Fellow Traders Please, how do I ensure that in an EA, not more than N number of trades is opened in a single bar once my set of conditions is met. Thank you all for your ealier replies. Rosh, Thanks a lot for those helpuful answers.
[Deleted]
Good Morning...because I want to learn the language mql, I can not find some resources in Italian. Could you help me on this?. Thanks.
I am trying to open and Bollinger Band in the indicator window #1. When I try to drop and drag it always jumps tp the main window. I would like to open the BB in the indicator window and overlay a MA. Any ideas are greatly appreciated. Thank You!
[Deleted]
Aloha, I have a question that i hope someone can answer 1. When I close MT4, and re-open it, i loose all the tool bar options, and the terminal at the bottom. I dont loose my charts or templates, just the above. Its more an irritation because i have to keep re loading the tool bar stuff back in...
Hi, Accronding to MQL4 rules: files can only be opened in the terminal_directory\experts\files folder or in its subfolders. I am trying to write some EAs. And they need to share files between different terminals. for example, EA-A in FXDD\experts and EA-B in Interbank\experts. EA-A saved some...
[Deleted]
  File Operations?  (4)
Hi, I m trying to read back the information from a CSV file. The format of the CSV file is shown as below Ticket; Open Time; Type; Lots; Item; Price; SL; TP; Close Time; Price; 13953649;2008.05.30 22:36;Buy;0.10;GBPJPY;209.18;0.00;0.00;2008.05.30 22:47;209.18; 13953303;2008.05.30 22...
[Deleted]
Hi! Being a newbie at programming (MQL4), I've downloaded and installed a few indicators from this site (Ergodic Osc and the TSI) and they are working fine. But the Ergodic TVI is not. I do get a window on the chart below the candles (I have volume beneath the candles in the same window as the...
[Deleted]
Just see my statement and see the power of MQL4. It took many years to develope the functions and the program: http://finance.groups.yahoo.com/group/freesignals/
[Deleted]
Is it possible to export corresponding indicator values (i.e. RSI values) when exporting pricing values open, close, high, and low values?
New article Expert Advisors Based on Popular Trading Systems and Alchemy of Trading Robot Optimization (Cont.) is published: In this article the author continues to analyze implementationalgorithms of simplest trading systems and introduces backtestingautomation. The article will be useful for...
Hello: I have been having many problems with the strategy back tester. I start a new demo, down load all of the data from 1999 on all time frames. Then I run many back tests and optimizations for my EA on different time frames. Then after a bunch of testing, all of a sudden I get mismatched chart...
Hi, I just started to programming in MQL and I wished to write a EA to detect divergence of stochastics against the price. I would like to open a trade when the stochastic main crosses below the signal line while the price is making higher high on close of the current bar. I tried but it seems that...
WHO WANTS TO: 1)AUTOMATED THEIR SYSTEM SIMPLE<50$ MODERATE<100$ HARD<200$ COMPLEX>200$ 2)ADD ALERT TO INDICATOR: 1 INDICATOR COMFIRMATION ALERT=20$ 2 INDICATOR COMFIRMATION ADD 10$ MORE EACH INDICATOR ADD AFTER FIRST INDICATOR WILL BE CHARGED FOR 10$ 3)ADD A LITTLE FUNCTION TO CUSTOM INDICATOR SUCH...
[Deleted]
After attaching an Expert Advisor to a chart, must I have the computer on 24 hoursfor EA to activate the trades? I'm asking because I attached an EA to a chart yesterday,then I turned off my computer. 24 hours later I turned my computer back on andthis EA already opened a position while my computer...
[Deleted]
hi, glad to know u are reading this my trading strategy is combining 2 ema cross-overs with parabolic sar, and i don't forget to use take profit,trailing stop,and stop loss for all my trades. now,i would like to write an ea on this strategy of mine,but i don't understand anything in meta trader...
[Deleted]
For example, what was the High of the minute bar for 6:15 GMT on Wednesday, March 26, 2008 (EUR/USD)? Or find info for a range, for example: What was the Low between 10:00 - 15:00 EST on Thrusday, January 24, 2008(USD/JPY)?
As I am typing this ... if i try to make a correction by pressing the backspace key it will kick me back to Documentation and whatever I was typing is lost. Only way I can make correction is by using left arrow key and then delete or by highlighting and correcting. This problem only happens on this...
[Deleted]
Is there a way to programmatically get a list of all the symbols the broker supports?
[Deleted]
I've tried searching but can not seem to find the information. I would like to take the charts that I use on my laptop and use them on my desktop computer?
[Deleted]
Hello, I need to execute an exe from an indicator. I have searched around and found ways to use shellexecute to open a document, but not a way of executing an .exe with no shell mapping (the application i want to use sends messages to IM clients from the command line) Is there any way of doing this,...