Expert Advisors and Automated Trading - page 88

To post a new topic, please log in or register
I want to know about the door to buy only when it change from 0 to the number.Ex) 1.072222 If you know about this, or know about ea using related information, Please answering my question..
hello people.. please could someone explain why i have 0% history quality when i run my results . i am using a demo account with activtrades MT5 Build 1596 this happens with any ea including sample ea's changing broker to fxpro fixed this but produced  an error for ORDER_FILLING_FOK - invalid fill...
Hello, I working on an EA that trades for breakouts. Learning lots. Just recently, the trades get made, show up briefly on the chart and then disappear. Have no idea what is going on. If you could point me in the right direction for a problem determination procedure I'd appreciate it. Thanks, MM
Hey guys I'm new to the mql5 programming and I want to modify my open positions. But if i run the EA in a Backtest, I always get the "Error: Invalid Stops". Can anyone help me with this? //+------------------------------------------------------------------+//| Modify an open...
Hi, I wonder if it's possible to do a check from mql5 code if trading of certain instrument at a given time is possible. The reason I'm asking this is, because my EA, opens multiple orders of different instruments, it is some kind of "hedging" strategy. So the problem I've faced when testing it on...
Hi I have an EA but when i want to add my product to the MQL5 market i receive this error: test on NZDUSD,H1  2016.03.30 19:00:00  Tester: not enough money for sell 0.20 NZDUSD at 0.69096 sl: 0.79096 tp: 0.69046 [2016.03.30 19:00]  2016.03.30 19:00:00  Tester: PrevBalance: 1.00, PrevPL: 0.00,...
I need a large number of bars (E.g. 1000) of indicator data in my EA. When the EA starts, obviously it will then need to copy 1000 bars from the indicator in an array. On subsequent ticks (or in my case, subsequent bars, since it is stopped from doing the copy every tick), should I copy 1000 bars...
I load many symbols and send quotes and indicator data to database, but I need when I call ChartOpen() command automatic run a script or I need read MqlRates from another window with chartId. There are someway to do It ?
Hi to all the community, I have set my EA with the CExpert PSAR trailing but don´t works, somebody could help me with that? Thanks
Hello,  I'm a newbie to testing and EAs, and I ran a test using the Stochastics and Envelope EA, however no trades were executed and or results shown. The time frame is 10M, and all the inputs seem to be correct. I have been looking for a solution online and also in the forum, and found one thread,...
Hi there, the title says it all..In my EA (MT5) when the robot is closing position I want to check the profit of current position properly. I know there is a function "PositionGetDouble" but am not sure about how to use it properly. On my ECN account I pay commisions for each position opening cca....
Dear Coder Too frequently come across Testing take too long error in the product validation for Meta Trader 5 products. In Fact, the testing is done really ok in my own Meta Trader in my own computer. But this is triggered only in the product validation stage on the website. Why this happen ?  Can...
Is it possible to minimize and maximize form with MQL ( Ultimatively with NOT Removing it) ? And is it possible to change input box backgound color (I want to toggle it between green and red depending...)?
Hi, can you please advise me how to program EA to identify the value of just specified decimal? For example Identify 1.43200 as x.xxx00 (something like "LastTwoAreZeros == true"). The only thing I came with is list all the values I want (for example "if Price = 1.43200 || 1.43300 || 1.43100" etc.)...
Hello again! Analyzing my EA I think that Direction function from ExpertSignal.mqh has a bug. At the begining it states that if the result from checked signals for long and short position for a specified Signal is 0.0 (Ex.: SignalAC.mqh) this should not be conted for votes number at var number. -...
Hello, the TimeGMT() method only works when the computer time and the timezone are set up correctly. Is there a way to get the current GMT time without using this method?
Dear ladies and gents, I wrote a this code to calculate the Lotsize depending on where the price is in addiction to the StandardDeviation: //Calculating Lotsize      double longTradeLotsunrond = (InitialLotSize + ((Ask - MAlong) * ((2 * InitialLotSize) / (4 * StdDevlong)) *(-1)));      double...
Hello guys! First post here! I always read a lot of post in this forum and since now all coding problems that I had were solved just searching here. But now I'm having a problem that I can't find a solution. Can anybody help? I'm using CExpertTrailing to make a custom auto trade system with...
I'm using standard library's base classes for creating an EA. After opening a new position, I'd like to post some pending orders for partial TPs, as well as a stop order. The doubt is what is the more elegant way of doing this using the standard library's base classes? At this moment I just coded a...
Hey, I have a great indicator system that I am using at the moment. I am looking for an EA that opens new position according to this indication system. Has anyone maybe found an EA or know of such an EA? Regards Franzel
There soooo many EA for sale here, which seems to be the favorite on real live account? 
             I have a pretty good EA (mq5 ).Now I need the Time filter.Where can I find the code for the Time filter (mq5) or a sample EA with the Time filter code in it so I can do it myself ?               Please help ( not by the Wizard ).Thank you.
in the below mentioned code,i want the labels name to be displayed on my chart, can anybody help, its in mt5 #property indicator_chart_window #define     count_buffers     9 #property indicator_buffers   count_buffers #property indicator_plots     count_buffers //--- plot buffer 1 #property...
Hi friends, how can I know if a concret broker let me use a "symbol name?" how can I search if the symbol exist with mql? Thanks!
Whenever I try to leverage any of the servers I have in my friends network we get the following error tested with error "cannot load expert [539]" I'm testing against a few EA's from the market ticksniper good santa saad scalper and others all the demo version. Each remote host fails with the above...
Hello I have an indicator that for example send alert for buy or sell How can i use it to EA for auto following of indicator ? I mean how can i force EA to follow indicator alert ? For example: if(indicator-test-alert==sell)ordersend(buy position)else if (indicator-test-alert==buy)ordersend(sell...
I'm optimizing my EA and at the bottom left of the strategy tester it says 796 / 8 892 (235 200). So, how many more tests do I have to go? Yes, I looked everywhere for this answer and I can't find out how to decode those numbers.  :)
ObjectGetValueByTime() All time retrun 0.0 double LastUpRedrawValue =ObjectGetValueByTime(0,"Toptahlil_UpperTrendLine_"+GetPeriod(Period()),Time[iUp],OBJ_TREND);
Hi friends I know that to include a library I should put in my code  "#include <ghttp.mqh>"  but when I put this in an Expert Advisor that I am doing the MetaEditor show me an error: "can't open include file". What and how I should do to use this library? Thanks you so much for your help!
Hello, I'm receiving twice phone notification for same trade transaction, how can I fix it?