MQL4 and MetaTrader 4 - page 1277

To post a new topic, please log in or register
I am new to MQL and having a bit of difficulty understandig this. Lets asume i havesome code that does some calculations and tells me whether it is ok to place pendingorders and at what price. Something like this: if okToBuy=true { here i would like to have my long stop pending order } if...
Does anybody have a method of converting time charts into tick charts? - Since MetaTradercollects all ticks, there must be a way of charting them by number of ticks asopposed to by period of time. I know of (and use) the Period Converter found at'Period Converter Optimized' , which allows you to...
Hi, I'm newbie in making program. I try to make simple EA wich will opentrade in time that we set before, for e.q I want to open trade at21:00, but the problem with my EA is if I set the time at 21:00 and there is notick at that time so it won't open the trade and I don't know how tomake the EA...
Dear together, i have new currency pairs in MetaTrader 4 in the HISTORY CENTER but i can´t get a view of these new ones inthe chart menu ... When i open TOOLS and then HISTORY CENTER i have more CURRENCY PAIRS as when iopen FILE and then NEW CHART !!! I don`t understand why - or let me better...
  Vista (1)
I was working normaly with Meta Trader on windows 2003 and XP, since I have Vistait gives a no connection message next to the connection bar? does anyone have anyidea if it should work on vista?
QUESTION: check for the syntax and how to write the code if close_price -- open_price on bar1 >=3 if close _price -- open_price on bar2 >=3
hey guys...........i need a solution to the this question: what is the syntax to write on : check if 3bars are above 13 period_EMA.
Hi, I want to know if anyone knows a way to place automated trades, that execute atthe same time and in the same way everyday. Example: If I want the eur/usd to be sold every day at 02:00 GMT with Take Profit of 10 pips,how can this be done in an automatically way?? I will appreciate if someone...
I need a quick tutorial on magic numbers and their relevance. Here are some questions. 1. Are magic numbers needed in order to maintain separate "state" or"namespace" for each instance of an EA applied within the same terminalapplication? 2. I assume the answer to number 1 is "yes", but, then I'm...
Hi! I'm looking at a lot of charts at the same time and it's so annoying that I can'tmake two tab rows in the bottom of the screen, but I have to scroll t the rightand to the left every time. Is there any solution that's more user friendly? Thankyou
Please check, there error at codebase in Russia site !!!!!!! 'FX-CHAOS' FX-CHAOS The two word doc files inside zip have special names, so can not extract them out. Please change those doc files' name to English characters!!!
I would like to limit the choice of possible values taken by an external parameter. I there a simple way to do than testing the allowed values and displaying an alertif it is different? For instance, let's say that I have extern int SL; and I want that the only authorized values for SL are 10,...
Hi, How to merge two and more templates ? With template1 comes two Trendline , with template2 comes one Horizontal Line. I want to create a new template, template3 which add template1 and template2. Thanhs, Tintin92
Hi. I`m new to this forum and I don`t know anything about programming. I have demotradedwith the help of this indicator for several months now and I wonder if there ispossible to make a EA out of this. The criteria is as follows: 1. When the green "Gator lips" indicator crosses the red "Gator...
Indicator below is about Murrey Law indicator.What i want is only to keep the MurreyTime Line function(daily and longterm vertical line).the rest function can be excluded.Second i want to combine weekly pivot,weekly SR,monthly pivot and SR,yearly pivotand SR,daily,weekly,monthly,yearly hi-low on it....
Hello everydody. I watched that an EA opens an order when the requisites are satisfied. My question is, how can I avoid a reconfirmationabout the order that EA has opened before? I don´t want MT4 asks about the order, I want that after an OrderSend() command, it begins to catch pips, without more...
Need an indicator same as MACD but to display the colors as per the screenshotattached. Would appreciate any help. Also, How can I assign values to array? EG x[i] = High[i]; Sometimes this will not work, I am not sure what I am doing wrong. Thanks -Pete
Hi everyone, New, trying to create & run an Expert Advisor. I keep getting "Cannot resizeArray" message while testing the EA. Any experts out there can help me outhere / Thanks, -Pete
hi, in experts folder: - is there option to forward received emails from terminal mailbox to another ( specified ) email ? - is there option to check all back ( error ) messages in terminal journal and compare them with assigned defined ? - is there command assigned for accepting update if...
hello any one have an expert working on the new hi and new low?
Is there any scripts that will take an indicator and apply to 5m timeframe and takea snapshot and save to c:\folder, then change to 15m , snapshot, then change to30m, 60, 4h etc....... then do same thing for next indicator in the list, and thenext indicator etc...... I would like to simply monitor...
Hi, How to change the timeframe of a chart with script ? Thanks, Tintin92
hello, how high is the reward an author gets for such an article: 'How to Evaluate the Expert Testing Results' I just need a rough estimate. If you wrote an article, please provide the priceinfo (just round about) and the link. Thank you.
hello any body have an expert working on the hi and lows of the candels ?
if i place a pending order , after a while , I want to close this pending order,but I don't know whether this pending order is succeeded . how do I code it .( that mean I must know trade status of pending order ,need to know pend orderhave been traded or not)
Hi! I'm still new and need serious help with the pivot point calculation. I tried somethingbut it looks not like Pivot or Lines resistance or support. PLZZZZ!!!!!! HELP
  Help in EA Programming. (12   1 2)
Hi guys, I need your help in a single matter in coding my EA. I almost finished coding my EA which I will display in theforum soon. Still one problem, I don’t know what is the function to make the EA as trial version for let ussay 7 day or 10 day. And how also make the EA locked to one account? Your...
Hello, how I can get indicator values from other time periods gotten during thestrategy testers runs, with the Livechart that goes simply by just adjusts anotherperiod parameter, but with the strategy tester run does not function it. I hopesomeone know the problem and can help.
What could be the reason that the alert box content is not shown? Thanks, Al
Hi, I have a problem with Trailing Stop, I opened a position and added tr. stop, a"T" letter appear on the position, but it doesn't function, the marketwent up and down and exceeded the tr.stop and the position is not closed yet, canyou help? I'm doing right?