MQL4 and MetaTrader 4 - page 1647

I wish to identify a daily price bar that has a range of say, 100 pips i.e. I'monly interested in painting the bar if it's daily range is 100 pips. How do I do this? Can some expert in this forum please help? Many thanks.
On the website of the Automated Trading Championship 2007, an Interview with Roman Zamozhniy (Rich) has been published. Roman Zamozhniy, known as Rich was the Winner of the AutomatedTrading Championship 2006. Regardless his winning in the last-year Championship,Roman completely redesigned his...
[Deleted]
How do I use the offline chart I created when backtesting an EA?
It seems that many same questions surface regularly. Would maintainers of this forumcreate and collect such FAQs so that new comers should read the FAQ first beforeposting their questions? One of such questions is: Q: I want my indicator executed once for every bar, not for every tick arrival.How...
[Deleted]
When I try to modify an order using OrderModify, it is not working when I use a variable as a parameter. How can I do this. Please help Thanks in advance.
  Newdigital's EAs  (10)
Hi new digital, I've seen you have implemented lots of EAs and I wanted to ask you if you could tell us which ones you like, which ones are giving the best results, which ones are more secure, ... Only a small summary. I don't ask for all the statements ;-) Actually I'm testing Predator. It's a...
[Deleted]
i'm looking for something like this order select(highestopenprice,....); if (ask>OrderOpenPrice).....
[Deleted]
Do I have to install the MetaTrader Terminal in a different directory for each account and launch each terminal with it's own expert advisor , or is it possible for EA to switch easyly from one account to an other on the same terminal ? what do you recommand ? thanks
[Deleted]
  Run EA every few seconds  (16   1 2)
I find that running an EA on every tick would be very "noisy". Is therea way to run an EA every n seconds? Does anyone have the code? Thanks in advance, Ed
I have several demo accounts that have expired and I would like to remove them fromthe list of accounts. Do you know how to do that? Thanks
[Deleted]
For all you hot shot EA programmers: I work full-time and I want to test my EA over the weekend when the market is close,how do I do that? Thanks in advance, Y
[Deleted]
Hello all, I am trying to close opened order at the next day end. ie. suppose open order at17/7, then will close it at 18/7 day end or when touch stoploss. Can anyone help me withthis coding? It stucks me a few days. Thank a Lot!! Nick
[Deleted]
Hi, I have a system (EA) that I want to trade live but I don't want to sit in frontof the screen and do this whole stuff manually. The system needs to be optimized after each trade and continue the automatic tradingwith new values. I heard WinExec or some other DLL call might be able to do this...
[Deleted]
for example. i want the program to search history and if there is no trade withingthe last 6 hours then run the script. help please?
Hello Traders I'd like to change the color of a custom indicator ( MACD) like this : if the current MACD >Previous MACD : the color is green if the current MACD < Previous MACD : the color is red if the current signal> Previous signal : the color is green if the current MACD < Previous signal : the...
[Deleted]
How can I find the highest or lowest value after a specified time. Please help.......
Gidday I am not a coder by any stretch of the imagination but you have to start somewhere. Could someone please look over the code and point out where I have gone wrong. extern double Lots = 0.1; extern double MaximumRisk = 0.05; extern double DecreaseFactor = 0; extern string i3="DeltaStop";...
[Deleted]
When I try to Print the OrderOpenTime, it is displaying a 10 digit number which is not at all related to date. How canI convert this to real Date and time. Please help...thanks in advance. if(OrderSelect(OrderSymbol(), SELECT_BY_POS)==true) Print("open time for the order ",OrderOpenTime());...
Sending Trading Signals in a Universal Expert Advisor The article describes different ways of sending trading signals from a signal programunit of a universal Expert Advisor into the positions and orders controlling unit.It dwells on serial and parallel interfaces....
A new article by dmitriy, Interaction between MT 4 and Matlab via CSV Files, has been translated and published. Abstract: "Engineering system Matlab's computational power is known to be considerablysuperior to that of any programming language including MQL. Wide range of mathematicalfunctions...
[Deleted]
i made this EA for modify TP when all position will make a certain profit, but it looks like there is a delay from the system to the EA so on a fast marketthe TP changes all the time because of a wrong data it receive from the market.
On the Automated Trading Championship 2007 website, article "List of Symbols Is Reduced" has been published. Unfortunately, the list of symbols will be reduced from 23to 12 on technical grounds. Now, this list is absolutely the same as that of theAutomated Trading Championship 2006. The full text of...
[Deleted]
dear elite technical coders is it possible to make an EA that at a set time runs the MT4 optimimizer and updates the EA parameters with optimized new ones? yes? no? also if it is possible pointers would be greatly appreciated. i am a new programmer but i am quickly learning. thanks
I started a contest Demo and I get this message in Journal. 2007.07.16 14:58:41 '449118': trading attempt in the investor mode I used the Demo password. Account number: xxxxxxxx Server address: demo.metaquotes.net:443 Master password: xxxxxxx Demo password: xxxxxx Please advise corrective action....
[Deleted]
Is it possible to display the value of a variable as a label inside graph. Please help. Thank you in advance.
[Deleted]
I'm not able to store values in a variable received via iCustom (of same data type). Is this not supported?
Can someone help me here please? I have some flags set in my EA which need to becleared every time an order is closed. But I don't know how to catch the signalwhen an order is closed by system, not my EA. Anyone had the same experience? Thanks, Tiger
Does anyone have a report template or other method to report total time that orderswere open? In Statement, DetailedStatement and StrategyTesterReport, it would beuseful to scan a report that has a column that shows the total time that orderswere open. Thanking yoiu in advance, Wackena
Can anyone point me in the right direction? I have been successfully hedging currenciesfor a while now, but because most of the action happens in the middle of the night(I live in Australia) I am not able to close out positions when overall profitreaches a certain level. I tried to find an EA in...
I reinstalled MetaTrader and i don`t have all pairs available like they were before,GBP/USD is missing ,I can only open it when I press profiles and then it`s blank,nothing is on the chart,what shall I do?Thanks