Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1046

To post a new topic, please log in or register
When I use the back tester for my EA and try to get the account balance for each of my trades, it only gives the initial starting balance of the account with out any added profits until the EA closes. How do I get the account balance to show for at the time of each trade in the tester?
I'm not even sure how to ask this question, but does metatrader provide an API or some way for some outside script to control mql execution for testing purposes?  For instance, what I am trying to do is do massive testing across all timelines and all currencies to see which timeline and which...
When I call Ggekko Indicator by iCustom, sometime succes, but for Short position sometime fail Calling,but no problem with long position, do you have the same problem?? what is the problem? Btw this Indicator is One of the others Best Indicator, not only Trendy(Long or Short) but also Untrend very...
Hello, Has anyone triggered orders into metatrader brokerage through a strategy in tradestation? If so,, how did you do it? -Mike
Hello! I am looking for a tutor that can do a voice confrence/net meeting type of lesson on MQL4. I can pay by the hour. If you accept pay pal, that is a good form of payment. American rate 35$ per hour International rate 25$ per hour I am negotiable on rates. I want to understand/create...
Hi everybody, i have a Q I have a bunch of trading signals, and i need to figure out a way to simulate them. the signal has entry price, SL and 3 Target Profits and also time when it was received. i also wonder if there is a way to hook up MT with my email and have it place trades...
Hi, my general objective is a Goodman Swing Chart indicator as those described by Michael Archer. So I was thinking of starting with analyzing directions, it’s worth noticing that I reorganize the array I store them in for a future synchronization, but it is totally disposable. The problem I have is...
Hey I was wondering if anyone knew how to export indicator values into .CSV format? I've found a couple of posts asking the same but no answers... I'm really looking to export ADX, Stochastic, ATR and MA values into with the standard price data. Would really appreciate any help on this one. Cheers
I've contacted and been contacted by >10 members, all of whom have been full of crap except one Finnish Guy. I have no aspirations to deal w/ liars or scammers. I have a few systems I'd like coded. I am looking for successful traders and/or coders to start up a group. Please contact me at my...
Can someone find out what is wrong with this ordersend function...I am seeing error 130 in the experts tab. OrderSend(Symbol(),OP_SELL,MarketInfo(Symbol(),MODE_MINLOT),Bid,5,NormalizeDouble(Ask+350*Point,Digits),0,"Sell",1234,0,Tomato); I am able to run this EA successfully on a demo account with...
int midpoint = 0;midpoint = (RectanglePriceMax - RectanglePriceMin)/Point;if (OrdersTotal() ==0 && sPatternType == "Butterfly" && Bid < RectanglePriceMax && Bid > RectanglePriceMin){   OrderSend(Symbol(),OP_SELL,1,midpoint,5,RectanglePriceMax,Bid-200*Point,"Order Sent", 16385,0,Green);} Hello!...
Hello, Do you have or know where can i an expert advisor or indicator that can export all prices bid and ask of ALL currencyes of metatrader plataform to format csv or txt? Example: EurUsd 1.2630 1.2632 Usdchf 1.1238 1.1241 etc Did you understand? Regards, Nagib
numbering of the individual rows - as is the case, the editor Notepad + + It is very useful visual function for the programmers...
I need help with ea to Order Modify of pending stop entry. Here is the code. I need it to modify the order, not generate a new pending order, which it was doing, so I added the first part. Thanks //Sell total=OrdersTotal(); if (total >= 1) Ticket = OrderTicket();...
Hi @ all, i need a little help. i´m trying to create an indicator, which is calculating the average differenge of zig and zag. The indi should return the value of average zig/zag move. All my tries so far didn´t work. Can anyone pls help me? Thanks in advance
I am looking for EA online course if any body willing to teach me let me know. thanks
can someone explain whats the different ? for example: eurusd current price is bid : 1.3253 ask 1.3257 how can i get the last change number ? that 0.0003.
  autorobot (1)
HI everyone, I am very new in trading.please could anyone help me on how someone like me without much experience use autotrader signals to know the right time to enter a trade. Thanks Fio
i created a new ea base on some strategy from tsd, im sure this is the simplest and easiest codes but i just cant figure out where is wrong, any help would be appreciate rules : buy when there are 3 complete 15 minutes bars close down and sell when 3 are close up int start()  {  int gs, gs2, trade...
Hallo everybody, is there a way to change the background of the chart via EA. eg: if (buy>10) changebackgroundcolor (Red); Something like this??
I want to make sure that there will always be no less than 6 open buy stops and no less than 6 open sell stops... here is what I did... //+-------------------------------------------------------+ //| count buy stop |...
New article Recipes for Neuronets is published: The article is intended for beginners in baking "multi-layered" cakes. Author: Алексей Сергеев
Hello. I need help about the programming of an EA based mainly on the  ZigZag signal. Even if the documentation/book of mql4 reccomand to NOT use ZigZag as a strategy for forex trading and/or EA programming, i want to  practise with programming in this indicator. In particularly i want try to adapt...
Hi guys, I wanted to make some educational videos, I've read those articles, 'Easy Way to Publish a Video at MQL4.Community' 'How to Enrich Information You Present? Use Videos!' However, I couldn't find any thing on "fast forward" play. i.e. I want to show the candles closing faster than the...
Hello: The expression "iLow(NULL,0,0) show me a Open Value of bar. Do you know what is the reason?. I need the low value of currently bar. Thanks. Regards.
Have somebody experience to create a .dll file with Dev-C++ that can be used for Metatarder. When i trie it i think the .def file is not correct includet in the .dll file, and i become the error 127. I have find a tutorial how I can create .dll file for MetaTrader with Visual Studio, but not with...
Hi, I am using MT4 and trying to get a clear answer on this since it seems there were conflicting answers to the question on various threads. When extracting historical data using HC, the O/H/L/C are Bid prices, correct? So one can simply add their own Spread to the these prices to arrive at the Ask...
Hello, I have developed an indicator with the help of my friends. The indicator seems to be perfect... I am not a good programmer.... I had a different ea based on the different indicator. I just did some correction in the ea and added this indicator..... But fortunately... The ea is doing...
I'm looking for a programmer for an EA. Confidentiality agreement required. Straight forward concept. I've programmed for 25+ years - just not in MQL4 and, quite honestly, after work, I would rather trade. I'll provide as much detail as possible. If you're just learning MQL4, please dont email....
miso
Hello I'm trying to implement system from TradeStation to MetaTrader. I don't know how to implement 'BarsSinceEntry' function in mql4. Mirek (PL)