MQL4 and MetaTrader 4 - page 1691

I've changed the period_converter script into basket2 in order to create a new chartwith a basket of two currencies. However, there is a problem in this script whichI'm not able to solve. When you attach script to a chart (allow DDL calls and don'tconfirm calls) in its default settings, and then...
[Deleted]
Hi, How can I get X ifX=N I know N in 2power ? thanks
[Deleted]
I'm trying to assign as follows (without using copyarray): array1[i]=array2[j]; or array1[i]=array2[j]+array2[k]; where i,j and k are integers, array1 and array2 are declared as double, and array2contains values different from 0. Somehow array1 remains 0 after the assignment. Where did I go...
Suppose you want to analyse the candles in shown on the attached image (e.g. totest a Japanese engulfing pattern). On the image the candle labeled 0 refers tothe current situation in the market and candles 1 and 2 refer to the last to periods. To avoid misinterpretation you want to make sure that...
[Deleted]
is this possible? If yes, how?
Hi, Kindly teach me how to set date & time to New York Time? Regards Tony
i just seen a forum that has the function of posting mql code into the forum it's easier and automatically change the color into the Metaedtor-like scheme this will be more helpful to post the code here without attacthing files hope this is posible and someone expeert can creat it
I am trying to call a DLL from an EA. I am getting an error message in the EA log that I am unable to call the functionin the DLL. I thought it might be a parmeter passing issue so I made a dummy functionwith no params: int getInt(); In the DLL this is defined as __declspec(dllexport) int...
  Vegas 1Hr Method  (4)
Anyone care to share his experience to create an expert advisor for this trading model or does anyone happen to have one? In my opinion, I'm a newbie by the way, I think it beats all other trading models. It gave a total profit of about 5000 pips in GBP/USD the last 2 months so maybe it deserves...
[Deleted]
Hi there ... I am trying to place text on the chart so that it is above the highof the bar and oriented at 45 degrees or 90 degrees. I can position it to the bar of choice and to the high on the bar and handle theorientation however MT4 appears to always centre the text. Is it possible to left...
  StepEnvelope  (9)
StepEnvelope_v1. EA with pre-set files. M15 timeframe. EURUSD, GBPUSD, USDCHF, USDJPY, GBPJPY, EURJPY. Please find first week forward testing results.
Hello, I am searching for the DPO for MT4. Is anyone able to provide the code? Thanks a lot, and good trading, Machiavelli
-
As of May 1, 2006, all the registered users of the MQL4 Community website (https://www.mql5.com/go?link=https://www.mql4.com) will be given an opportunity to post their articles for a fee. Requirements applicable to articles offered for posting on MQL4.com website arestated in article 'Requirements...
  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 alsowrite 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...