Expert Advisors and Automated Trading - page 67

To post a new topic, please log in or register
as support staff respond take too long and i have only 2 days left for refund, need cancel payment of 1 ea what was deleted by mql5, so now i need refund, can moder write me and i will give him info about payment and what ea? because i have ticket opened 3 days and no one answer me on service desk
How can I get the ArraySize of some Symbol MqlRates? Tks
Hi, I am trying to place my SL/TP at the UPPER BOLLINGER BAND. if(Highes_ >BOLLYUpper)TakeProfit =Highes_           if (UseTakeProfit) TakeProfitLevel =  TakeProfit ; else TakeProfitLevel = 0.0;Ticket = OrderSend(Symbol(), OP_BUY, Lots, Ask, Slippage, StopLossLevel, TakeProfitLevel, "Buy(#" +...
Hi, I have an EA which is based on 3 steps. Once the first 2  steps satisfied i need to wait for the 3rd step to come along. Ideally i would wait 15/20 bars for the 3rd step to show up. The problem that i have is: how do i check for the last 15-20 bars if the 3rd signal has been satisfied? I am...
Hi all I'm looking for MT5 script or EA (possibly MT4) I would like that when candle a bar crosses the horizontal trendline i.e. when the close price are on the opposite sides of the line then close position. Does anyone know similar solutions? Please share with me. So far, just I found it....
Is it possible?‌ ‌‌Thanks D‌aniel
Hi All I have an EA which only works when I create first/initial buy or sell manual order. Can any one kindly let me know that how to back test that EA ? I could not find any first/initial manual order option in Strategy testing. Thanks Imran
Struggling trying to hardcode the formula for 5 day ADR into my expert advisor. Not sure what I'm missing but it keeps returning 0.  int dailyrange(){int i=0;for(i=1;i<=5;i++)R5=(iHigh(Symbol(),PERIOD_D1,i)-(iLow(Symbol(),PERIOD_D1,i))/Point);averagedailyrange = R5/5;return(averagedailyrange);}
Hi fellas. I want to know which is the best EA bot that you ever used? Thank you in advance.
I would like to validate EA input values (i.e min. and max.). Is this possible? I would like to enable some inputs based on the selection of one other (i.e. enabling one option would enable some other inputs). Is this possible too?
I open a limit sell order and limit buy order both with take profit 300 points above the one price. For example: Order 1: limit buy at 1.08000, take profit at 1.08300, no stop loss Order 2: limit sell at 1.08000, take profit at 1.07700, no stop loss What I expect is when the price oscillating...
The CButton class is derived from CWndObj, and CWndObj is derived from CWnd. All the classes don't have an interface to set BASE CORNER. If you set BASE CORNER by ObjectSetInteger OBJPROP_CORNER, then the coordinates is weird. This will make event handler to response false due to position miss. Does...
Something common, i am using latest metatrader 5, so i think its the last standard library, i want to create a limit order as soon as i create a trade to scale out half of position in 1:1. The problem i have its that everything is fine but for example if i am in a sell when it touches the buy limit...
We (The end users of Terminal.exe or terminal64.exe ) drive the demand for brokers to buy MT5 Server from Metaquotes. These licenses are expensive to buy and monthly fees are easily $10,000 USD. The "EA" Market is what took Metatrader into the #1 Spot of Forex. Now MT5 allows Hedging so more of us...
Hi How can I substract a value from the account balance? Simulate a withdraw while backtesting. Thank you
Hi, I'm trying to change the server on some VPS from Server 14 to Server 4, but it doesn't work. The Server switches to Server 4 as soon as I press "OK", but then after 1 minute it goes back to Server 14. Does anybody know how to do this? Thanks
tmSignal();   if (buy()&& (Bid>=RUDuentry && Bid<RUDutp1-min_distance*_Point && RUDuentry>0 && RUDutp1>0 && tmTrade==1 /*&& (dotsBuy<atrproju) && (dotsBT1<drangeh)*/))   {         OrderEntry(0,RUDutp1,RUDdentry);      }      if (sell() && (Bid<=RUDdentry && Bid>RUDdtp1+min_distance*_Point &&...
Hello, Can anyone help please? My expert advisors are not working. Let's take for example moving average, i attached it to the chart, it says initialized, i even get that smiley face on the top right corner, but it just doesn't show anything on the charts. It's the same with all my EA. There are no...
Converting from MT4 to MT% Usually in MT4 I backtest in Visual mode and can drag an indicator from the navigation tree and use it on the visual backtest. This allows lots of on chart event functions. So far I can not replicate this on MT5 Anyone know how to do this in MT5?
Hi , I have an issue, I am taking tick volume data and getting percent rates. The problem is that when i take the bullish and bearish tick data(both much above 0) and divide them and after that *100 , i get 0. I printed out everything and i find no logical reason for that. The data is taken with the...
Hello Everyone, Been testing many EA's and some give same results as live accounts and some are totally different. Here are the questions for those long time traders and coders. Could EA here in MQL5 be trusted?If not, how do we avoid this? And why do MQL5 allow this? Do MQL5 screen sellers and...
Hello, I was wondering whether anybody could help with something that's really beginning to wind me up... Whenever I backtest an EA the system runs it, however no results pull through. In the journal it says "failed to open a short/long position" many times over. Admittedly my level of experience...
Hello, Can someone help me with my EA that I am building?  There is one piece that I am unable to understand.  Currently my EA opens the trade as soon as my EMAs cross.  But I only want the trade to open if the EMAs are confirmed at the candle close, along with my other criteria.  I've seen others...
Hi! I want to execute/modify orders by reading a txt file which specified the SL, TP and EP. Is it possible to do so?
Hello, I've finally write an ea multipair for MT5 (5 pairs). But when I launch a BT with "Every tick" model I see that the local agent is used only for 0.2%. Obviously the BT is dramatically slow. I've always supposed that MT5 is about a joke, and I would like to know if this behaviour is normal in...
Hello. In my EA I use comments to identify my orders. However when I partially close an order, it seems, that it closes the old order and opens new order with the remaining lot size, but the comment is no longer there. Is there a way how to carry on the comment when partially closing an order?
After a week I still have not been able to get my EA produce an entry in VPS mode. The EA is working OK Live on my computer. The journal stipulates that the migrations looks very much OK, as long as I can understand it. But THEN nothing, no signals. I have no DLL-boxes ticked or no need for it in...
Hello I recently subscribed to a signal provider and have it all set up in MT4. I've checked the journal and noticed signals are being "skipped" because "no symbol found". For example, a buy order on EURUSD. My broker lists each symbol with .r suffix, e.g. EURSUD.r. Is this the problem? How do i fix...
Hi, WHat is the replaced function of WindowExpertName() in MQL5 ? How can i get expert name in MQL5? Thanks
I'm newbie. Please help. If no trade (1st condition) BUY Should be open by default (Default SL 10 pips, Default TP 10 PIPS), 0.01 lot size 2nd condition)SELL STOP pending order should be open simultaneously at SL price of Open order with 0.03 lot size (3 times of Opened order lot size, 3*0.01=0.03)...