Download MetaTrader 5

MQL4 and MetaTrader 4 - page 840

To post a new topic, please log in or register
Is there any way to open 10 or more workspaces in MetaTrader . I want to open a workspace to each cuurency ..
anyone out there willing to write me an indicator? I would be willing to pay as long as the cost is reasonable. Contact me via msg on here or at forexman05 at yahoo dot com and I will elaborate on the details of the indicator. this is something that helped me make 30% last month (traded manually) on...
(I posted this a few days ago but it seems to have disappeared). Does anyone know the formula used to generate the Y axis when taking a screenshot? For example, if I take a screenshot of the past n bars, it set the Y axis based on the price range. What it seems to do is take the minimum and maximum...
Hello, I have a problem with my scripts they dont work with GFC markets and Alpari they do work with other MetaTrader brokers First my custom indicators didnt work also, i installed MetaTrader in C:\ insted of C:\ programfolder after that my customindicators worked ok The problem is not 4/5...
Here’s a trade that i’m in since last week. Forex Trading Pair: Gbp Jpy As seen in the chart above, a pin bar in the highlighted blue box was formed. It was a nice pin bar, with a nice long nose. It is also in confluence with the price pivot as shown in the orange line at 130.299 in the chart. As...
Dear All i try to find an indicator draw chart patterns on the chart ( double top,triple top, head and shoulders,.....etc) i searched the net but didnot find that free indicator, Any help will be apprechieated Regards Ahmed
  Non-static Take Profit (14   1 2)
Hi, I would like to know if the function OrderSend accepts inside the field "Take Profit" a variable value. For example: I want to close a buy order if price is greater than a moving average. I did like this: I read that in an EA the function IndicatorCounted() is not allowed but I must do a...
OS is Windows Server 2008 Datacenter, 64 bit. There is an error appearing after liveupdate starts to update to 226:  Runtime error 2 at 0x100010AC 0x100010AC 0x004588B5 0x0046431E   Full report after Ok: There has been a critical error Time : 2010.10.21 17:50 Program : Client Terminal...
If anyone is familiar with Command Center from TDA, they have a borderless function, where the outline of the program disappears, and the windows are freely movable. They don't have to reside inside of the program outer shell. Is this possible for MT4...I want the normal program on another monitor...
Hello, I'm a newbie in MQL4, and a quite bad developper in other languages ;-) I have to fill an array with the datas of the financials announcements. The only way i found is that : Evenement[0][0]="2010.09.21 18:15"; Evenement[0][1]="USD"; Evenement[0][2]="Déclaration de la FOMC";...
can i define a C++ Struct in MQL4? i typed in "struct" to see if it gets highlighted like int, double, etc, but it doesn't seem to exist. Is there anything equivalent?
Hi I have a problem loading a .dll I've written to connect MetaTrader to Matlab. Error is 126 "cannot load library". I've been trying to solve this since a week now and tried quite a lot: Reference is: https://www.mql5.com/en/articles/1567 I'm using Visual C++ 2010. For learning reasons I've...
Hello, Highest function is very easy to understand. However I often got strange results from it. Below is simple indicator I want to build. It should plot arrows atHighest bar, Period 100. However indicator plots also on bars who doesnot match this criteria. Why ? Thanks, Edas...
Anybody know how to code delete all object arrows for the last month but keep all arrows for the current month.
Dear friends: When I run my simple EA, "2010.10.21 16:45:43 '1621166619': trading by experts is prohibited " is printed in log. Can you help me to sovle it? Thank you very in advance. My EA code is the following: //---- input parameters extern double MyLots=0.1; extern double...
I want to make a strategy with high return compilation of 3 different setups for 3 different trading currencies: EURUSD, AUDUSD, NZDUSD. The system lets ONE trading currency using margin which is not used by other two.This is so as to enable the system generate generate 50-70% per month or more....
Hi all: I got a problem about the function ObjectGetValueByShift(…). The price value I got from it is the current price, not the one on the regression line I expected. In other words, I always got Close[0] from ObjectGetValueByShift(“ObjName”, 0). I was disturbed by this problem for several days…....
I'm trying to write a custom indicator usually i press F5 and it compiles and I see the changes immediately on the live chart except for any changes in init() I'm using arrows which are sized in init() like so int init() int size = 4; SetIndexBuffer(2, signalUP); SetIndexStyle(2,DRAW_ARROW...
Hi, I am using Alpari and when my EA wants to Close an open Order I get the message: "invalid price 1.32819000 for OrderClose function" my function call is: OrderClose(OrderTicket(),OrderLots(),Bid,2,White); What is going wrong?
Hi everyone, (PLEASE HELP ME if u manage to figure out, thanks) i have been backtesting a simple program but i did not encounter any problem. Suprisingly, things go weird when i use the same program & running on a forward demo test which i keep on encounter "Error occured 130" i realised that these...
  Help with EA (5)
I have written the following code to test a simple strategy. However, the trades shown are nowhere near what I want. Can anyone tell me what I'm doing wrong? //---- input parametersextern int EntryBars = 17;extern int EffRatioLength1 = 10;extern int FastAvgLength1 = 7;extern int SlowAvgLength1 =...
I'm trying to create an EA based on change in direction of a moving average. ActuallyI have written the code, but it doesn't trade when I backtest it. It should createa BUY when the MA changes direction from negative to positive and a SELL when itchanges from positive to negative. It should also...
  Error 4202 (2)
Hello, I wonder if anyone can assist, I keep getting an error message 4202, object does not exist, when I try to draw a trendline. The trendline is drawn but for some reason I cant understand it gives me an error.              ObjectCreate("Trough_Div-"+BullDivCount,OBJ_TREND,0,Prev_Trough_Time...
Hello to everyone, The complete code was working. Compiled with buys/sells. Not that it was profitable. Just adding more steps. When I attempted to add on TakeProfitBuy = 50; the Buy trade will now not close. Could I have some input please. void CheckForClose()  {   double ma0;...
I think there was a crash on MQL4.com servers, a lot of files by trying to download, return the answer "404 page not found" someone ?
Hi, Today i tryed to programm a indicator which draws trendline. the idea is following: use all fraktals in the past 200 bars and the trendline is that one which is toucht by the most fraktals. here is the code:...
am looking for an indicator which show the previous day high/low and give alert when the current day price touchs the previous day high or low.. can any one help plaese..????
Does anyone know how to change the color of the price bars? I have an indicator written for another platform that changes the color of the price bars based on a change in perceived trend. Thank you.
i have to use SQRT function in my EA .but i add #include "math.h" to the ea,it remind me "math.h" ---cannot open the program file . how to resolve it ? thanks .