Download MetaTrader 5

MQL4 and MetaTrader 4 - page 922

To post a new topic, please log in or register
Hi! Im trying fix thises progmram below. If someone one can help, please fix it. I want to send an e-mail, when "Strong"message (Line ) comes up. but only once in a candle bar. And e-mail content is example "USD/JPY SHORT" in subject space. thank you for your help. Tak...
Has anyone used Molanis to build an EA? I couldn't find much information about the stop-loss or TP features. Does anyone know if it has support for Break-even stops and Dynamic stops/take profit? I have used the EA creator and its quite good, however Break-even is not fully implemented and it will...
how to find a best mt4 services provider (broker) for trading ? ( which services can be take in consdier ?) aslo if any one know best broker in mt4 as per his expernices ya his serives qualty then pleas mentaion his name
Hi, I'm having difficulties with displaying the Profits value on screen. What is happening at the moment is that when i run my script, the current Profit value is displayed on the graph (using Comment();), but then does not change its value as the Profit value displayed in the table (next to Swap)....
Hi, I'm having problems with one demo account from MIG. My EA (working for several months) today is giving "trade context is busy". After call MIG they admited some problem with metaquotes/demo server. Now i'm trying one ODL demo account (same EA) and I'm having strange problems. In this example,...
Hi, I have a problem since 2 days starting from last sunday when market has been reopened. I have more MIG account live and demo. I use to fine tune my expert advisors on a demo account, before I put them go live. All my stuff EAs and more works fine on live account, but on demo account since last...
I have been beating my head against a wall here and cannot seem to figure out the answer. I have been testing several EAs that work without error in the Strategy Tester. I opened a Demo account to test them live. In the demo, every time an order is supposed to execute, I get that "Error Opening...
Hi All, i am interested in getting customizable time from from 10 seconds to 50 seconds. Anyway to do this in MT4? Any help would be highly appreciated Thanks McGene
what is the proper way to make mt4 download more previous data from the broker ? Some people say just keep scrolling back but this isnt working for me my chart wont scroll back past december 12 2009 it stops right there in every timeframe.
  help needed (4)
pls i would like my EA to be trading between 7p.m to 12p.m but i didnt work the way i expected below is the code used. extern string start="7:00"; extern string finished="12:00"; int start() { if (TimeCurrent()<StrToTime(TimeToStr(TimeCurrent(), TIME_DATE)+"...
please how can i get GMT time becase i want my ea to be trading between 7pm(gmt+1) and 12am(gmt+1) thanks
Hi Guru, I want to make RSI Break Indicator, but i,ve problem abaout mq4 language. Could you show/teach me about it...??? It's the rules: 1. at window RSI 14, we create Support (S) and Ressistance (R)lines. start from S1, S2, ..... for Support (Red Line) & Start fromR1, R2,....for Ressistance...
I have strategies that i use and i have converted it to EA but the problem is having is the news events i am a new baby in code writing .I am looking for a way in which i will makesure that my EA does not place order is the time for the release of the news events is lee than 15minutes. And i...
I was wondering if it is possible for someone to add pop-up & audio alerts and if possible email alerts also to this indicator for me please. I would greatly appreciate this, I have no idea about programming so I need someone assistance on this. Regards, Andrew
  Amazing EA's (7)
Check out these EA's http://www.bestforexresults.com/ Amazing results
I'm working on a statistics indicator that shows the average range of different time frames. If I am looking at the 1hr chart and want to get the total number of bars on the daily chart to calculate the average, how do I do this? "Bars" only tells you how many bars are on the current chart. Any...
I have two indicators RSI(13) and RSI(42). if RSI(13)-RSI(42)>=10 is BUY...etc. How to code a EA do it. thanks a lots
Can anyone tell me why the line of code in Green works, but when I try to multiply X by 0.25 (Red Code) then my order does not get placed? double hh; double ll; double ll2; double X; //---- Set Variables hh=High[iHighest(NULL,0,MODE_HIGH,Entry,0)]; ll=Low[iLowest(NULL,0...
Hello, Yesterday, on a live account and on a demo account (2 different brokers) my EA notified that isConnected() returns false. But price was updated and everything else looks ok. I had to shutdown/restart metatrader to get isConnected() returning true. Is there a bug on isConnected() in build 216...
In one of the articles (https://www.mql5.com/en/articles/1523, I came across this snippet of code... void TimeframeCheck(string Name, int Timeframe)  {//----+   //---- Checking the correctness of Timeframe variable value   if (Timeframe != 1)    if (Timeframe != 5)     if (Timeframe != 15)      if...
Hello Traders, i have here a Scalper EA for EURUSD, you can buy it easy and save way over Shareit.com for just 50 USD, this is the Link: https://secure.shareit.com/shareit/checkout.html?PRODUCT[300388463]=1&DELIVERY[300388463]=EML&languageid=1&stylefrom=300388463&currencies=USD_EUR,USD If you want...
for the second time in a week I have managed to crash (freeze and kill) MT4 and when this happens I lose all objects that were drawn into a chart since it was started. The freeze happens during timeframe switching, something I do in start() seems to run into a deadlock, most often MT4 will timeout...
Hi, I try to get the Data shown in the Data Window, which pops up by pressing "Ctrl + D". I'm especially interested in the Highs, Lows, Close and Open at the current Mouse Position. Thanks in advance!
Hi! I just get started with MQL4 and at them moment I'm trying to access the timeseries. I wanna ask for the High, Low etc. of a specific bar. I do it like this:    int i=1;   int hour_bar=TimeHour(iTime("EURUSD",PERIOD_M1,i));   int min_bar=TimeMinute(iTime("EURUSD",PERIOD_M1,i));   Comment("Last...
Hi, I ren into a problem where the market touched a point, and coused for execution, but failed to send the new quote to the expert start function so I wasn't informed on that quote. Is there a way to overcome this problem? Thanks, Eyal.
Hi, I found that this indicator is very useful & help me in manual trading, and now I would like to make an EA base on this indicator, but since I'm not a good MT programmer, I found some problem in getting some value from this indicator. I need to get a level value from: - Average_Pos_Power -...
New article Research of Statistical Recurrences of Candle Directions is published: Is it possible to predict the behavior of the market for a short upcoming interval of time, based on the recurring tendencies of candle directions, at specific times throughout the day? That is, If such an occurrence...
hi, im writing a ea but dont know how to code this part, what i am trying to do is get a macd signal when the macd Signal sma line crosses the fast ema of the histogram, can some one help me with coding this please. thank you very much
  300% profit in two days (12   1 2)
Hi A simple and powerful strategy Account in two days $ 5,000 into $ 19,000
The Subject covers this: OrderOpenPrice( ) : Is this the Current Price of an Open Trade OR the Price that the Trade was Opened at ?