Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1008

To post a new topic, please log in or register
  Server time (3)
Hi all, New user to MetaTrader [and don't have a clue about programming it!!], but my server time is wrong. How do I alter it? Many thanks, Rob
Dear All, This is Wizard and I am a newbie in the MQL4, Actually, It looks like that it is easy to learn, but I am a little bit confused with MQL4 logic..........I do not know ..... Anyways, I just wanted to ask a simple question, I want to create a simple program that checks whether the specified...
Hi! I use this indicator but the sound alert does not work. Would you help me? Thanks!
so if you have an indicator that is made of other (iCustom) indi's signals, A,B & C, which are boolean (only 1/0 values). And I want this for result, which type of loop should I use If none of the 3 (A,B,C) is =1 and all 3 are = 0 then result is 0 1 of the 3 (A or B or C) is =1 and the other 2 are...
Hello, I have a question on what to expect from the upcoming summer holiday season. Last year we experienced crazy conditions in the forex market during summer time, but what has been the norm throughout the years? I'm asking since I'm a bit uncertain whether I should put my EA's to rest or let them...
hi guys..... only a clarification : when i launch the optimization, on the right appear the quality of the model ( the maximun i have seen is 90% ). what's this??? sometimes i have 86-87 % but never 100%. it's enough or not?? thanks Giulio
  xtreme EURGBP (11   1 2)
Hi XtremeEURGBP is using. The broker is investtechfx. www.investtechfx.com ...error... Error open Buy order : Wrong foot Is there an evasion method? The backing test moves normally. BsetRegards
Hi I was trying to add a time based condition to my EA. I wanted to identify the the last "time" when a pair crossed a particluar Bid/Ask price. Eg: Time1=Last Time when the pair went below Bid 1.32501, Time2= Last Time when the pair went above Bid 1.32855. How to code this. Please help me. Regards...
Hi All, I'm a novice programmer in MQL4. I want information about how the bars are formed on the chart. I'm using Bar chart. also I want to develop a code that detect a signal change i.e. blue dot changes to red or red changes to blue. Please reply.
If I place the above indicator on the chart and then try to use the object shape Rectangle it shuts almost as soon as I put it on if I take the indicator off it works fine Any of you clever guys got any ideas as both thes features I find useful many thanks reldas123
I have an indicator that highlights various turning point highs and lows using arrow symbols (namely wingding symbols 140 through 145 with varying widths). Fairly often one or more of these objects will overlap and so in such cases I offset them by some factor. For example, if on a 1 minute chart...
  hysteresis (1)
Hi, if you want to apply the principle of a thermostat, (switch on the heat if the temperature drops below a low level, switch off if temperature goes above a high level) -it's called hysteresis- to avoid switching on and off multiple times in a row if the indicator is close to the threshold, how...
I'm trying to figure out the best way to have a program recognize the peaks and valleys on most charts? Are there any completed indicators that already identify the high points and low points in a chart over a specific period of time? The problem is how to determine what the time period is for it...
I am interested in trading at a specific time and want to set my indicators to alert me when the market presents certain situations. how do I program the following indicators bulls bears RSI Stochastic (does anyone know how to program bullsnbears 4xtraffic?) Also how do I see where liquidity is...
I'm getting this error: 2009.06.23 14:27:31 TestGenerator: deficient data 'GBPJPY240' (77 rate records) The problem is that when I open the history center, it lists 2.9 million records for GBPJPY1 and 3,670 for GBPJPY240. I ran the period converter script but continue receiving this error. What...
  csv question (4)
Ok i setup my indicator to write some data to a csv file. Now I thought csv files were comma separated files but when i open up the files in word i see these special square blocks separating the fields. So I opened it up in notepad++ and that had the fields seperated by NUL character. When i try...
Please help. I just want to put classic pivot points into MetaTrader. I don't want to understand how pivot points are calculated. I just want to see the pivot lines in MetaTrader whenever I fire it up. I want to see three S lines, one middle line, and three R lines. I have spent several days...
Hi there: How do I change the color of candles based on an indicator/oscillator value thatis in a separate window? I cannot find any documentation that allows me to accessthe color property of a particular price bar or candle. I want to change the colorof the candle if, for example, my stochastic...
I have develop a indicator and want to present you. My english is not so good for explanation, so just download and trie it if you want.
Hi Guys, I wanted to hear some suggestions on how I might go about programming this I idea I have. I've created an EA that opens trades using stochastics as entry signal and alligator as trend indicator.. My logic trades based on candle data, and I want to limit my trade window to only the first 1...
is their a code or somthing to help if people try to decode your ea? or that will protect it from people seeing how its made?
Hi Folks, I wonder to check my strategy I wrote, on some old data. I've got a problem with modelling quality when I test on method "Every tick ...". While I test my EA on last 30 days modelling quality shows 90%. Its going down significantly to 30% or less while I try to include 2,3,4 or more months...
As usual, get me at sleepless.damian@gmail.com
Hi, I have 2 questions.. 1) how can I use the comment command to write stuff on a second line.. and 2) Can you help me figure out how to get me script to work below? All I want is for the variable "Trend" to be recognized in the start function.. Thanks in advanced!!...
  Array Problem (4)
Hello, I defined 2 Arrays, 2 dimention each . Initialized both of them (not in the init() function but at the start() function!!). I'm checking if I need to resize them before I put values, and the resizing succeed . The first array is working good, But on second Array, I can't put values and it is...
Fellow traders. I want to create an automated StopLoss aand Take Profit code which after I'v placed my order without either TP or SL. I can drag the code into the charts and the SL and TP are autiomatically added based on the type of Pair traded{ Once added it automatically check for new order...
Can someone please help me figure out why my ea is placing multiple orders? It's supposed to place an order every time the histogram crosses the zero line but it's placing trades after the first one is closed. Thanks for your help... R
EA for BROKERS "NO Pending ORDERS " Hello, I am at the broker FXCMUK which n' do not accept the " Pendings ORDERS " EA usable in 4 or 5 digits, including US IBFx and brokers, but not at the brokers which n' more the " accept; PendingOrders" (FXCM, GCI, amongst other things). I leave the care of...
Hi, can any body give me the link to the compiled MQL4 book please. the one I earlier download keeps cpomplaining of web address not found...