Toufik
Toufik
Toufik
Added topic Problem in filtering by symbol in a rare circumstances.
My EA is attached to several symbols, the opening order depends on the last closed order from history, every single EA works perfect separately for every symbol for a long time without problem until when the 2 or 3 orders for each symbol closes at
Toufik
Added topic The spread in the past.
Hi, SymbolInfoDouble() or MarketInfo() can give the current market spread Is there a way to know what was the spread for previous 10 or 20 candles ?  Thank you
Toufik
Added topic Troubles trying to pay a VPS.
Hi there, Can some one help me understand the message while trying to pay a VPS by credit card ? The only option I can pay with is Credit card. Thank you
Toufik
Added topic Do EA normally stops after Last error ?
I think EA stops control just after getting an error, If it's the case please tell me how to let the control passes in advance after the last error regardless what the error is.       {
Toufik
Added topic Select the most recently closed order from History ?
Hi guys, After being filtered by Symbol, MagicN, Negative or positive Profit, is it possible to select the most recently closed order, I mean the last one closed among the others. Thanks for your help
Toufik
Added topic Help me understand why Order failed to open ?
Hi, Under my EA the order failed to open saying in log "Invalid S/L or T/P" while SL and TP are set to NULL, it happened in very volatile market and spreads were widened at that moment. 1 12:01:09.942 '11111': order sell stop 1.20 GBPUSDmicro opening
Toufik
Added topic Checking if a market order is open "What's wrong with my code" ?
I need to check if a specific market order is open or not and return a Boolean result It returns "not all control paths return a  value" bool IsMOrderOpen()          {       
Toufik
Added topic TestGenerator: no history data 'EURUSD 240' from 2010.01.01 to 2010.12.31
Hi guys, I wanna know how to import more history in mt4 for backtesting the oldest history as possible. Thank you
Toufik
Added topic How to say "Do nothing" with if-else operator.
I just want for the EA to not execute anything when a certain condition is met (expression1) for ( int i = 0 ; i < OrdersTotal (); i++)          {          if (
Toufik
Added topic Need Help with OrderSelect function.
Hi guys, The function works well with just one symbol but once adding the EA to more than one, the function becomes unable to select the pending order to be deleted. I can't find the problem why it doesn't work with more than one symbol. Thank you
Toufik
Added topic How to initialize the variables after a certain calculations (Help)
Hi Friends, I know the problem is so simple so that I coudn't solve it as I'm not expert on coding yet... int a = 0 ; int b = 2 ; a += b;  The result will be like a = 0, 2, 4, 6, 8, 10,... It's okay until a certain condition will be fulfilled
Toufik
Registered at MQL5.community