Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1169

To post a new topic, please log in or register
Hi everyone As we know there are some requests about drawing rectangles on charts or just to make our custom indicators more "beautiful". By this I have made a function that can be used to do this kind of thing. Just give me credits for it if you use it, that's all I ask. So you probably asking how...
Hi, When I apply the ADX indicator to a chart it draws a line with a certain set of values. Great. If I now change the 'Apply To:' setting to a different price (e.g. from Close to High) it produces a different set of values. What does this mean? ADX shouldn't have a price input. It just has a...
  The Ratio Family (20   1 2)
Long History. Near one year ago a friend told me about one new MTF indicator developed for a well known trading system in another forum. That indicator was the stochastic. After read the code I thought: why only stochastic? why not almost well known indicators?. So, I've started to create new...
Hi all.I want to define a variable which is dependent of the same variable one period ago, but I have absolutely no idea how to do that. I already tried it with an array and a loop, but somehow it doesn`t work :(. So I wanted to ask, if somebody could help me. The code is as follows:...
my indicators name is TzPivot aSembol=Symbol(); aSignal = "SELL Stop"; aprice=(sl1,Digits); atp=DoubleToStr(sl2,Digits); asl=DoubleToStr(sl1+30*Point,Digits); MY Questin: i want to using my Expert Advisor; iCustom(?....).
any code available for a fixed trailing stop. I don't want dynamic trailing stop to be recalculated at open of each new bar, but just a fixed trailing stop. Say 200. So the order is modified only when the price moves 200 points.
Is there a way to create a line without the information tag that is at the end of a vertical or horizontal line? ObjectCreate("upline",OBJ_VLINE,0,Time[0],0,0,0,0,0);
Hi, Can anyone tell me what this message means in Strategy Tester Journal tab please? 2008.07.08 20:39:02 2008.06.30 23:57 MACD Sample GBPUSD,M15: We have no money. Free Margin = 95.4733 Thanks for helping. Chris
can anyone explain to me please how this timing (statistic indicators) work. example: what this timing formula means (5,3,white,black,black,1,3) by using candelstick and a zone of (8,4,-4,-8). Thank you
if (Opentrades==0) {double MyTrend=iCustom(NULL,0,"i_Trend",0,0,0,40,18,25,300,0,0); while (MyTrend < 7.0 && MyTrend > -7.0) and is the logic correct???
Dear All, I am trying to use the following code and cant make it work. I have check and rechecked the code seem clean, I cant figure out why nothing is being printed....please help. int start()  {int oldBarTime;oldBarTime=Time[0];if(oldBarTime!=Time[0]){oldBarTime=Time[0];Print("Opening of a 15 mn...
if (Opentrades==0) {double MyTrend=iCustom(NULL,0,"i_Trend",0,0,0,40,18,25,300,0,0); while (MyTrend < 7.0 && MyTrend > -7.0) and is the logic correct???
On the website of the Automated Trading Championship 2008,an Interview with Sergey Lyubimov (PhD) has been published. His acquaintance with financial markets began at the times of vouchers and privatization auctions. Today Sergey is the member of a commission of disputes settlement between traders...
I found difficulty to use my modified EA to H4 chart. Should I test it with strategy tester 1st? gimme a clue... pls
I understand that the clock on the platform reads according to the time zone of the broker. Does anybody know: a) a broker whose time zone is GMT (0) - I live in London, or b) Explain in a VERY simple step by step process how I can change the clock reading to GMT (0)? Thanks.
Please, I need help from members to kindly solve some problems in Expert Advisor with an #Include file. A compiled MetaEditor result indicate the following messages: . Description Compiling 'Exp_8.mq4'... Function "DeleteOrder1" is not referenced and will be removed from exp-file Function...
hi, i have programmed a good indicator i think, but i dont know how to go on. here´s a chart on which the 4 indicator lines are working. I want only 2 lines on chart window, highesthigh or lowestlow and only one of the two dashed signal lines. Can anybody help me with this pls?
I'd like to be able to run a lot of optimization runs of many different strategies, one right after the other, in MT.  I don't think there is any feature of MT that will allow me to do this directly.  But I beleive there must be some kind of scipting language (perl?) that could do the job of waiting...
Hi there, The EA I am trying to code should only make 1 trade at a time. EA should trade if numpos=0 When a trade is done : numpos=1 Trade is done through: {ticketSell=OrderSend(Symbol(),OP_SELL,Lots,Bid,3,Bid+StopLoss*Point,Bid-TakeProfit*Point,"Hearbeat 15 min",12345,0,Red); or...
Hi... i am new herecan someone please help me...I was trying hard to create/register a demo account with mt4 but there was no username and no password coming out from the server!!!It says 'please wait a little while....' but it took hours and no answer!!Somebody got an idea?thanks
Hi I have been trying to get an EA working but for some reason when i go thru a for loop to close all my trades it only gets half of them. I have 12 trades and only 6 are closed. Is it a problem with my testing at every tick(only 2 days trading)? This is the non working routine // This routine...
Hi All, I am new to forex trading and the mt4 platform. I apologise in advance if this may seem like a bit of a stupid question but how do you draw a fib retreacement on the daily chart? I tried it on the high and low of one daily but had no success with. Anyway many thanks Gareth
How do I show the trailing stop on my Chart? Any ideas would be good. Chris
I'm assuming a worst case situation where an EA is running on a remote server that was just rebooted. There is no human to click the parameter window dialog, so, what to do? Is there code which can "skip over" displaying the parameter window?
hi there, i have a simple question for everybody who is good in programming. is it able to trade this indicator automatically? i want to buy if close crosses over highest high (yellow) and close buy if close is crossing under dashed signal line (yellow dashes) i want to sell if close crosses under...
  ADX Cross (4)
Hi, Can someone please help me? I have an indicator attached and I am wondering if it repaints. I have watched it on smaller time frames and it seems that it doesn't repaint but I still do not trust it. I appreciate in advance any help. Thank you.
  account invalid? (15   1 2)
Hello, I have registered for the championship, and I got an e-mail with my login details. However, when I type the login details and it does nothing. It goes back to myold invalid account (I think it expired). Account nr. 414004, BTW: Do I have to use the master password or the investor's?...
  6am Indicator (4)
Hi I hope I can explain this properly .... I want to write an indicator that plots a line from 6am one day until 6am the next day - the value to plot is the opening price at 6am. So I just get a series of horizontal lines from 6am one dat to 6am the next day. (I want to see if the price is above or...
Hello Everyone: I have just signed up with Interbank and am anxious to what some of you can point me to in direction to making this profitable to me. Anyone that has a system that is working continuously, please send me some information and possibly what you are making. I am looking for a system...
  Forex Killer (2)
Anybody having experience with Forex Killer. How does it work??........Is it like a closed box strategy runner, or we know whats inside it??. Just need Guru's comments on the quality of this product, and if its value to buy it ????