Luciole
Luciole
Friends 1
Luciole
Added topic lower value than expected with iATR
Morning' everyone, I would like to get the value of the Average True Range Indicator (ATR). I tried to use the following code, but the value is way lover than the one given by the indicator. iATR ( NULL , 0 , 14 , 0 ); When I print, the value
Luciole
Added topic Disabling EA
Hi everyone, I wrote an EA that seems to not be working all the time. I do not think the code is the problem so I was wondering what are the current technical problems that may cause an EA to stop working. 1/ Is it possible that after a certain
Luciole
Added topic making a loop with bar
Hi  I would like that each time there is a new bar formed, my EA checks some instructions. So I wrote that: count1 = iBars ( NULL , PERIOD_D1 ); count2 = count1; while (etape == 0 )         {
Luciole
Added topic How to remove the EA once the trade is taken?
Hi everyone, I would that once the EA took the trade, that the EA is removed from the graphic charts. I tried to use  ExpertRemove (); But MT4 has crushed each time I used the EA using the ExpertRemove() function . Here is the code I am using
Luciole
Added topic OrderClose >> some operator expected
Good evening to the mql4 community, I was trying to modify an open position, to close 80% of the position to be precise. And with those instructions an error message appear :  "some operator expected" if ( MarketInfo ( Symbol (), MODE_BID )
Luciole
Added topic Check the name of the base currency
Good evening everyone, I would to code something corresponding to this sentence "if the  currency pair on the current chart is one of those : USDJPY or EURJPY or CADJPY". Is someone can help? Luciole
Luciole
Added topic Lot size
Hi everyone, I aim to code something saying that only 80% of the position will be closed when reaching TP1. I am scared that the value will not accepted by the broker. Ho to tell the EA to choose a value around 80%.. Do you have any suggestions? or
Luciole
Added topic Can i call the period in the program?
Hi everyone,  Thanks in advance for you help. I have 2 questions 1. I was wondering if I could write something like :  if Period_CURRENT = PERIOD_H1 {... }  if Period_CURRENT = PERIOD_H2 {... } 2. I have an additional question: the
Luciole
Added topic Quick question on iBands - Bollinger Bands indicator
Good morning everyone, Is someone can help me understand the difference between : bands_shift [in]  The indicator shift relative to the chart. shift [in]  Index of the value taken from the indicator buffer (shift relative to the current bar
Luciole
Added topic EA for the indices such as the Dow Jones or the DAX30
Good morning everyone, My EA works when I use it on the EURUSD but not for the indices such as the Dow Jones or the DAX30. Here is the code I use to send an order to buy: int buy = OrderSend(Symbol(), OP_BUY, lots, Ask, 4, Ask - (stop * Point), Ask +
Luciole
Registered at MQL5.community