Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1135

To post a new topic, please log in or register
I am trying to put an order, I am cloning the already present MACD example, in which I do not understand the following please explain, thanks. All the required variables have been defined OrderSend(Symbol(),OP_BUY,LotsOrder,Ask,3,0,Ask+ProfitLimit*Point,"macd sample",16384,0,Green) Profit...
Hi there Just introducing my expert advisor Here is how it works We have decided to lease the ea for 1k a month for a min of 6 months The ea will return good profit and has the best sucess rate i have seen The ea wont trade every day nor every week but when it trades it trades to win We have been...
For example. My T/P level is the 1.382 Fib and I'd like to make this a thick GREEN line with label "target". - Or - My stop loss is the 61 retracement so I'd like to make it a thick RED line with label "Stop". Is this possible? Or is there an indi already made? Thank you so much for the help.
I wrote a custom indicator. It plots the history corectly but it is inconistent in real time. If i recompile it displays corectly until a few new ticks come in then it goes wrong. I looked at a lot of similar code and everyhing seems corect but it is still incosistent in real time. Any ideas on how...
  FunIndicator (47   1 2 3 4 5)
Hello with all. The future projects are: The possibility of moving the indicator or you want on the graph. FunIndicator V1.8 and News version FunIndicator V2.1 and FunIndicator Lite I added lighting clock if the market of the country is open. Trana_.rar it's font file.
Hi there, Can anyone help me on how to get the higher and lower values for the actual day on a specific chart and save this value on a variable? I don't know how to code it on mq4. I need the values for the "actual day". Thank you very much. Regards Paulo
This indicator which belongs to Bollinger Trading System is very usual in some software. But I do not find it in MT4. Please help me. Thank you.
How can I resize Two Dimensional Arrays
  deinit
I can I code automatic deactivation of an expert advisor ? thank you
hello all, am practically new to Forex and its really exciting, but my grouch is that i still dont know how to identify the currency pair that will make the most movement, so i can benefit maximally from each trade,please i really do need idea and cool suggestions. Thanks a ton!!! basamta
Dear People, I need some clarification, on the meta trader platformconfiguration. Please explain what the following are, (I mean how &when to use): I could not locate a help zone in the help file that iswhy I am asking here, I hope you willunderstand. (1) “Optimizedparameter” found on “Testing”...
Nice to meet every one. You make trades by MT4. You make a profit in every trade. Your broker finds the problem. He gets you into trouble bt controlling MT4 server. Can it happen?
  How to do it? (3)
Hi there, I need to know how can I program a code to find if a position for a currency pair is open or closed? In fact, I do not want to find if it is open. What I need is to find if it is closed... For instance. The following code returns TRUE if a position is opened: void CheckPosition() { for...
  wait 5 second???? (13   1 2)
please i wanna know the code i should tupe to perform this task (wait 5 seconds) because when it's always checking it entered closed loop and metatrader hangs.... thanx alot
SOMEONE PUBLISHED MY CODE WITHOUT MY PERMISSION HOW DO I CONTACT THE FORUM ADMIN?
I want to routinely run a check function. However I found to use the start() in the EA is too frequent. I want to run this check function say every 1 min. Does it possible to define one? Thanks!
How do I get the second value (the signal level) of a custom indicator? Im using the following syntax QQE = iCustom(NULL,PERIOD_H1, "QQE", 2, 0) but it always returns the main level Thanks, Steve
Is there a way to print the profit from a trade as a comment on the chart with $ and commas? Example: $2,289.10 Thanks in advance, Y
Hi. My MT4 is creating large files in the /tester/logs folder when using strategy tester. Some files are as large as 118gig (yes gig). Is there an option I can change or is something else wrong. Rudy
Hello, I want to get the volume information per tick. I can't seem to find a command in MQL4 that enables me to request this information. Can anyone help? Nate
Hi, I just coded a very simple indicator that give the range of candlesticks.  I want to create a moving average of that in the second buffer.  The moving average works but only on a forward basis.  I'll post the code below; if anyone can help so that the moving average works throughout the whole...
  Partial Exit (1)
Hi, Is there an EA which opens two or more positions at the same time and has partial exit? Thanks in advance John
HI, PLEASE, I NEED HELP HERE. AFTER COMPILING THE FUNDAMENTAL TRADER EA IT ALWAYS SHOWS ;1 ERROR 'time mgh' - cannot open the program file. I WAS TRYING TO LOAD IT IN A STRAIGHTHOLD TRADING PLATFORM. PLEASE, I NEED HELP. WHAT SHOULD I DO TO SCALE THIS HUDDLE. THANX EMMANUEL
On the website of the Automated Trading Championship 2008,an article Reporting the Fourth Week (20-26 October) has been published. The fourth week of the ATC 2008 is over. This week in the forex market was rich in events for almost all currency pairs. Of course, this had its impact on competing...
Is it possible to get a list of all the brokers who offer trading with the MQL4 platform?
Can the experts write an indicator that will draw a vertical line at those (user selected) times? thanks
Dear Forum, I would like to perform an usual limit order which means, that I'm willing to pay the limit price or less for buying something. In MT4 I found two possibilities, which do NOT perform this: 1) OP_BUYLIMIT OrderSend( Symbol(), OP_BUYLIMIT, 1, limitPrice, ...); is not an usual limit order,...
I have a new demo account and the only chart that shows pip movement is the US/JPY all the others show nothing. This all started with the new week of trading on today the 26th. Any idaes?
Can anyone please tell me what is the significance of the 'Model Quality' in the report tab of the strategy tester? Thank you!
Can someone help me, I have spend hours trying to figure out how to pass array elements from one array to another so that I can display them in an indicator. I have looked at many indicators and still cannot get my array elements to show up in my indicator line. Attached is my program code.