Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1169

To post a new topic, please log in or register
Hi all I'm trying to get the close time (or open time) of the last closed bar (in 30m graph) I'm using the iTIME function and it doesnt work : if (iTime( NULL, PERIOD_M30, 1) = H'01:30') ....... any other way to get this information ?? thank you
Hello, I use the 1 min Chart in Strategietestermodus to calculate bigger timeframes,but at the start from the run there are not enough Bars in the chart, in the 1min history are datas till 2004 and when I start a test betwen 2006 and 2007 Iwant to have all historyvalues to get, can I set that the...
The website will be transferred to a new server on the 15th of January. This may cause some service troubles on the website. Please have our apologies for possible inconveniences.
Attempting to display real time drawdown on chart account. To confirm is Maximum Drawdown the highest point in Equity to the lowest point inEquity as a percentage? What would be the correct formula?
Greetings, The MT4 chart scales automatically if in the chart properties window both boxes ‘Scale fix One to One’ and‘Scale fix’ are not check marked. Placing the object on the chart with vertical position determined by fixedprice will cause object to move in vertically not only by price movement,...
[ deleted] By joining the team at Emerging Growth Alert you will be in position to receive stock alerts profiling stocks about to move or already in motion. Our alerts are sent in time for you to research, investigate and make a decision about whether this opportunity is right for you. You will not...
On the version I downloaded to my desktop there are a few stocks that i can watch,but i can't figure out how to add others. Can some one help?? THanks!! -dd
The script read the statement and show closed transactions on the chart. Last deals with EURUSD of champion expert from Better:
HI, Does anybody know or have an EA for the Impact Trading System or the Trend Forex System or know anybody who can program them for me. Regards Warren
  Tick charts (3)
Is it planned to get real tick charts in MT4? I mean in a window like the one you get for M1, H1... and were you can apply indicators. I understand that storing the history of tichs would be too heavy but at least theticks might be collected from the time we open the graph. That is really something...
  HELP!! (1)
I am a newbie and I have been trying to place orders since yesterday and it keepstelling me "Trade is disabled". What does that mean? What am I doingwrong? I have been placing orders since I opened the demo account about 4 daysago without any problems until now. Thank you. Diana
Why the alert return value from fasterMAnow but fasterMAprevious returns 0? i menthe problem is in the MA and MAMode stuff, but what is the problem? #property copyright "" #property link "" //---- input parameters extern double TakeProfit = 25; extern double Lots = 0.01; extern double...
Is there a way to set the parameters of a custom indicator from an Expert? I triediCustom, but can't find a way to set the parameters of the indicator before callingit.
Hi, I am not sure if the code below is correct. please help to correct it. thanks it suppose to fire an alarm when I have an inside bar once the current bar is finished. #property copyright "Copyright © 2007, MetaQuotes Software Corp." #property link "http://www.metaquotes.net" #property...
sorry for the newbie question I have written a couple of basic EA's and am looking at refining them, but eachtime I make a change I have to just test it using real-time charts to see if itdoes what I want it to and to see if it works to make money (never does :( ) Is there a way I can backtest an EA...
Lets say i have 10 orders Magic Numbers are 1001 1002 1001 1003 1001 1004 1003 1002 1005 1004 i would like to see the result like this 1001 1002 1003 1004 1005 Just want to check if it's possible or not? Thanks in advance
I use daily chart and EMA crossover system. Sometime, after crossover happened andEA open trade, EMA changed route and by the end of the day, the crossover is cancelledout. But I have an open losing trade. I try to make my EA to check EMAs of thebar where it open trade five days afterward. Here's...
I have a problem with the back tester hogging giga bytes of virtual memory. I havenarrowed the cause down to custom indicators being called from experts. If an iCustomcall is made the my EA just starts absorbing virtual memory and MT4 will not releasethe memory until MT4 is shut down. Has anyone...
  EMA on Close (4)
I'm writing an EA based on EMA crossover. I want it to calculate EMA only on today'sclose, so if "buy" or "sell" signal occured, it trades by tomorrow'sopen. Please help. Thank you.
  Time Digits (4)
Working on a Market Hours Indicator and run into a simple but annoying problem.Example... New York time is 12:05 however when displaying on the chart, 12:5 is displayed. How does one make sure hours, minutes and seconds always display with 2 Digits.12:05:05 Thanks!
I wrote an EA that works fine in backtest with one broker but failed with otherbroker. The failure is not because of different result of trading, since the differencewas minimal, except one. The other broker always has my trade stop-out. Funny thingis, i wasn't supposed to loose that much. There's...
I just mentioned that EA's that were submitted to championship are still not removedfrom the website. Everybody who submitted their EA can login on the ATC 2007 site and see all filesin your profile It looks like Metaquotes is breaking their own rules: VI. Experts' Codes Safety and Non-Disclosure...
Hi, I'm trying to undestand the x1,x2,x3,x4 y1,y2,y3,y4 and z1,z2,z3,z4 inputs. These values are supposed to be applied do the indicators in the expert. AC,RSIand CCI indicators. with the standard values, the expert only opens BUY positions, and to manage toopen SELL positions I have to lower all...
Hello I have a code which puts up some vertical lines on the turning points in a chart. It works good in all time framesexcept in the H1. I just can’t understand why, any ideas please. Thanks
We continuously work on improving the MQL4.community website to make it even moreuser-friendly: The visitors of our website have long been enjoying "similar topics" that choose the nearest message “on the fly”, which allows them to locate replies to the broached subjectsassociatively. To...
H1 Chart Cannot Move Back 4 Me Plz Help Plz Help It's Stopped on Year 2004
In the OrderClose function you are able to define a lot size, then you would hopeto only partially close the orders as it works for manual orders. But it doesn't work. The order is closed only if the lot size is the total lot size(then why to have this extra parameter) So the solution is usually...
Hello, I'm trying to read values from a indicator, I need the current value and the "Current-1"value. I dont really understant the syntax of the command, let say iRSI(NULL,0,14,PRICE_CLOSE,0) is the value from the current tick? and to read the "current -1" isiRSI(NULL, 0,14,PRICE_CLOSE,1) ? I've...
I am trying to create an expert that imports an external DLL to connect to PostgreSQLor MS SQL Server Express. I found a library from SQLAPI++ that allows one to connect to any database; however,I can't get it to compile for the life of me. Can someone help me with the syntax (its currently more C++...
Hi, I have to add a trigger on a relationship from business. I can do it with the Businessmodule of Ematrix. Can anybody help me to do the same through an MQL query?
1...116211631164116511661167116811691170117111721173117411751176...1250