- Search Crypto Craft
-
magnumfreak replied Apr 12, 2008The MIG demo runs fairly close to my broker. Within 1 pip or so (occasionally 2).
How do you compare the quote from your broker to the other markets?
-
magnumfreak replied Apr 12, 2008metatrader has a random number generator but it is limited to positive numbers between 0 and 32767. MathRand generates the random number and MathSRand provides a seed value to provide a more random number. Since metatrader doesn't generated negative ...
Random number
-
magnumfreak replied Apr 12, 2008sure, just thought I would have a little fun. I made a little modification to the code. Due to the fact that the price change is relatively small, the standard deviation was ranging really low, 0.154 down to -.1 roughly, so I compensated for this by ...
How do I get coefficient of variation?
-
magnumfreak replied Apr 12, 2008the "get rich quick" kind of mentality comes from some of the people who attempt to trade forex and not from forex itself. Since you are just 18, take your college years and start learning to trade. Read books on the subject, practice with a demo ...
Is forex the best investment?
-
magnumfreak replied Apr 12, 2008you can turn automatic updates off during the week. Go to your control panel, select administrative tools, then click automatic updates, you can set it to just look at certain times on a certain day. You can also choose to have it download but don't ...
Help
-
magnumfreak replied Apr 12, 2008best way to do it is to break down some of your functions into separate files. I am just an old school programmer and prefer to keep things in one file. Whatever data you need from a file you can just make it like an indicator and call the file with ...
Top Most Unfortunate Limitations of MT4/MQL4
-
magnumfreak replied Apr 12, 2008THe best way around this is to save each timeframe as a profile. Then to switch between the two, just select the proper profile. Hope that makes sense.
Way to switch time frame on all charts at once?
-
magnumfreak replied Apr 12, 2008the broker did send the email, he is trying to get an indicator to read that email and close positions that are open. In MT4 you cannot read the incoming mail, you can only send mail.
Top Most Unfortunate Limitations of MT4/MQL4
-
magnumfreak replied Apr 12, 2008ok it is written, now, how do you use it.
How do I get coefficient of variation?
-
magnumfreak replied Apr 12, 2008it doesn't work because you can't do a moving average on a single point. capture all of your myema's and place them into an array. Then do a iMAonArray to smooth your results.
Smooth an indicator in an EA
-
magnumfreak replied Apr 12, 2008you will have to write some vbscript in excel to place your order requests in a file located in the metatrader files folder, then write and ea that will read the file and execute your orders.
Looking for Help with using Excel and MetaTrader 4
-
magnumfreak replied Apr 11, 2008Select the order using OrderSelect then read the date with OrderOpenTime. The orderopentime contains both the time and date when the order was opened.
How do I get the date a trade was opened?
-
magnumfreak replied Apr 11, 2008LOL! Can't remember if it is physical size or lines of code that it freaks out on. The last EA that I wrote had approximately 60 separate functions, things like calculating stop loss, multiple possible entry points, calculations for taking profit ...
Top Most Unfortunate Limitations of MT4/MQL4
-
magnumfreak replied Apr 11, 2008mq4 files have a size limitation that doesn't show up until you try to compile it. Aggravating when you are creating very complex EA's.
Top Most Unfortunate Limitations of MT4/MQL4
-
magnumfreak replied Apr 11, 2008you may want to check out metatraders forum to see if anyone has info on how to read the emails with an ea or indicator. I don't know of a way to forward emails that come into mt4. Maybe the new mt5 will correct some of these limitations. It is due ...
How to detect it's 2 hours before market close for the weekend ?
-
magnumfreak replied Apr 11, 2008About the only thing you could do to get around this would be to write a .DLL and create a function that reads the email folder. All incoming emails are stored in the email folder.
How to detect it's 2 hours before market close for the weekend ?
-
magnumfreak replied Apr 11, 2008you can use the ibandsonarray function to calculate the bollinger bands on the rsi array used for plotting the line. You can then pull the upper and lower band value from that function and compare it to the value of rsi. Interesting concept by the ...
Help with RSI<> Bollinger bands Alert
-
magnumfreak replied Apr 11, 2008unfortunately you can only sendmail not read it. One of the many limitations of mt4.
How to detect it's 2 hours before market close for the weekend ?
-
magnumfreak replied Apr 11, 2008Another method would be to set up 5 bool variables and when one or more of them is set to true then the EA would know that day is a no trade day and close orders appropriately. Once a week you would go in and set whichever days to true that are ...
How to detect it's 2 hours before market close for the weekend ?
-
magnumfreak replied Apr 11, 2008instead of doing marketinfo, try subtracting the ask from bid. double whatsthespread = (Ask-Bid)/Point; that will give you a value in pips for the spread.
Cannot get the spread information in backtesting