Asus Transformer Book T100 . Intel Atom Z3740 1.33GHz Quad Processor, 32GB SSD, 2GB DDR3, Intel HD Graphics, Win 8.1 I didn't find much in the way of minimum specifications for MT4 but I want to run this laptop 24/7, do you think I could run 12 MT4
I tried writing to the following common MT4 folder in Windows 8 but it isn't working: string BaseDirectory = "C:\Users\<name>\AppData\Roaming\MetaQuotes\Terminal\Common" ; int FileHandle = FileOpen (BaseDirectory+ "\\thefile.txt" , FILE_WRITE |
My EA was giving me an intermittent divide by zero error while doing backtests of AUD/NZD. The journal pointed the source of the error to my lot size calculation below, specifically the (1/NUrate) part. double NUrate = iClose ( "NZDUSD" , 0 , 0 );
I have some code to break even when price reaches a particular point but I keep getting OrderModify Error 1 in the journal. The code works absolutely fine and does its job of break even at the correct point, I just keep getting the error clogging up
Something I learned recently was that when trading 1 lot of XAG/USD, the value per pip can vary depending on the broker. For example, on SVS Securities broker, if you buy 1 lot, each pip movement is worth $50.00. And on Admiral Markets broker, buying
I've noticed some codes Sleep at the start of a code then Refreshes to update values before continuing with the rest. Is it not better to Sleep at the end of the code? Then RefreshRates is not required? edit: should probably specify purpose: to make
If there is an update to MT4 and I am a running an EA 24/7, what happens? Does it just keep going as normal? Or does it auto-update then restart itself? Can you run two different EAs on two different chart windows on the same account (same terminal)
Just a curiosity question more than anything, since I deleted most of the return(0)s in the old build with no ill effects. The new 600 build debugger keeps telling me off if I accidentally copy and paste return(0); into the void OnTick section. My
I tried the following but it didn't work. The error in compiling says it expected each case to be an integer but I have strings such as "USD", "EUR", etc. double USDBalance; switch ( AccountCurrency ()) {
So I have an active trade which was opened fine through the following code (ignore a, b, and c , because those conditions have been met) int ticket; double LongOpen, ShortOpen; if (a == true && b == true && c == true )
I want to close a position entirely. It does not matter what its lot size, slippage or whether it is long or short. What parameters should I put in? Would 0 work? OrderClose ( OrderTicket (), 0 , 0 , 0 ,Violet);
Hey, I want to count the number of bars it has been since the last MA crossover. Example chart below, which would have the answer of12 bars including the current bar. I think I need to use a for or while loop of some sort but I never really
In MT4's MACD sample, there is: extern double TakeProfit = 50 ; which is used in the execution part later on in line 60 ticket= OrderSend ( Symbol (), OP_BUY ,Lots, Ask , 3 , 0 , Ask +TakeProfit* Point , "macd sample" , 16384 , 0 ,Green); Is Point
In the MACD sample that comes with MT4, I've noticed the following code: double MacdCurrent, MacdPrevious; int ticket; MacdCurrent= iMACD ( NULL , 0 , 12 , 26 , 9 , PRICE_CLOSE , MODE_MAIN , 0 );
I reinstalled MT4 and I ran the programme. It asked me if I would like to turn on one-click trading. I should've pressed Cancel but I instead pressed Accept. I wanted to close an order today and I normally did this by right clicking the order in the
Imagine the simple problem, I have £10,000 and I am only willing to lose 1% of that with the next trade. The next trade is on EURNZD, an XXX/NZD pair. If my stop loss is 100 pips, what is my lot size? I know the answer since I have calculated in the
Since I have never used an EA before (not even for testing), I have a few questions about how EAs work for trading a system. Do you need to run an EA from your computer? Does your computer need to be on permanently? Can you upload your EA to your
Hi, I'm stuck trying to display a particular value according to the currnt chart's symbol using Comment. Basically if I load this indicator up in GBPUSD, it would display the 1 value at the top left, if I had EURUSD chart open, it would display 2