MQL4 and MetaTrader 4 - page 1103

To post a new topic, please log in or register
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...
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....
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...
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
hi, just wondering if anyone can point me in the direction of how to go about making the trailing stoploss of my EA equal to a moving average value. cheers geoff
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...
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...
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...
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...
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...
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,...
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));
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...
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....
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.
1. Arrows and check-marks show up as characters ("u", "a") insteadof symbols 2. Can't read mail under "Mailbox" tab (When mail is clicked it opensand says . .<HTML><HTML>) Other then that... It's smooth and probably 40-50% faster than Windooze... andno 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
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...
Hi All, Can anyone recommend a good EA to play with? Im pretty new to trading so not something to complex please :)
Hi, Can someone please explain the following probelem: Bars, is say 1234, but, High[1234] is always = 0.00000. Not sure why? High[1233], is say 1.2345. But High[1234], is 0.00000. Is the last bar unreadable? Am I missing something? When you auto-scroll backwards in time to the last bar shown on the...
I figured I would make as simple an EA as possible, after making hundreds of unprofitable EAs over the past year. The Buy and Sell Conditions are simple as can be: if(LastCandleUp == True && ThisCandleUp == True && LastCandleDown == False && ThisCandleDown == False) Order = SIGNAL_BUY;...
Hi, can anyone show me the code how to limit the total of transactions per day? I see most of the EA only limits open position per execution. Let say I need to limit the transaction only 2 transaction per day, because if more than two, the risk of trade will increase. thanks for helping. ariston