MQL4 and MetaTrader 4 - page 1063

THE VALUE POINT IN LATEST BUILD OF MT4 IS READING 0 ????????? CAUSING PROBLEMS ON EVERY EA AND INDI OUT THERE!!!!!!!
In codebase for publication should Advisor STORM over six weeks modernizing why not work? There is no answer at all!
  unbalanced parantheses  (77   1 2 3 4 5 ... 7 8)
I can't figure out the correct way to put the brackets. Please explain what my mistake is. int start() { //---- { pending = ExistOrders( NULL ); if (pending > 0 ) { return ;} positions = ExistPositions( NULL ); if (positions > 0 ) { return ;} } else { ticket= OrderSend ( Symbol
[Deleted]
Hi, I am a New to Forex Market and I am not aware of EA coding, So kindly convert below mentioned indicator into EA and provide me. It ll be greatful help to me. I am listed Indicators MQ4 below #property indicator_separate_window #property indicator_buffers 3 #property indicator_color1 Black...
[Deleted]
Hi Folks, I am writing some code for an EA, and am wondering how can I have the EA look at different time frames other than the time frame of the chart it is attached to. For example, if I attach my EA to a H1 chart. And the EA is coded with time[1], open[1] etc, these will be referring to the H1...
[Deleted]
Hello, can anyone give me an advice for a very special SW-problem with external input parameters: We are runnung an EA with external input parameters at the normal input-parameter menue.. This parameters can be changed at any time . The parameter changes are read by the EA and the EA responds to...
I need a script that will sound an alert when the enclosed TriangularMA Centered moving average crosses an adjustable EMA. I need to be able hear an audible alert, a text box and SMS email alerts. I want to choose the currency pair and time frame. I want to choose a unique sound so that the it can...
[Deleted]
By using OANDA, I found that the history data in the "History Center" missing between date 2012-Jan-13 & 2012-Mar-08 for EURUSD (1 Hour). Anyone please help. Thanks
Dear All, I am here again for your help. I tried different methods to succeed Error #130. I couldnt place orders when the price is near to Ask or Bid. Here is one of my technique. Can any one suggest alternate method or changes to be made that will workout. Thanks in advance....
[Deleted]
The entry i must make own. who can build to me following script.ea? sell script with + 10 released sl must started. Tp variably. Then the following pairs should be explained immediately. usd-chaf, cad-chf, usd-cad, gbd-usd euro-aud aud-usd gbd-aud. And on the buy side. buy script with 10 pips +...
I have been reading the documentation and examples but so far nothing helped me. I want to make an EA that buys EUR/USD at 1.30 and sells it at 1.40, automatically, every time that currency reaches those prices.
[Deleted]
When I changes the account number, ex) 1234->1238 There is mismatch in 1-2 seconds. EA's arrays and variables are from 1234's calculation but AccountNumber and order data are from 1238. (OrdersTotal is 0 before login succesfully) And there is mismatch and error order entrys between 1234 and 1238. I...
[Deleted]
I have finished coding up my first 2 EAs, and I would like to forward test them on some small accounts. 1) Currently, if I run both systems on one main account, then won't their stats all blur together(winrate/pf/drawdown)? Do I need to be manually tracking each system independently? Or is there a
Hi, What methods do you use to store important data to make your MQL4 EAs resistant to platform crashes and other unexpected problems? I have read somewhere that global variables are not any better than simple variables and the data will not be saved if the platform crashes. Is this true? Currently
Hi - I also posted this on the MQL5 forum but realized i was actually using MQL4. Have just started experimenting with MetaTrader after spending lots of time with Prorealtime charts. We have a RSI that we use with a period of 1 setting. When that is used in MetaTrader it just flatlines at 0. When...
[Deleted]
Trying to check if I have active pending orders prior to creating new orders. Sure there is some simple problem here. Edit: And I should mention that when I run it the EA continues to place orders, one after another. That is why I know it is returning false. if(activeOrders(OP_SELLSTOP, Symbol(),...
[Deleted]
I am trying to see if anyone has any experience with this. If it's possible I would appreciate a few pointers because I am not sure how to run an exe like metalang.exe on the server. Maybe there is a compiler out there that is made for this routine but I could not find it. Thanks for the...
-
Hello, I have a broker and I do not know anyelse, so I do not know the spread of other brokers on different commodities, forex or indices... For example, my future S&P500 spread is 5, one digit after the dot Golds: 80 pips, 2 digits after the dot OILs (Brent): I have not the possibility to trade...
Good morning, Is there a way to test an EA on weekly charts? Cheers!
[Deleted]
I want replace envelope into macd indicator. can you guys show me what codes should i input and what need to be taken out. Thanks Here's macd code //+------------------------------------------------------------------+ //| Custom MACD.mq4 | //|...
New article Fractal Analysis of Joint Currency Movements is published: How independent are currency quotes? Are their movements coordinated or does the movement of one currency suggest nothing of the movement of another? The article describes an effort to tackle this issue using nonlinear dynamics...
Hi everydoby, I know that it's not possible to modify the platform clock. Is there an indicator showing the opening time for every bar with the desiderd time zone? For instance, platform is settled on GMT but the indicator shows opening time on GMT+2. Thank you!
[Deleted]
  EA running time.  (3)
Hi all, I`m new used this MT4. Here i want to ask about EA. It is EA working if I shutdown my computer.
I managed to write a profitable EA. However, after reaching a certain level of profit, orders stop opening with the reasoning being wrong price or a general error. Perhaps there are some recommendations on how to avoid this. Maybe perform some additional checks or increase the slippage with each
Anyone knows how to increase the quality of modeling when you are testing?
I am working within a MetaTrader script file and need tocall a function within a Boost library. Anyone know if this is possible? If so how do you configure the import?
[Deleted]
hi, what's the easiest way for me to count 5 positive or negative ticks in a row? thanks in advance
[Deleted]
Is it possible to use the indicator attached below to create an EA by using the function iCustom() and if it is, can some body PLEASE help me with the code to call the value of the indicator for the EA to open a sell order when the first red bar appears after the last set of blue bars and a buy...
[Deleted]
hai everyone.... iam trying to make macd sample, n ihope it can running in several different chart, with several different pair, but one ea, when i put it into chart i hope it can make open orders, so when if i put it again to another chart with different pair, i hopo it make another open order
Hello everybody and thanks for your help in advance. I've got a dll function "MT4_mysql_fetch_row" that fetches a query from a db and puts the result in the string array "lsResult"! The problem is that MT4 crashes when it ArrayResizes the array afterwards ... how can that be?    string...