MQL4 and MetaTrader 4 - page 1231

  Time alert  (1)
Hi all, I would like to get an alert at a specific time (user defined). Could anyone kindly write this simple code .. :) Cheers
I have a grid indicator I wrote, I want to see the prices of each line on the chart itself, not on the right with the other prices. Is there a way to anchor it to the X-axis so it's in a fixed position on the right side of the chart that allows the text to move up and down with the lines on the...
[Deleted]
kon nichi wa! does anyone know if MT4 can create a chart with reversed x/y axis? for example, x axis is time frame and y axis is price so by reversing it, x axis will be price and y axis will be time. ultimately what i am thinking about making is x axis as tick increment quantity and y axis as time...
[Deleted]
I'm new user and need help and best way to setup range bars, and also put Woodie's indidators on. Also appreciate any suggestions ref. the same - Thanks
Hi, Is it possible to change chart color in MetaTrader 4 ? For example, is Macd > 0, color Green is Macd < 0, color Red Thanks
  Arrays for chart objects!  (12   1 2)
Hi All, Can anybody fathom this one? I want to assign a particular variable obtained from a chart to an array diff[]. In the code below symb[] has already been assigned at a global level. I then want to place the calculated value i.e diffx on to some chart space to use as an indicator. This code...
[Deleted]
I have an indicator that i called New1S and im running it on ICustom it has 3 input parameters double,String, Int and i need it to buy when signal up and sell when signal down, it looks like a pivot point with arrows, i tried back testing it and it only makes one trade but in the middle of both
[Deleted]
I am NOT new to Forex, but I am new to MQL4. I succesfully programmed my EA but when it comes to OrderSend I keep receiving Error 130. I read some other posts here that maybe it's a problem with the Bid Function, so I hardcoded the values (looking in the real charts) to see what hapen, and YET not...
  Price + EMA  (1)
Hi all, I suppose what I need already exist but I could not find it. I need just need to know the code to detect when the price cross an EMA (in my case EMA's 62, 200 and 800). Thanks a lot in advance!
  Text message  (2)
Hello, Does anyone knows how to print a text message above an horizontal line (For example: Like the one above the pending orders with the order number)?
[Deleted]
also this message - optimization stopped, x cache records were used, x cache records rejected what exactly does this mean and how do I get around it? Thanks
Is it just me, or do most avatar images show up as 'broken image links'? I am using Chrome, but it seems to happen in IE as well here.
Some brokers do not support all pair currencies, is it possible to add missing ones to load historical datas within metatrader and possibly programmatically ?
  That's interesting  (280   1 2 3 4 5 ... 27 28)
Colleagues, I found what I think is a very interesting material. The author is Simon E. Shnol (March 21, 1930, Moscow) - Soviet and Russian biophysicist, historian of Soviet and Russian science. Professor at the Department of Biophysics, Faculty of Physics, Moscow State University, former head of
[Deleted]
Ok, I know this sounds like a silly question, but what is the best method to export an EA and send to another user? I had copied my MQL code into an .mq4 file and emailed it to the guy, but he seems to have problems viewing the parameters in MT4. Did I do something wrong? is .mq4 supposed to be
I built an indicator that shows +1 when stochastic is above +80 and shows -1 whent it's below +20. I would like to biult one other indicator which sum +1 for each time the stochastic remains above +80 and sum -1 for each time the stochastic still below 20. I know that I need to do a Looping, but I
  Signals Ceased  (1)
Just an odd question if I may, any idea where I can buy Stochastic giving me a signal (sound) My problem is patients, I have none, so I need a signal system, I can then check, enter or not, then leave alone. With the Trade Builders Stoch ( I like the Stoch) the signal comes to early, running down
[Deleted]
I'm using the comments to know if an order has been closed by TakeProfit or StopLoss... I've realized than in MIG BANK ( real accounts ) they have removed the tag "[tp]" or "[sl]" in the orders... my EAs are working in the demo account but not in the real cause they have removed the tag... I'm
[Deleted]
  Margin issue  (2)
Hi all, I am a new beginner with MT4 EA and hope to get some helps in resolving a problem. Thanks. I was approached by my broker that my MT4 margin is calculated wrongly for those non-USD based pairs. Eg : if buy/sell USDJPY 1 mini lot, the margin shown is 200USD (which is correct) but when buy/sell...
  stocks and forex  (1)
Hello All, I'm trying to find a broker and a metatrader plataform to install with the following: Ethanol Aluminium Crude GAS EURUSD EURGBP GBPUSD EURPLN and Hot Rolled Coil is nice to have But I'm not getting any. If is not possible to find a broker to negociate all this at least explain me how to...
How do I get the instantaneous volume of the current minute bar? I tried Volume[0], but it appears that the values are being sampled discretely.
This is the code that I am using in creating dll with VC++ . My function DataCollection1(). shall return 2 variables stored in a array DataCollection1Return[2]. MT4_EXPFUNC double __stdcall DataCollection1(int Var1, double Var2, double Var3) { if (some condition) { if(Some condition)...
[Deleted]
Is there any way by which we can increase the lot size of an existing order without having to place a new order each time?????
Has anyone ever experience this ? I've search the forum for viruses nothing resembles came up. I left my old PC without antivirus when connecting this past month. Some viruses & trojans are listed when I installed some local antivirus. 'W32 Sality ad', 'pedopa', 'ilwe' are among what I suspect is...
[Deleted]
Hi all, I think I may have found a wee bug with OrderSendReliable2Step. I'm hoping the author reads this forum and sees this post. It would appear that I'm using v3.1 (I have no idea if this is the latest or not). What happened was: my EA issued a sell stop order on AUDJPY to sell 0.23 lots at 81...
[Deleted]
i tried using SetIndexBuffer so as to use the pivot level but my EA cant find it using the iCustom, cant sombody please help me out?
Hi Guys, Does anybody know if it is possible to display EA variables in the Data Window in MT4? This would be unbelievably useful but looking through through the documentation it looks like only MT4 coded tools (indicators etc;) can only be displayed! thanks
[Deleted]
  modify script  (3)
I have this code: /*----------------------------------------------------------------| // Indicator Export Expert v1, by juanchoc & neo | //----------------------------------------------------------------| // | //...
[Deleted]
any reason why the following code would print out the same value for iBullsPower and iBearsPower in the following code? - bool newBar = false;int start()  {    newBar();   if (newBar == false) return;     double bullsPwr = iBullsPower(Symbol(), PERIOD_M15, 13, PRICE_CLOSE, 0);   double bearsPwr =...
[Deleted]
I have an EA and i want to test it with the optimization, is the optimization any good?