MQL4 and MetaTrader 4 - page 1414

Hi guys, Any idea how one can draw a horizontal line (ideally a trendline (so that I can switch "Ray" function off) at the current level of EMA? I need that line to be redrawn automatically when EMA changes its position. MANY THANKS!!!
[Deleted]
An indicator is being developed to show daily bars for multi-currencies in a separate window on the chart. The time and value2 are being output in the form of label definition on a multi-currency historical statistics window. Value2 is ouputting relevent information while Time value is displaying...
  8hr chart  (1)
Is there anyway to get an 8hr chart in MetaTrader?
[Deleted]
Hi, i want to asked, is this ordermodify for TP is correct? why sometimes it mod, and some times it doesn't mod? if (PosB20()==2 && PosB20_Mode(OP_BUY)==2){ for (int ModB20=0;ModB20<OrdersTotal();ModB2 0++){ OrderSelect(ModB20,SELECT_BY_POS); if (OrderMagicNumber()==Magic_Number_B +20){...
[Deleted]
Hey Phy, I'm using iCustom on the ADX indicator to get the values for bar[1] and bar[2] and the values that I get differs from what the chart shows. Any ideas what's going on? ADXCurr = iCustom(NULL, 0, "ADX", 14, 0, 1); ADXPrev = iCustom(NULL, 0, "ADX, 14, 0,...
-
Hello all! Can somebody help me? I just learn to work with MT4. I think it will need a while... :-) I need a very simple indicator: ((sum of close of n candles divided by n) -1) * 100 "n" must be possible to change. The output should be a line in a seperated window with two more fixed lines at +1...
Does anyone have or can create a EA that sends signals to a database of individuals once I place a trade in my account, giving them order details? Thanks in advance
[Deleted]
I have looked into the documentation. I have looked through the forum. I am looking to generate a candle expert adviser and need a little bit of help. My Inputs are as follows: Lot Size: Determines initial trade size. Example: 0.5 – EA initiates two positions at 0.5 lots each Tail Height %:...
Hi, I ran a strategy simulation and all orders with Order ticket numbers prior to 72 are not logged in the Journal and I'm not sure why (see screenshots). Here's the start of the Tester Journal... Next, the Journal shows the first successfully opened order as Order ticket number 72. This happens to...
[Deleted]
  Last CandleSticks  (11   1 2)
Hi Guys, I am using the MetaTrader APi, i have been looking for an object or a function to get the last finalized candle stick ( the last one before the live one ). any suggestions ? Thanks in Advance.
[Deleted]
I NEED AN ATS DEVELOPER FOR META TRADER PLEASE CONTACT ME FOR THE SAME RGDS SARAVANAN autopilot456@gmail.com
[Deleted]
hi everyone, ive just opened a acount with one financial as i was recomended them by a friend because they are doing a special promotion at the moment. i have noticed on forum that knowone talks about them, is this something i should worry about ?
  Ticks issue  (2)
I know that EA's are executed every tick. However, let me build this scenario for you: 1)I have one EA in one MT4 but it's receiving info on real time from outside. 2)Let's suppose that every tick arrives every 10 seconds, but the info from outside is available every 2 seconds. I will miss 5 pieces...
Please Could Anybody help me explain how I could access the moving average values of the external variables MA1 & MA2. I need to compare the 2 values in code. Please find attached the screen shot of the indicator as well as the code for the indicator
Hi Everyone, I am looking for people who need to have indicators/experts coded inMQL4. I can offer my services for free as I would like to improve myMQL4 coding skills. As they say, practice makes perfect. Please email your specs to soniabvc@yahoo.com FREE OF CHARGE!
[Deleted]
Basically when I come home from work my computer has gone into hibernate mode and when I open my mt4 window the trades have disappeared. Luckly I am trading a demo account and have not lost any real money.
[Deleted]
Hello, My problem is very simple and stupid: how to send multiple files (mq4) from theforum in response to another member ?
[Deleted]
Hi, I'm trying to extract two values within my e.a but I fail.Let me explain; First value is obtained by iCustom function= A (for example 1.9749) Second value is obtained by iClose function=B ( for exampe 1.9700) Result = C C= A-B; Result is always" 0" When I try this operation by random numbers,...
extern int ma1period=5;extern int ma1method=1;extern int ma1tf=0;extern int ma2period=5;extern int ma2method=1;extern int ma2tf=10080;extern double lots=1;int init(){}int deinit(){}double CMA (int tf,int period, int shift, int method)   {      double MA=iMA(NULL,tf,period,0,method,0...
[Deleted]
I have tried and tried but can not figure this out so hopefully someone can see the tree through the forest here. I want to program an EA to use either it's programmed settings or else use an external *.set file. So if: extern bool UseExternSet = true; it will use the settings in the external set...
[Deleted]
  Week number  (1)
Hi, I'm struggling with the following problem : I'm trying to program an EA to be able to know which week we are in (value of 1 to 52) and to set a maximal risk for the week based on the equity at the start of the week. Since there is no functions in MQL4 allowing me to do that, I don't know how to...
[Deleted]
If i had an Open Buy with SL is 150, how to make Open Sell based on that Open Buy when "floating Lost" reach 15? So first Buy doesn't liquid yet, but when reach -15 on profit table, open new Sell. Is there with same idea or higher knowledge can help me? Thank you so much. I love you, you love me, we...
[Deleted]
Hi there, I have this code: int U() { double telo= MathAbs(Open[1]-Close[1]); double knothorni=High[1]-MathMax(Open[1],Close[1]); double knotdolni=-Low[1]+MathMin(Open[1],Close[1]); int res; double otevritza; int expiration=CurTime()+PERIOD_M15*2;...
[Deleted]
i have some problems with an init() function when i test it on EUR/USD it acts like 123<123 is true and when i test it on USD/JPY is acts normal here is the code: #property copyright "" #property link "" extern double levelcount=30; extern int p = 3; double level[20];...
[Deleted]
[URL=http://onix-trade.net/?act=monitoring_stat&xid=12175][IMG]http://www.onix-trade.net/ext/userbar/6871.gif[/IMG][/URL]
Hi all, I'm not able to compile any file, I get this msg, "metalang.exe has encountered a problem and needs to close. We are sorry for the inconvenience." The profile is empty or one chart with no custom indicators on the chart, still the same error. I'm using windows xp pro. Built 225 any...
Hi All, I am going to switch with MT4 testing/optimization from my 2.5 Centrino 2 duo laptop (4gb ram, 7200rpm hdd) to a desktop. What kind of configuration should I choose to boost my performance with testing? Is i7 platform worth going for. I read that i7 quad core processor is actually installing...
[Deleted]
Hallo world! I'm trying to build an ea, it works fine but i'd like to plot on the chart the indicators used without insert manually each time so just for monitoring the right execution. Anyone can give me an hand? Regards Giancarlo
Hello Experts! I wont test expert AIS2TR from SAFIN but richt nothing-whot mien Take Factor=1.7 ?? i wont 25E whot value of Take Factor is that ??? Thanks pansa
[Deleted]
  One Financal  (1)
I’m now with One Financial – all seems pretty stable – fixed spreads, wide product range, plus they are doing an MT4 relaunch offer at 1 pip euro and 10% trading bonus. Will let you know how it goes but would appreciate any comments.