LAS TEN
LAS TEN
Friends 2
LAS TEN
Added topic order or position frozen
Hello, What means "order or position frozen" meesage on error code 10029. I got this on my Journal. Thanks in advance! 
LAS TEN
Added topic set pending order
Hello, I  try to compose a simple EA. Below is the code. Please answer why the Invalid request is posted in Journal Thanks in advance!  //+------------------------------------------------------------------+
LAS TEN
Added topic terminal trade
Hello, Please a little coding help. How can I enable/disable terminal trade. I know that I canm check this boolean value with:   if ( TerminalInfoInteger ( TERMINAL_TRADE_ALLOWED ))  but I do not know how to set it. Thanks in advance
LAS TEN
Added topic Spread confusion
Hello, I am confused related how to use Spread. In Docs stated: Spread Gets the element of the Spread timeseries by index. double   Spread (     int      ind
LAS TEN
Added topic MqlRates question
Hello, From Docs:   From this I understand that with MQLRates I can get the above information about the chart to which the EA is attached. I have 2 questions: 1-Do I understand correctly ? 2-If the answer to question 1 is yes, how can I resolve
LAS TEN
Added topic last "n" high/low price values
Hello, I would like to to be able to find previous 'N" value of on indicator (in particular "last N high/low price values")  Any help, is appreciated ! Thanks in advance ! 
LAS TEN
Added topic how to export indicator values on a file
Hello, Please, I need to export the indicator values from a specific chart on a file (txt, csv...) All suggestions are welcome ! Thanks in advance ! 
LAS TEN
Added topic tick event generation
Hello, I am wondering if "MT5 has an official statement about tick event generation". I've read on some posts that it is generated if bid/ask changed and in some other post that it is possible to be changed if volume in bid/ask
LAS TEN
Added topic insert indicator in chart
Hello, I saw on this link  https://www.mql5.com/en/articles/60  that is possible to draw my own chart. I wonder if it is possible to insert/apply my own indicator on this kind of chart (to construct an EA). Something like:  generate
LAS TEN
Added topic Strategy Tester Journal questions
Hello,  I run Strategy Tester and in Journal I have lines like this one:  2014.02.23 22:22:42 Core 1 2014.01.02 13:10:05   exchange buy 0.50 EURUSD at 1.37055 sl: 1.37025 (1.37043 / 1.37055 / 1.37043) What means the highlighted figures
LAS TEN
Added topic right click menu on a MT5 terminal chart
Hello, As you can see in attach the is a default price, same price, for: Sell Limit, Buy Stop, Take profit and Alert. I notice that this price is related with last tick price of the chart, as this price is changing when last tick
LAS TEN
Added topic programmaticaly exit EA
Hello, I know it is possible to exit from EA by code. I saw it, I think in this forum, but now I can not find it. Please help ! 
LAS TEN
Added topic PositionSelect() question
Hello, Ihave the following code in an EA if ( PositionSelect ( _Symbol ))    .....    else    Print ( GetLastError ());  From time to time, I did not count it, but around 10-20% I receive error 4753 Does anyone met
LAS TEN
Added topic Bars() call strange behaviour
Hello, I have an EA that I run on a Demo account . code is like this: if ( Bars ( _Symbol , _Period )> 100 )    some code;    else      Print ( "Ai luat teapa;Bars= " , Bars ( _Symbol , _Period
LAS TEN
Added topic last deal closed "direction"
Hello, I need a very simple way to find if the last deal CLOSED a BUY opened or a SELL opened position. EXAMPLE: If I use Ctrade trade; trade.PositionClose() how do I find if I closed a BUY opened or a SELL opened position. Thanks again for help
LAS TEN
Added topic find the price of the last closed position
Hello, I have a very basic EA. It open a position and when condition is met it close it. I need a simple way to find the price of the last closed position. Some very basic way  (for a beginner in coding). Thanks in advance! 
LAS TEN
Added topic MqlTick price.bid/ask vs SymbolInfoDouble(_Symbol,SYMBOL_BID/ASK) vs anything else
I try to code an EA and I wonder what is the best code regarding fast retrieval/obtain of prices. Please respond with argues. All opinions are very much appreciated ! 
LAS TEN
Added topic PositionSelect() question
Hello, I try to code an simple EA  I observe that if an open position is closed by StopLoss "touching" PositionSelect() do not turn from true to false. Also I observe that if position is closed by CTrade trade trade.PositionClose() than
LAS TEN
Added topic BUY SELL orders/deals explanation
Hello, I notice an strange behavior/display of the EA's log. According to all documentations a SELL deal is done from BID price and a BUY deal from ASK price. But I notice that if I Print() the MqlTick() .last structure, what  is
LAS TEN
Added topic Expert log size modification
Hello, Is it possible to modify the size of the Expert log ? (the one that is displayed on the bottom of the screen when you choose View->Toolbox on the MQL5 terminal) Thanks for help
123