MQL4 and MetaTrader 4 - page 878

To post a new topic, please log in or register
Does it depend on which broker you have? Instead I have to set the limit and stop parameters with the Ordermodify-method, why?: OrderSend(Symbol(),OP_SELL,0.1,Bid,3,0,0,"",MAGICMA,0,Blue); OrderSelect(0,SELECT_BY_POS,MODE_TRADES); OrderModify(OrderTicket(),OrderOpenPrice()...
Is there a way to close a BUYSTOP or SELLSTOP via EA? If yes may someone please provide an example? Thank you.
Hi, I am running MT4 on windows 7 with multiple monitor set-up (2x2 arrangement). I normally have the weekly, daily, 4-hour & 1-hour charts of a currency pair opened on each monitor. A strange behavior I notice is that I am unable to change the color of any draw tool lines drawn on the 2 upper...
Hi, Can someone help me and make me a little indicator for MetaTrader 4. Itried to make anindicator that showsan arrow atthe intersection of parameter. Exactlythe same as thistool, anyone know? Thankyou very much. (ps: Sorry for my poor english) *Hereis the link ofthe tool i want in MetaTrader. http...
Hello, I have a manual trading system. I need a coder who can make the system send emails whenever certain parameters play out. anyone who can do it plz contact me: wiz3@live.com. Looking forward to seeing you soon.
Hello: Below you have my start function. The problem I am having with this Custom Indicator is that It apparently doesnt process in all the chart´s bars, but only in some bars before the present. It just tries to know if price is above, below or inbetween ichimoku cloud. If it is below it returns 20...
Hi everybody....I'm newbie in forex trading...anybody can help me. I cant access the real account.how to setting the terminal window.Thanks
Hi, I am rather new to MT4 and I would appreciate any help with the following: I want to create a Close Location Value (CLV) Indicator . I want to access this indicator from a MT4 script by calling it as any other indicator such as iRSI or iMACD. In other words, call "iCLV" with input parameters...
I have received great feedback from this forum before, so I was hoping you guys could help me out again: I need to create a program in MT4 that would export to .csv,and ideally email, the pivot points (standard HLC) for each day on multiple currency pairs. I know MT4 has this capability, but I've...
Hi I am having a problem getting control over my MetaTrader platform. I got an indicator that a friend asked me to try to look at. Since I loaded it on the chart yesterday it seems to use all the CPU so that MetaTrader is effectively disabled. There seems to be no way to unload it. If you close...
Upto yesterday 11jul, ME working a-ok. Today, on starting do: Ctrl-H > fill in 'Find what' and 'Replace with' > tick 'Match whole word' and 'Match case' > click 'Replace All' btn. Nothing special, done all the time. It does as requested then freezes with the hour glass cursor; the Replace form still...
I've seen a few posts on this, but none of the responses work for me. Lot of gaps, but let's stick with one...missing daily EURUSD data from Apr 7 2009 thru Jul 3 2011 (just over 2 years). I go to History Center (under Tools), hi-lite EURUSD and hit Download. Most of the data appears in this window...
Hi all, I found this EA and I started to use it in my mt4 demo account. The problem is that it does not trade with less than 0.1 lot. Can any one explain how to modify the EA in order to trade with less than 0.1 lots? Thanks
All - I am using CitiFX Pro (an ECN broker) with 5 digits. According to a post WHRoeder, I must send out a successful order first and then set my SL/TP. Is there any sample code that does this? I Keep getting an error code 130 when I set the SL/TP with the OrderSend() function. I would...
when I tried to setup email alert, after I entered all info, and pressed the test button. I message appeared on the journal " Message failed, issue a STARTTLS commend first ", can anyone help ??
Hi there I am new to MQL4 and MetaTrader which I really like. I am looking for any code samples of calculating the mean of set of prices within MQL4? I found this for a median. https://www.mql5.com/en/code/7819 Does anything like this exist for calculating the statistical mean similar to this?...
Rating: NuB I'm trying to figure out a way how I can get an EA to stop opening more trades if it gets number of consecutive losses until it has closed a specified number of profitable trades in a rowagain. This applies to the account and not just a specific pair. I've noted that this occurs in...
hola. can some one help me i have an array with 10 price and i wanna compare in all tick the price withe an externe price. array=1.575 1.625 1.58 1.62 1.585 1.615 1.59 1.61 1.595 and the price is XXXXX and in a time if the XXXX not equal to a price for the array then open a...
  object list (3)
When I'm tring to open the object list the metatrader is freezing, and I cant close it normally. What can I do? I tryed to delete it and install again. thanks, yaniv.
Hello, does anybody like my EA it buy when market fall, it sell when market rise.
Is there any way to change the duration that the terminal will wait before it times out with ERR_TRADE_TIMEOUT error status? That duration is extremely long, 3 minutes and 18 seconds, according to another thread in this forum. This is far too long, especially if it keeps the Trade Context jammed all...
Does MQL4 provide something like a "break;" in a loop?
các bạn có thể hướng dẫn giúp mình viết một con robot đơn giản được không.
Hi i am from india. Is it possible to start a charting service using the MT4........... As to start this as a business and to provide to the customer.... for this what should i do........???? What is the cost of this business ......... regards, Gan
Hi, I've written a c++ dll which serves my commercial MT4 EAs indicators and scripts. I want to be able to get the name of the caller EA, indicator or script, inside of the dll and without passing it as a parameter (security and IP protection issues). Is it possible to do? Any workaround? Any help...
I'm trying to use this code someone else published to automate e-mails to myself with order data after a SL or TP is hit. However, when I get the e-mail, it looks like this... EURUSD OpenTime: 1970.01.01 00:00 Close Time: 1970.01.01 00:00 Order Type BUY Open 0.0000 Close...
Hi, I come fron another platform and language, so I am new in MQL4. This is a really simple version of the RAVI indicator. It is giving me some error when I try to load it in the chart. I would appreciate if someone could fix it for me, so I could learn the right procedure. The indi is only a Line...
Hello every one, I am in need of MTF stochastic signal indicator. The stochastic lines are not necessary, only buy and sell arrows on the price at the point of crossing, with MTF option. i have looked for it every were but can not find it. I am hoping that someone can help me create it. Thanks for...
hi, I'm passing a 2d array to a c++ dll. To simplify the example the will speak about RateInfo serries obtain by calling ArrayCopyRates. Then i extract only one serrie in a simple array: double h2[6]; and i use setprecision(10) for the "ctm" (time) value, all is ok. But if i pass a 2d array some...