MQL4 and MetaTrader 4 - page 1277

To post a new topic, please log in or register
On the Automated Trading Championship 2007 website, article "30 Days of Registration" has been published. A month has passed since the registration in Automated TradingChampionship 2007 was opened. Almost 650 people have already applied for participation.This is practically equal to the total amount...
Please see attached picture of output from backtester. You can see the buy orderthat is highlighted. Now check out the demo trade chart. That trade is missing!!!I checked the logs and there were no disconnects or any attempt to place the trade.What is going on?
Hi, when trying to detach a script from a chart I always have to click "Deletefrom Chart" (or whatever) twice so that it gets timed out and deleted. Thesame thing with EAs with loops. Can you guys tell me if and what I am doing wrong? Also, why does it always have to get timed out why not just...
Has anyone implemented the Market Profile Indicator as discussed by James Daltonin his book Mind Over Markets in MQL4?
Hello, When writing .csv file, the delimiter character can be ";" ',' etc. Itwant it to be a tabulation, but when pushing the tab key, it won't compile andgives an error saying "more than one symbol": it is interpreted as severalspaces. How can I tell FileOpen() and other such functions to use...
Good day, For some reason "nb" always equate to zero when i can see my history ashaving some of the current symbol. for(int i=0;i<OrdersTotal();i++) { if( OrderSelect(i,SELECT_BY_POS,MODE_HISTORY)==false ) { Print("Accès refusé à l`historique des transactions:", GetLastError() ); break; } if(...
Yes, I am that new. Please help. If within the Advisor, I need to know if I have a position in the specific pair(Symbol()) how can I get the answer? How do I query my account to see if I am in so I can perform an OrderSelect() so that I may obtain the details? Thank you in advance folks.
When testing an EA, I go to the "Expert properties" button, then clickon the Optimization tab, when I check the box and change the Minmum Margin level% from the default 30 to a higher value like 250, I still get optimized resultsthat show my margin level % going under 250. That function doesn't seem...
  Trend following EA (60   1 2 3 4 5 6)
I'd like to open up my latest development idea to other members of the forum. I started out with a simple EMA Cross EA and started chopping and changing it. What I now have is an EA that checks the current trend my confirming up or down trend against M5, M15, M30 and H1 timeframes. When al four TF...
On the website of the Automated Trading Championship 2007, an Interview with Ahmed Soliman has been published. Ahmed Soliman known as CodersGuru was not in the Top Threeof the previous Championship. He tells in his interview what lessons he learnedat the previous competition and what, in his opinion...
Strings: Table of ASCII Symbols and Its Use In this article we will analyze the table of ASCII symbols and the ways it can beused. We will also deal with some new functions, the principle of operation ofwhich is based on the peculiarities of the ASCII table, and then we will createa new library,...
Testing Visualization: Account State Charts Enjoy the process of testing with charts, displaying the balance - now all the necessaryinformation is always in view! Author: Andrey Khatimlianskyi
I don't know how this could have happened... Suddenly all my MetaEditor help windowshave huge fonts (probably over 30), no matter which MetaTrader version or installation,even on older installations. Is there any registry key that can be tweaked to revert to normal?
Hi just a quick question. Are Experts for the Championships allowed to use FILE_WRITE() and FILE_READ() ? Thanks will be awaiting your response Regards, Mikhail
Can someone point me in the right direction to create a custom alert ? I am readingthe liturature but it will take me a while to get it. I  would like to setup an email alert when the Heiken Ashi close (open+close+high+low/4) crosses thesmoothed MA 5.  thx
hello , how can i open an order at 10:30 Am, Buy if the last candel (open price>close price) and sell if the last candel (close price<open price) ? thanks for help
Hi I would like someone to explain the rules of the ATC 2007. Dont want to get disqualified.
  Initial Deposit. (29   1 2 3)
Hiya. I'm wanting to test some of these EA's on a demo first before trying live, but i'm wondering what my initial deposit should be for them. I think I want to put in around $5,000 - $10,000. Would this allow me to trade without worrying about leverage? What systems work well with this amount of...
Hello, So, how I add a personal indicator into an expert advisor? Adding the common indicators MaCD,RSI, etc..., is very simple, but I don't knowadd a personal indicator, for example, Damiani. Thanks!
Unfortunately, we made a mistake in build 207 that occurred at generation of an error tick on large timeframes (H1, H4, Daily) at “Every tick” modelling.The error occurred when using a certain configuring of a 1-minute bar having the 6-tick volume.This error has already been fixed in a new version...
Hi, I've some strategies already write on ESAY and EQUILLA language and i'm looking for a coder who are able to translate them in MQL4... Here's a example of Equilla langague : Meta: Synopsis( "Simple crossover of two moving averages" ), Inputs: Price ( Close ), PeriodFast ( 5, 1 ), PeriodSlow...
Docs show: bool OrderSelect( int index, int select, int pool=MODE_TRADES)The function selects an order for further processing. It returns TRUE if the functionsucceeds. It returns FALSE if the function fails. To get the error information,one has to call the GetLastError() function. But -...
Is there a possibility to find out [and change] the history size? From MetaTraderbut also from an EA ?
Hello,ALL. I have a question. How to know a order is closed by stoploss or takeprofit? 1, I order a ticket by: Ordersend(Symbol( ),op_sell,lots,bid,3,sl,tp) 2,When the Current prize is equal tp or equal sl, the order will be closed by serversystem. 3, In this time, I want order a ticket right...
thank you. please give me some code. i think my problem is how to set orderselecttype .
I use to often in Bollinger Band and i saw something that i can't do, so pleasechange the code and uplode it . The change: In the indicator of Bollinger Band have a parmter that call Deviations (In thedefault it's equal to 2) and i can use it only in complete number (e.g. 1, 2, 3) i want to put...
  Help me (1)
Plz I want help for making EA that has pending orders with trailing the entery pointand also the SL and TP from the high or the low from x number of candles Thx for every one who want to help me but he cann't
Hi there, I;m new to forex and the MetaTrader4 platform in particular. could someone please help this newbie out with info on how to make an EA work withthe JJMA indicators or better yet a ready made EA that works with JJMA indicators....
Can anyone help, I am looking for a MQL4 expert to produce an EA that will do thefollowing :- 1) Allow me to set a target profit as a) % of account value OR b) in $ value. 2) Once this target has been reached then to close a) ALL orders OR b) % of lotsin each order. Many thanks in advance.