[Deleted]
Dear Sirs, I want write a function for my EA that after X continuous loose trades sleep for Y times and next starts. After new start if we meet again X continuous loose trades sleep for Y times and next starts. I want do this cycle when meet it. I am tried and wrote below code: extern int...
Hi, I backtested an EA on 1H timeframe (that only uses closes on previous 1H bars, no tick data) on tick and then on bar opening. The backtest on the tick gave me a 100% return, while the on open it gave me 10%, with of course very different graphics. Assuming the 'every tick' backtest is the...
[Deleted]
Hi, I am having this problem that I can't solve for 2 weeks. I want to check if the current day is the first Sunday of the month. I seem to can't reconcile my code to do this. I need a function basically to tell me the current Day is the DayofWeek of the Month. In others words, for example, is...
Hi I am using iStochastic and the values it returnes does not match what I have on the indicator on the charts. I have made sure that the all the modes are correct and also compared the indicator on the charts to make sure that all are the same stoch1=iStochastic(Symbol(),time_period,PeriodsK...
The problem is that the week starts on MT4, but when using iTime onSunday the 8th when market opens, MT4 gives open time as last week(e.g. August 1st instead of August 8th). Not until sometime duringmiddle of night in U.S. does MT4 actually give Sunday the 8th as themarket open, so that it shows...
[Deleted]
I'm searching the menu where to change the settings for market watch. The chart is drawing on the left side only and most of the space is unused.
Hi All, OrderClose(132443329,3,Bid,3,Red); Could someone please tell me what I am doing wrong. according to the documentation this line above should close the order, but nothing happens, if I do it manualy then their is no problem! Thanks in advance Crunchy
[Deleted]
Does anyone know if there are any Introduction to EA Programming videos out there. Have been trying to learn MQL4 language but finding it a bit hard without someone actually showing me how to do it via the books. Are there any video training courses out there. I live in Sydney Australia and there...
Hi All, why is it when I am an order send using mql4 is so slow, but manualy is very fast? Thanks Crunchy
HI, I got this problem suddently, never before and not in my other EA's, and I cant seem to locate the reason.... x=5; x*Point=0.0001 I have done a MarketInfo for Point followed by a RefreshRates() and still, everything I *Point, comes out bad. Same occurrence with my var "point" or the system...
What would be the best way to determine a range in an EA. I am thinking of starting an EA that would start a trade on the breakout of a ranging market. Except I can't think of the best way to determine a ranging market and the highs and lows. I would think it would be something like trading X many...
[Deleted]
Hi all, what is your running time for your EA in both testing and optimization mode? I need to know if my EA is running too slow. My machine is a Intel Quad-core 6GB RAM. Currently, for both modes, it takes around 45mins for M1 (timeframe) for start: 2010-Jan to end: 2010-June What are the things to...
[Deleted]
In candlestick charts, how do I get the market minute to display, in order to avoid having to convert my time (Pacific). I wish to use this to compare with backtest in my trend analysis software.
Hey guys, just wondering, what is the best way to protect my EA against decompiling or stealing. Or you guys prefer to host your EA on service or running your EA on private computers. cheers, A.
[Deleted]
Can somebody please share with function that moves trailing stop by jumps. For example, moves stop loss every 10 pips. Many thanks.
Hi, I'm manually testing a strategy (going back on the chart and playing it 1 bar each time). I'm using the closes and openings prices as the prices I entry/exit a position. Now if for example the spread averages 3 pips, and I enter when the opening of a bar is 1.10000 and exiting when the opening...
Dear expert programmers! I am begging you to write an EA for crossing MAs, but strictly according to the algorithm. I have seen many similar Expert Advisors, but they all fail, which is logical because they were originally developed incorrectly. I want to challenge the algorithm with the help of my
I guess I dont understand this part of building an indicator as well as I thought. I want to have a single price line, with three different colors, bullish, bearish, or neutral. In the beginning I thought it was easy, since I had looked at the slopeline indicator as an example, which just sets the...
[Deleted]
Hi, I am new, and wish to have a simple sample EA programe (can do Moving Average, Stochatic, CCI buy and sell signals and auto trade) that can run on Meta Trader, then i will slowly develop my programming skill based on the simple programme that is already running to further enhance the programe....
[Deleted]
Looking for a way to keep the chart an ea is running on with a vertical size of 200 pips, current bid in the middle?
[Deleted]
hi i want to try to get some Bid in different time in candle 15M .. i mean, i want to know Bid in Minute 6 of a candle or some other time .. i used for and sleep() for that and volume[0]=1 for opening candle but its not good and i can't to have strategy test ... so help me about that this is my...
This is what I am using to close all of my orders at once. There is a chance I will have pending BUYSTOP, SELLSTOP, or open OP_BUY, OP_SELL. I want this function to close them at one time. I do get orderclose errors. Is there something wrong?...
[Deleted]
Hello, I am wondering if anyone can help with an indicator that I am trying to build. The general idea is to have a vertical list made up of 14 rows and 3 columns. The first column would contain currency pair symbol names, the second column would contain the amount of pips from that pair's daily...
[Deleted]
Hi everyone, I am looking to hire a programmer to write an EA using 2 or more currency pairs. eg the AUDUSD and the NZDUSD The program would be a typical hedge EA. ie it would go long in one pair and short in the other. When it hits a certain profit/stop loss it would exit. It would place only one...
[Deleted]
Hi all, I would like to be informed when an order hits its SL or TP price specified during the OrderSend (). Which function should I use? Or which method am I called back when it happens? Please advice. Thanks.
I have a demo account to which I have added a Forex EA which appears to operating correctly. The manual shows the 'Expert Advisors' button being clicked and the settings adjusted. I cannot get the button to open a drop down list like is shown in the manual. I have attached a copy of the relevent...
[Deleted]
Hello everybody, I'm looking for help as I just buy new laptop with Windows 7 on. I tried to install MT4 but I've got an error message : File not found (but everything is ok with the file) so if you got some great ideas to help me it'll be really usefull. Thanks by advance, Best regards, Benoit
[Deleted]
i want a pending order based on the open order suppose i have a buy order at 1000, i want 2 limit buys one at 10 pips below the buy order and othe at 20 pips below the buy order can any one help me plz
[Deleted]
Hi, I am newbie to this community as well as forex trading, kindly help me. Actually i am looking for the programing side to pick up the candle position in the chart window, to match with the various indicators. If any strong in programming side just help me or else guide I can make it.. Thanks...
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.