Expert Advisors and Automated Trading - page 192

To post a new topic, please log in or register
Having trouble going about building an array for an Expert Advisor. My goal is to build an array program holds the values of the designated indicators which will be diffreniated by time ie candle sticks.  Does that make any sense?
Hi, Is there any way to accept requotes in EA?
I wrote a code for Gold pair, but it didn't work. if((Symbol() == "XAUUSD")|| (Symbol()== "XAUUSD-") ) pips = 0.1;int buystop= OrderSend(Symbol(),OP_BUYSTOP,0.1,Ask+50*pips,5,Ask+40*pips,Ask+70*pips,NULL,0,0,clrNONE ); Anyone knows the reason?
Hi all.  I'm working on an EA that checks the most recenltly closed bar for Pinbar geometry. The code at the bottom of the page is a cut-down version of the EA, intended to to display my issue.  I first search for when a bar closes using code that has been on this forum many times, and this works...
I have a EA ,and do optimization many times, and the result make me so confuse.... It's appear that the result is Significant different in different period , for example ,optimization result in Jan.2013 only,is different with Feb. and if you do it from Jan. to Feb. you get another. so.... one set...
Hello, Could anyone recommend a good free or commercial obfuscator for an MT4 EA please? Thanks,
Hey guys, new to the forums, i couldn't find this answer. So i just brought my first signal service, the person hasn't traded yet, but im wondering when we go to tools then options then the signals tab and we can specify how much percentage to use of our deposit, what lot size does it trade at?...
Is it possible to run more than one expert advisor when using Mql5 vps service. If so ,what is the maximum number of Expert advisors that can be run on one vps account.
Hi, I'm new at Mql5 I registered on MT4 broker and on MQL5 and I want to to copy signals. But, I can't access the signals area shown on tutorial videos How can I add the signals area to my MT4?
Hello, can somebody please explain what this error message means and what I need to do to get rid of it because MT4 tester doesn't work at the moment. Thanks
Hello all :) I have 4 mt4 accounts with 4 differents companies, i'm working scalping and i try always to exploit the fast movement after news and explosions to take positions, and that's very difficult to enter and exit the market with moving between 4 platforms. i told the problem to my friend...
Hello all expert coders, I wrote an ea to move away from spending countless hours on the monitors. I am doing some back testing but whenever I run a back test i get the following error: Warning : Can not execute new OP_SELL order for Symbol EURUSD. Maximum number of 1 open positions reached. Now...
  Bug in MT4 (1)
I am creating an EA with LIMIT ORDERS.When I program to Delete unexecuted limit order it is creating a looped BUY LIMIT/ SELL IMT .How to Fix it ?
hi, Guys the question is: Is it possible to create a trailing stop from the RSI value of the last candle? If so what is the best method ... Thanks in advance for all the answers ... J. Costa
Username and password when I knocked myself in another system Expert wanted that I bought on the account other active I was faced with the following error 2015.06.19 16:00:44.179 MQL4 Market: failed to get list of user products (send request failed [12002])
please can someone tell me the reason why order      ask < OrderOpenPrice()--------->buy  is not working. i have been using the function for long to open buy low but suddenly i discovered my ea is no longer opening buy order anymore but open sell very well which i sell...
Good day I encountered this class in several code examples, but could not find any documantaion for it for example, this one can some one please reference me to this class specification?
I programmed just a function for trailing stop, I attached my Expert Advisor to a Chart/Symbol an I activated auto trading. The problem ist that the my Expert Advisor modifie even the other symbols from other open charts in the order list which one runs with other expert advisors. I tried to add a...
[Deleted]
can i use volume for detect peak hour ?
hello, Is that Possible to Run 2 Signals for 1 account??? thanks!!!
  Time (2)
Does an EA use brokertime?
Hello forum, good day. How can the account drawdown (Absolute, Maximal and Relative) be calculated in code? I found the following calculations for Absolute and Maximal DrawDown in this article, but it doesn't show how to do it in code: AbsoluteDrawDown = InitialDeposit -...
Hello forum, good day. I need your help to get the lowest Lows in 10 bar intervals from 100 previous bars into an array. Your help will be much appreciated. This is what I'm trying but I get an array out of range error: double LowestLow[];int limit = MathMin( 100, iBars( NULL, 0 ) );for (...
Hi, There's any way to subscribe for multiple signal services for the same period and the same MT4 account? Thanks
I have written an EA in MQL4 and ported it MQL5. Part of troubleshooting it is viewing Log info, and I noticed that in MT5, I can't see a list of Inputs like I can in MT4. Is there something I am missing here? Excuse me if this is the wrong place to report this kind of issue........ MT5...
The log for EA continuously keeps showing "loaded successfully" and then "removed." Could this because I am using Ontick() or iClose? Cheers!!
[Deleted]
Hello community, I am currently working on an EA using mql5 and I want to check if a pending order has reached its take profit. I already thought of going through the list of HistoryDeals to identify the deal that corresponds with the pending order, but this seemed a little too complicated for...
Hi Guys! I'm a newbie in MQL4. In 2012, I had written an EA to manage the opening orders with the contents: In a currency pair, if the market reaches a profit (A0), SL will be moved automatically to entry. Afterthat, if the price reaches a profit (A1), EA will take the first part of volume (m1)...
Hi MQL 4/5 users. I have created an EA that detects Pinbars (Yes, I know it's been done before but I'm very new to coding and this is my version which I intend on building additional confluence and trading functionality into). So far, the EA checks prior candles (the quantity specified by...
Hi All, I have been writing an EA in MQL4 for the past few days. Now I have come to know that MQL4 doesn't support multicurrency trading. I was wondering if Multicurrency trading is possible in MQL5? How difficult is it to convert MQL4 code to MQL5? My main code is in MATLAB. Would it be better to...