MQL4 and MetaTrader 4 - page 1471

Hi, I'm just about to start a new EA based on Pair correlation. Where can I find some information about pairs that correlate with each other? Thanks
  OrdersTotal  (1)
I am running an EA on 3 different currency pairs. Can I use (OrdersTotal() ==0) to tell me that there are no open trades on any of the pairs or will it just apply to the pair on which it is operating? I want to be able to tell the EA for each of the pairs to stop trading if the profit level is above...
If so, for what sort of things?
[Deleted]
I know that some of the functionality could be obtained using wininet.dll and general file functions; however, I haven't seen anyone really support the concept of a web api for MetaTrader. This could allow mobile devices to interact with the trading platform without needing the binary install. I...
[Deleted]
I am new to metatrader 4 wondering if any one can help me step by step how to create forex robot in metatrader 4
[Deleted]
Hi, I encountered the strange. My long order was done successfully though it's price was not in the range of the time. Attachment is to show the price. Bule arrow is long order. Pic1 shows order is done @99.24. but bar shows highest price in this time is 99.21. Is there someone can understand...
[Deleted]
Has any one any idea if you can get a compatable free hand drawing tool(s) that can be intergrated into Meta? Many Thanks.
Simple question to moderators. How long does it takes for an article to be reviewed and eventually published? I sent one for proofreading last week but still got no feedback. Tnx, Zyp
Hey everbodys, I need help to programm following problem; The Trailingstopp should not follow the close-bid period for period..... (normaly) The TS considering an art of bars, who have a small uncontrolled vola and which are in the red range caught. until/if the next bar, which leave this range....
[Deleted]
hello all i have just registered here becasue i am using metaquotes to create my trading system. i have a problem and i hope somebody can help me : i have read the reference regarding MQL4 program but my program continues to give me problems: in the platform there are some experts( MACD, moving...
  Multiple OrderSend  (20   1 2)
Hi all, I tried to code 2 ordersend together but only one will be sent OrderSend(Symbol(), OP_BUY, LotSize(Risk), Ask, 3, Ask - StopLoss, 0, "B", 100, 0, Blue); OrderSend(Symbol(), OP_BUY, LotSize(Risk), Ask, 3, Ask - StopLoss, Ask + TakeProfit, "B", 200, 0, Blue); Is there any work ard because my...
[Deleted]
Hi, I need to change the maxlots for a project I'm working. I tried hex editing the fxt file, as it's suggested here http://www.metatrader4.com/forum/1763/, with XVI32 but had no luck with it. Anyone tried changing MAXLOTS successfully? Thanks
[Deleted]
I have a question that I want to make my own Function but I don't know how to make it, I guess I have to save my Function code in Library. And then For calling My Function, Using #import. I did that but compiler said there is no function like that . So I didn't understand how to make it. Could...
[Deleted]
  Customizing Code  (3)
I purchased an MT4 indicator. I would like a programmer to make a few modifications to it. Assuming i would only use it for my own trading, what are the copyright issues involved, if any? Am I OK altering the code for my own needs? Thank You
i find below sentence At the stage of Registration, we are going to detect such incorrectly written Expert Advisors providing certain test time limitations in theeight-month interval in the "Every tick" mode. If the EA's testing time exceeds 5 minutes, this EA will not be allowed to participate in...
[Deleted]
  Coding question  (4)
Hi everyone I want to ask a question. I tried to make percent increase or percent decrease indicator. So I made code like that int limit=Bars-IndicatorCounted(); for(int i=limit-i;i>0;i--) { Buffer[i]=close[i]/Close[i+1]; } but that was never work. I changed above code / to - like that
[Deleted]
Hello fellow traders/coders I have a problem with creating a simple EA. But I am doing my best :( I wish to create an EA that will buy and sell when arrows appear( blue=buy,red=sell),all the time in the game,no stop loss no take profit. My first step was calling the indicator into EA and I did it...
[Deleted]
Can anybody tell me please how to read the %K, %D and %D slow? Thanks
Hello, does anybody know, if there is a (practical) method to use costum indicators(i.e.the values) in a ZigZag indicator formula? Example: In the ZigZag we got for example the code: "Low[iLowest(NULL,0,MODE_LOW,ExtDepth,shift)" based on the close price (of the security) How can one replace the...
[Deleted]
I have developed an Expert Advisor for MT4, and anyone want to try it in their demo account to test it. I have done the back test, it is quite good? The trading philosophy behind the strategy of the EA is based on the price action. Please PM me if anyone want to try it. I will sell it Ebay later,...
[Deleted]
This is an example in the docs, but how do I make multiple lines (new lines) in the body of my message? Is there a \n or something i need to put in the statement to make a new line? SendMail("from your expert", "Price dropped down to "+DoubleToStr(lastclose,Digits));
[Deleted]
I prefer to put to use && to combine logical tests in a single if statement and in other programming languages this is usually the faster method because usually if the first part of the if fails, the second part won't even be executed, thus saving time. Unfortunately after doing some times I found...
[Deleted]
can any one help me with this please... I am doing a iCustom on a indy called i-Regr ...I have identified the 3 lines that the i-Regr indicator places on the chart and i take trades off the high line and the low line and the Ea is supposed to close the trade if the bid price hits the mid line. The...
In my EA I tried to use a symbol diffrent from the chart symbol and got an error - 4106 that maens - unknown symbol. my question is how do I iuse more than 1 symbol() in an ordersend cmnd in an EA ?
Hi All, Is anybody here could teach me how to make a rectangle diagonal object like the picture below? Any help is very appreciated. I haven't try all of the object's function though, but I'm curious if anybody here could do that because I've never seen any of this before (perhaps I need to surf...
I am not sure about the correct definition of stoplevel... For takeprofit, is the limitation: 1. MathAbs(openprice - takeprofit) >= servers_min_stop ? or is it: 2. MathAbs(closeprice - takeprofit) >= servers_min_stop ? For stoploss, is the limitation: 1....
  Mouse position  (2)
Hello everybody! I wonder if there's a way to check the mouse position (expecially on time axis) with MQL4... It might be useful to code a floating "data panel" into a "fullscreen" (F11) chart. Regards, obi
[Deleted]
1. Arrows and check -marks show up as characters ("u", "a") instead of symbols 2. Can't read mail under "Mailbox" tab (When mail is clicked it opens and says . .<HTML><HTML>) Other then that... It's smooth and probably 40-50% faster than Windooze... and no viruses... and FREE and on and on :) I
NEED BEST SET UP PARAMETERS FOR 4 HOURS CHARTS ! FOR THE FOLLOWING INDICATORS : ROC - DAMIANI VOLAT V3.2 - FGDI - FRASMAV2 - SPEARMAN RANK COR TKS FRDS LERECIDIVISTE
[Deleted]
Hi all, i have a special Question to MQ4, maybe you can help me i have a global integer Variable in an EA if i start the Programm the Variable will be initialice to 0 (i=0) if i call the properties and then go back via OK. The Init() will be called but the global variable i is not initialiset to 0...