Friends

Add friends via their profile or user search and you will be able to see if they are online

mop0
Registered at MQL5.community
mop0
Added topic How many MT4 terminals could this laptop run?
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
mop0
Added topic Writing a file to the common folder (script)
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 |
mop0
Added topic Intermittent divide by zero error
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 );
mop0
Added topic OrderModify error 1 during back testing
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
mop0
Added topic XAG/USD's lot size
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
mop0
Added topic Sleep and RefreshRates
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
mop0
Added topic MT4 updates and 24/7 EAs (and other questions)
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)
mop0
Added topic Was return(0) important?
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
mop0
Added topic Using switch to determine the AccountCurrency() ?
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 ())    {
mop0
Added topic Preventing a trade from closing because it is in negative equity
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 )
mop0
Added topic OrderClose - all lots and ignore slippage
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);
mop0
Added topic counting bars
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
mop0
Added topic 4 digit, 5 digit brokers and Point
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
mop0
Added topic MQL4 Syntax Question
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 );   
mop0
Added topic Closing Order confirmation window
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
mop0
Added topic Mathematical curiosity in lot size calculation
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
mop0
Added topic Expert Advisors and brokers
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
mop0
Added topic Newbie stuck on detecting current chart symbol using IF
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
12