MQL4 and MetaTrader 4 - page 1102

To post a new topic, please log in or register
Hello all, MetaTrader Version: 4.00 Build 224 (15 May 2009) Metaeditor Version: 4.00 Build 224 (14 May 2009) I have encountered a very strange bug in MQL that has me completely baffled, so much so that I am looking back at ALL my old code to make sure that it is written to avoid this problem. I hope...
I'm working on a new theory. It may help, or it could be a shot in the dark. I've rewritten elements of the MACD so that is will monitor the difference between the MACD and its signal line. I am operating under some assumptions, and would like opinions on whether or not the MACD could be used for...
Hi all When you attach an expert adviser to the chart, or when you right click on the chart and use "expert adviser, properties", you get the properties dialog with the "common" and "input" tab. In the common tab under "common" you can set the drop down combo box to Long & Short positions, Only...
Hello, I would like to present you the best EA program that I possess and programmed myself. My best programm, because you can let the program almost run like a real money printing press without watching the whole time to it. Although this is a strategy where the Lotsize raised after loss trades,...
Hello traders and programmers! i have been searching the web the past few weeks for an indicators that recognizes potential reversals using fibo chart patterns. if anyone hase something like this or wants to take a crack at programming it, please shoot me an email. :-) thanks ZealousCapital@gmail...
Hi, During using the Meta Trader and my EA, the following problem occured: STOP There has been a critical error Time : 2009.03.10 08:57 Program : Client Terminal Version : 4.00 (build: 221, 05 Mar 2009) OS : Windows Vista Professional 6.0 Service Pack 1 (Build 6001)...
  Great EA!!! (9)
Thanx guys, with all the good advice here and help from the coders I have managed to put my idea into practice... here us a graph of how it trades...I cant wait to forwards test it on a demo account!!!
when testing ea in mt4 strategy tester, the spread equals to spread now,not the past spread in the testing period so i want to ask how to collect the spread for backtesting? 'FXTticksCollector' i have try this, but the size of .fxt is too big, just run 2 day of it, it already 600MB~ ~ Do any one...
Hello, How will be traded an order at "instant execution" with a SL and TP ( stop loss and Take profit ) can you explain how it will be done ? what Take profit value is useful for ? in both case BUY and SELL thanks for the explanation of How it works in META TRADER, Regards Antoined
  Mt4 broker (1)
Who can help me to find a good mt4 broker for scalping strategies without hedging restriction in Canada or US?
Hi, I'm trying to create a log file for an expert advisor, but I'm having a problem writing the data to a file. I'm testing it in the strategy tester right now. The problem is that when I open the log file, there's only one line of text in the file - the last line that was written. It appears to be...
  Expert Advisor that work (13   1 2)
I have found this expert that is really impressive! ForexRobotGain Have you tried it ?
Hello everybody, I'm new to both forum and MetaTrader. I use the XTB-trader-platform from X trade brokers. Writing to a file using the fileopen filewrite etc. functions does work (no negative values returned by fileopen-function), using fileread I can even read from the file established yet fail to...
Login ID: 823074 Password: y5axwbc Server: AlpariUK-Demo http://cybernet.mt4stats.com/ Contact: mark.johnson.uk@o2.co.uk
hi there, could somebody tell me how to get an ask or bid value for the past? maybe one minute back or whatever. thank you, mike
hi ;) i need your help! could please somebody explain me how to calculate the minimum stop loss and minimum take profit for a broker to place an order? i found this here, but im not sure if this is right, specially if i want to place more than one order. Declare a global variable for the minimum...
Hi guys, any advice on this? after updating to build 224 my EA's crash the platform...one of my other platforms has build 223 still and the same EA's are trading just fine...its definitely the build 224 that is messing with something. Is there something I can change to make them trade...
I just downloaded MT4 from Alpari and found that the compiler cannot launch. I use MT4 on a VPS with no problem so I wanted to add some of my custom indicators to my lap-top but without the compiler I am unable to do this. Has anyone else had this problem? Does anyone have a solution?
Hi, I have questions regarding the reliability of the orders and tickets. Suppose I have an open order. Is there any possible way the net contracts could change (i.e. margin call, or unexpected error)? If so, I was planning to implement some kind of error check that would correct such unexpected...
greating, I have an external inputs variable for me indicator, it will prompt the inputs tab when i add the indicator to chart. however when i added my libraries function  call (#include), the input tab will disappear when i add the indicator to chart. please help, thanks #include "C:\Program...
Hey all! im a noob and my first project is to build an EA out of an indicator (I guess im not the only one starting that way hehehe) After hours of research, I found that the indicator will put its "little arrows and crosses" indicating when to buy or sell every time one of this if statements is...
Hello All Is there any way to write a indicator in MQ4 which will just alert once per bar on a cross. I am writing a indicator to alert me when a oscillar is crossing up or down on 50 just once is it every possible. I am lost. Would be really nice if you can help me with an examplz I am struck on...
Hi guys...can some one please tell me what it means when i do a back test and in the journal it says zero divide. It then only takes 1 trade but no more...I have used normalizedouble so dont think its got to do with the ordersend values... Thanks
Hi everyone! Have enclosed .mq4 file for a plotting Pivot Points. It has one serious problem in that on Monday it plots the pivots just based onthe partial days data from Sunday evening when the forex markets reopen. This invariablymeans that the Pivots on your chart on Monday are effectrively...
Hi, I have been thinking about developing EA for swing trading butcan’t seem to get a grip on identifying entry, stops and target points automatically. Any suggestions in those directions would be great help.Thanks
Can someone please help me with this? I placed my first trade in MT4. In the terminal, under the trade tab, I do NOT see my trade. I only see my final balance. Because I can't see my trade, I can't modify my trade. Obviously, this is a pretty serious problem! Can anyone please help me resolve...
Hello guys I am trying to create an EA using "Damiani volatmeter",  but Im unsure at this point how to check its status. I assume i would use iCustom, but im not sure how to do that with an indicator like this one thanks
Can someone help me modify this indicator so it displays the price and the fib level? I tried to do it but with no luck .Thank you!!!
Whenever I load my indicator on the chart, it looks exactly how I want it to. However, if I leave it running, it doesn't update. Any help would be greatly appreciative. int start()  {   int counted_bars=IndicatorCounted();   int bSetup;   double tfm=50*Point;//----   int limit;...
Hello, I'm fairly new to FX and MT4 platform, anyone here know how you can see how much your order value is in every trade? like when you place and order long or short and you pickup size 3 for example,how you can see how much $ value you are using from your account in that trade. also is there a...