Download MetaTrader 5

General - page 1086

To post a new topic, please log in or register
Hi, Is there any way to toggle or set the state of IsTradeAllowed() in code ? Cheers Martin
Hello, Currently I plot some long-term trendlines which I require to move, though I need to keep the same angles - this is important. And I need to move and see them across differing timeframes. The problem I have at the moment is to move a trendline, you need to double click it and move it by the...
Is there a way to add price value to retracement levels and maby to change color for individual lines! If anybody know the answer to that or would like to help please I am sure eveyrbody would like to have that tool with fully funcional and customisable!
I am trying to write a code that will close all trades out in the last 10 min of the week. Is this code correct exit = (Minute()==50 && Hour()==22 && DayOfWeek()==5); Thanks
MetaTrader4 is wonderful ! But until now, the strategy tester is not available yet! It is a regret. Would the MetaQuotes group like to tell us when the strategy tester will be available?
how to write trade no more than twice in an hour
Well the forum is a bit dull lately and I've seen it go on and offline alot but nonetheless I think there should be some activity.. So here is the official click-charity help thready. All you need to do is click the give button and you will see lots of banners (shouldnt be any popups) which pay the...
Is there a way to change color for this indicator so when it's in positive to stay green and when it's negative to lets say be red! Any help is apreciated!
MT4 expert closes orders without a reason. Here is a ticket number:503690 I have an expert running for a month but this week it closed several times without any reason. OrderClose is based on time, maybe you are playing with the time this week: if (Hour()>=CloseHour) {...
I have built a strategy to check for the cross-over of the Ichimoku clouds,i.e., MODE_SENKOUSPANA & MODE_SENKOUSPANB. On the MT3, gave me only 1% return over 7 months. Not so good, but I feel good about the Expert MT4 so far. Only time will tell! Wonder anyone working with the Ichimoku clouds...
MetaTrader 4. Build 168. 1. Updated data pumping; 2. Updated working through DataCenter; 3. Updated last data viewing in "Data Window"; 4. Updated internal news receiving; 5. Updated internal mail working; 6. Updated Dictionary of MetaEditor IDE; 7. Updating based on crash-logs. New version...
Is the above pair available on the platform? If not, any particular reason? Also are any indices or indices futures available?
In MT3 you can set the debug mode to ON using this command: SetDebugMode(MODE_FILE+MODE_VALUES+MODE_DETAILS); How is it in MT4?
Hi, I was wondering whether it's possible to code an alert based on an simple moving average crossing a trendline ? There would be 2 trendlines (triangle). Is it possible for mq4 and/or mql language to identify a generic trendline? Ideally I'd like the same script on a number of currency pairs,...
Hi, It would be nice if an MT4 user had the ability to select any time period. However, until that is possible it would be extremely helpful if Metatrader added both the 10 Minute period and the 2 Hour period. Thanks.
The TD( Tom Demark) Swquential is used to find exhaustion points. First you need a setup — something that tells you whether the environment is right for a low-risk buy or sell In the case of a Sequential buy setup, you need nine consecutive closes less than the close four bars earlier. The...
Hi, everybody, I interest to learn more on expert script, where can I get the manual or userguide, by the way, i have use metatrader to trader forex since 2 years ago, i am tired with continuing monitoring the market, my eyes get red, i wonder if i can learn to write an expert advisor program that...
How do you calculate OHLC with MT3 api ? Is it consistent across all MT3 servers or a broker based setting ? For example, I got tick data : bid/ask 1.2921/1.2924 ... 1.2919/1.2922 with the in between ticks being one of those 2. When I got the server data for that same period it gave me : O =...
I have an expert advisor running with just one line of code: OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-20*Point,Ask+2*Point, NULL, 0, 0, Aqua); What's suppose to happen is that it should keep buying until I'm broke. I'm just testing it this way because this function is not being executed by MetaTrader4...
I keep getting this error in my experts log continually.. ArrayInitialize function internal error The funny thing is the code works fine and does exactly what I want it to do, it is just these errors in the log. This is an extract from the code I am using. double array_price[][6]; double...
I have a demo mini-forex $3000 account with the following lots allocation logic: vLots= Ceil(Balance * 3.0/10000)/10; if vLots < 0.1 then vLots=lots; if vLots > 1 then vLots=Ceil(vlots); if vLots > 5 then vLots=5; Keep getting this error in the journal: 05:05:33 '69451': order buy stop 0.10...
- what time does the time field in TickInfo struct represent ? - is it possible to turn off pump so I can get historical data, then turn pump back on ? - will MT4 servers be backward compatible w/ MT3 client ? Thanks, Chris
I am developing using the metatrader 3 api Here's my question: Say I have 10 1 unit buy positions. Then, say I want to perform 1 10 unit sell order. Now, I need to enact 10 CloseByOrder(..,..) calls. How long do I need to wait between API calls, to avoid &quot;too frequent requests&quot; error...
Hello, When attempting to use iStdDevOnArray(), CPU usage spikes to 100% and kills MT4. here is the call from my code: StdDev_Buffer[i]=iStdDevOnArray(Some_Buffer,0,Some_Lookback,MODE_SMA,0,i);
the indicator: /*[[ Name := ButterFly Author := Copyright ?2002, MetaQuotes Software Corp. Link := http://www.metaquotes.ru Notes := Separate Window := No First Color := Blue First Draw Type := Symbol First Symbol := 217 Use Second Data := No Second Color := Red Second Draw...
I have to admit that MT3/MT4 are by far the best trading platforms I have ever tried. Too bad never got involved earlier, but it is never too late. If it is not too much to ask, do you think in the future MT4's, it could also support P&F charting, including indicators to allow us to see when...
double arr[]; arr[1]=22.0; Print ("array.... ", DoubleToStr(arr[1],4),">>>",arr[1]); arr[1]=22.0+1.5; Print ("array.... ", DoubleToStr(arr[1],4),">>>",arr[1]); results in log file are: 21:09:17 test2 GBPUSD,M1: array.... 0.0000>>>0 21:09:17 test2 GBPUSD,M1: array.... 0...
There's seems to be an error with in way that the Open Account dialog appears. I'm not saying that there's nothing wrong with it, it's just in terms of why it &quot;should&quot; appear. The problem is that it's appearing automatically when there's (no connection). The only reason, in my opinion,...
Dear all, I am using FxDirectDealer is based on MT3. My expert advisor want to close the buy trade at the specific open price. 1. Does the CloseOrde have a return value on MT3? So we could know if the open order has been closed or not? 2. Can we CloseOrder with current market price? 3. If we...
Hi All, I like the MetaTrader platform and have some ideas I want to program in, custom indicators and so on. Is MQL4 conceptually similar to other languages? I'm not a programmer, though I learned enough to do what I wanted to in MetaStock, but the MetaStock language is a lot different than the...