Download MetaTrader 5

MQL4 and MetaTrader 4 - page 865

To post a new topic, please log in or register
Hello, I want to create indicator (scanner), which informs when Moving Average changes slope. Slope changing gives short term reversal signal. It is very easy to create such indicator for one currency (attached to graph, lets say EURUSD 5 min). Attached here indicator did such job and alers when MA...
http://www.myspace.com/expertadvisormetatrader http://www.facebook.com/bestexpertadvisor
I want to open a sell order,I hope the open price the higher the better, I want to use TrailingStop method, using OrderModify() function to modify the OrderSend() function, will you write the code for me?
Indicator: a. alligator b. stochastic 18,4,4 My system works like this: BUY ENTRY a. Complete one candlestick is above alligator and b. the main line from stochastic 18,4,4 entering level 80 If trade GJ in H1, set TP (can be set in EA) at 50pips. SL by default 100pips (can be set too in this EA)....
  MT4 keeps crashing (11   1 2)
I have a problem. My MT4 keeps crashing. I am hoping someone can help as I am pulling my hair out. I have attached the dump below. 1. It does it on my PC at home, and my PC at work. 2. Both my PC at home and PC at work are Windows 7. I have tried it on two XP boxes and it crashes as well. 3. It only...
What can i use to have a balance of 5 forex pairs in one simple line? Thank you very much
Does any one know the best way to get order history for one symbol for the previous or current month with a total profit/loss by pips and currency? Much thanks in advance!!
Dear all, I am using the MT4-ECN platform, when one opening order is hitted by stoploss/takeprofit price, the real closed price is not equal to the setted stoploss/takeprofit price due to the slippage. In the mql APIs, anyone know which API can judge whether the history order is stoploss or...
Hi, Is this possible with either MT4 or MT5? Example. I want to run an EA for 12 months, before each month is ran, specified variables are used to get optimum (highest in optimization) setting, and is used on the upcoming month's trade. And after that month, optimization is again done, and applied...
hello again, i trying touse the goldminer 1 and 2 indicators, as EA, WELL i got the EA runningjust fine but the problem is that when i get the signal from the GM1AND GM2 to buy or sell it does it on the next bar not on the bar thatthe signal was trigger, and stay open unitl the EA closed it.... what...
i got the Ninja program ex: 1. Low[10] < Open[BarsSinceEntry()] - ATR(Close, 20)[BarsSinceEntry()] * stopLossATR MQL4:??2. stopvalue = Math.Max(stopvalue, Position.AvgPrice + 10.8 * (Close[0] - Position.AvgPrice)); MQL4:?? 3. does  SMA(200)[0]  is same MT4( double ima1= iMA(NULL,PERIOD_D1,200,0...
Can I access with using any computer or moblie computer (latop), so I can do it at any time and at any place?
My EA is very simple one that just print the minute value when a new minute coming. in the log file, just print logs from 2010.10.27 00.00 to 2010.10.27 00.59. Any web resources or answers are very appreciated.
hi i want to know amount of 3 last up and down in zigzag? i could comment them in indicator but i comment them in zigzag as an EA my program show 0 what is wrong in my program that zigzag function does not work now? Comment(curlow," ",curhigh," ",lastlow," ",lasthigh);
I am testing MessageBox function in MT4 using a demo account. To use MessageBox, I understand we need to include WinUser32.mgh file in a program (EA). The following program(EA) is from the MT4 Book. #include <WinUser32.mgh> // needed for messagebox function extern double Time_News=07.05;...
hi !! thanks for the reply. lets take an example cos that how i understand better. suppose i have a smal loop to find out all the HIGH values of the candle sticks for a portion of the graph say starting from 3rd nov 12.00 Pm to 4 PM the same day, how wud i incorporate that in offline testing ? code...
I use the script from James to trade my strategy successfully on the regular 4 digit broker trading platform. I since changed to a 5 digit broker because of my specific strategy, but now the script wont work. 1.) Can anyone help me change it so that it can work on the new platform please? 2. ) This...
Hello! I hope this is not a spam and it is allowed. If anyone need any kind of indicator I can code it. Alerts, crosses,... Same to EAs...
How do you calculate profit in pips on a closed order considering the spread? Thanks in advance!!
The type size in the terminal help section has suddenly gone to something enormous - 24 points or more. How to restore it to something readable?
Hi! I have one script for each time: 1, 5, 15, 60 minutes and 1 day and 1 week. For each time, I put or drag my script for over. How Can I to create a script that start all this scripts in the same time in each windows that each script belongs? Thanks
System Apeiron
So many times out there new folks come along and want to have someone build an EA for them or an indicator. You can pay top dollar for good coding or for bad coding. You can also pay cheap dollar for good coding or bad coding. The difference is going to be in you and how well you pay attention to...
  Bar by bar trailing stop (19   1 2)
I'm looking for a bar by bar trailing stop (EA I guess). Once the bar closes I would like the stop moved under it by so many pips (I can set how many 2, 5, etc). I searched and couldnt find anything. Thanks I'm new to site... hello!
I have been getting a lot of help in the past, so I would like to give some back. I am going to post a series of tools that may help you with your coding as you have helped me. This one uses the snapshot feature to help you troubleshoot trade opening and closures. There are a few samples around here...
Dear all, Please tell me what a full structure of an EA should be. I've read the"Documentation" and "Book" section of MQL4 community, and complete reading the examples of EA provided by the latter section. However, when I ran the tradingexpert.ex4 in terminal for testing, it only gave me error...
I have this indicator //+------------------------------------------------------------------+//|                                    Instantaneous Trendline Filter|//|                         Copyright © 2006, Luis Guilherme Damiani |//|                                      http://www.damianifx.com.br...
hello again, i trying to use the goldminer 1 and 2 indicators, as EA, WELL i got the EA running just fine but the problem is that when i get the signal from the GM1 AND GM2 to buy or sell it does it on the next bar not on the bar that the signal was trigger, and stay open unitl the EA closed it.......
Hi, I have an expert advisor which trades quite well but when i try to modify expert advisor,nothing happens.I think its protected or some think similar which only an expert programmer or some having the knowledge of programming language might be knowing and unfortunately,i am not one of them...
What are the differences between the version of the Meta Trader 4 Build 226 and Build 228 version? I ask because I do not know whether to update the program.