MQL4 and MetaTrader 4 - page 1696

  Debugging EA  (1)
Anyone have effective strageies to debug Expert Advisors . Is there anyway to set a breakpoint and examine variables -- a basic debugger? Currently I am setting values in global variables and examining them. I could also write them to a log file, I guess. But is there a better way
  Icwr  (7)
Is there anyone here playing with or trading ICWR? I am currently having a fairly good run with an EA called ICWR.19, but do not fully understand the way it works as I do not code and therefore cannot get into the code to see exactly what it's doing?
[Deleted]
Hi. I put in a buy stop above the current price and a sell stop below the currentprice. Once one of them gets hit, I would like to cancel the other one. How doI do this? Thanks.
Is it possible to apply the same Expert Advisor to two currency pairs at the sametime?
  GridMod Request  (7)
Hi, I would like to ask our great programmers to modify the existing MakeGrid EA with the following rules. I fully understand that changing someone else's code is way more difficult then making everything from scratch, but I would really appriciate if we can work with this EA, since I am very...
  dll interface  (3)
I am able to pass int and double by ref to a Dll that I wrote in C. Can anyone pointme to an example of passing strings from MetaTrader to the C Dll. The C Dll willalso return a char* of sizes less than 255,
[Deleted]
Hi: Can someone please help me with the codding of an EA thet should trade and place orders on Several Crosses at once in one EA and calculate them at oncefor profit taking on both together. Thank you very much Yankey yzmpop@hotmail.com
the original index . thanx
What means "Error opening BUY order : 130" in an order opening. please, I need this explanation
  Trade on ... EAs  (37   1 2 3 4)
1. Trade-on-Monday EA. M15 timeframe. EURUSD, GBPUSD. 2. Trade-on-Friday EA. M15 timeframe. EURUSD, USDCHF EAs and pre-set files are here . First week forward testing results. Very good start
  TradersPowerExpert  (116   1 2 3 4 5 ... 11 12)
TradersPowerExpert_v1.2. EA with pre-set files . H1 timeframe. GBPUSD. USDCHF USDJPY EURUSD. First week forward testing results
  PriceChannelExpert  (12   1 2)
PriceChannelExpert_v4. EA with pre-set file. H1 timeframe. Testing the following pairs: GBPUSD, EURUSD, AUDUSD, USDCAD, EURGBP, EURCHF, EURJPY. First week forward testing results.
[Deleted]
Good Day, I've been having problems accessing the High and Low bars of the bollinger bands.I have tried the iCustom Approach and it seemed to work while I tested for thevalues. Then when I used it in my EA, I get nothing. This is what I tried: //-- Bollinger BandsBBandHi = iCustom(NULL,0,"My Bands"...
  EAs and real accounts  (131   1 2 3 4 5 ... 13 14)
Hello, I want to try some EA from Elite forum, but there is too many EA to choose . Can you people give me suggestion which EA is suitable to use in $100 deposit live account? Next week i will run forward test for PGen, STI5, Firebirdv63G. Maybe if the result for 2-3weeks is good and consistent i
Attention! WYSIWYG editor has been updated. It is used for editing, creating or reply of textsinto "Articles", "Forum" and "MQL4 Code Base" sections.In case of any problems, try to clear the browser cache, please. If the problempersists, you can write to us at support@metaquotes.ru
[Deleted]
Can metatrader access a Web URL,.....is it able to 'GET' a Web page? thanks Nicholas
[Deleted]
Hi, say I have open orders of currency pairs A, B, and C. Is there a way to getthe expert to recognize that there is no open order of currency pair D, and giventhe right conditions, to then open one? Or to see that there already is an tradeopen for currency par A and not open one? I'm wanting to...
Is this correct, I can't find my mistake. When chart is open it's showing 2 linesMA with "Period 1" - Code in script is: sig0 = iMA( NULL, 0, 12, 0, MODE_EMA, PRICE_CLOSE, 0) * 2 - iMA( NULL, 0, 26, 0, MODE_EMA, PRICE_CLOSE, 0);main0 = iMA( NULL, 0, 21, 0, MODE_EMA, PRICE_CLOSE, 0) * 2 - iMA( NULL,...
I'm using iCustom() to access values for ZigZag. It is not seeing values for lowZigZag points. Here's the function: void CheckOpen(){ double LastZZ, ZZarray[]; int MaxIdx; ArrayResize(ZZarray,ExtZZBackstep); for(int i=0;i<=ExtZZBackstep-1;i++){ ZZarray[i] = iCustom(NULL, 0, "ZigZag"...
  Market closed.  (1)
Hi all, what is the best preffered method to check if market is closed or not. I was trying to use IsTradeAllowed() but it returns true during the weekend. Is there another method to do it? Regards, Michal
  Great EA  (11   1 2)
Hi mates! I have a strategy that is very hard or impossible to trade manually so I need a help to create an EA for this strategy. So, you open first trade, for example, buy with 0.1 lots, TP 10p and SL 35p. If this trade gets profit,then open sell position with 0.1 lots with the same settings. If...
I am interested in MQL4 programmers from Rostov-on-Don (Preferably)! There is an interesting strategy and just need to implement it! The strategy is theoretically proven! But its implementation requires a constant presence at the computer - and you know that's not realistic! That's why I had the
[Deleted]
  help:(  (3)
hi all, ill just explain what i want to do then maybe i can get some help!! ok ihave a system and i need to write an expert as the platform i work off doesnt supportOCO!! so i need to open at a certain time, not at a price but at a time and theni need to set 2 pending orders, OCO. i need a trailing...
I was testing my expert advidor, suddenly, began to appear the following message: no data for testing, and next: loaded saccesfuly. Can somebody say to me how to correct this and thus I to be able to continue withmy testing?
[Deleted]
Good Day, I have been trying to find a program capable of supporting what I need, I finally found it but I'm not sure about the Syntax required to get this to work or if it is at all possible. What I'm trying to do is make an Expert that graphs what it's "Thinking" or more correctly graphs the
[Deleted]
  OrderType()  (1)
hi, the OrderType function is a standard trading function. Can I apply the function in a custom indicator? I would like to draw a line only if the trading is on...
My charts went all buggy overnight (between May 01 and May 02, EST), and I was wondering if anybody has experienced the same thing. I noticed the problem on GBPJPY H1, GBPJPY H4, EURJPY H4. and GBPUSD H1. Looks like a bunch of data went missing. At first I thought it was my system, so I unisntalled
[Deleted]
hi, I have just started my adventure with MQL4 and I am really impressed with thepossiblities of the system. I have written a simple custom indicator which doesn'twork as it should. It is an indicator which should calculate the highest and lowestvalues of a day, and draw the highest and the lowest...
Hello, I've been learning MQL for about around a month or so and trying to set up a systemthat will go long on a cross of the ADX(4) DI plus/minus within the indicator onEURUSD currency. I programmed in some back testing code and had the system runningnicely so wanted to produce an Expert Advisor...
Introduction The principles of MQL4-programs development are shown on sample of creating a simpleExpert Advisor system based on the standard MACD indicator... Article link 'Expert Advisor Sample'