elfunambolo
elfunambolo
elfunambolo
Added topic Notification phone issue
Hello, I'm receiving twice phone notification for same trade transaction, how can I fix it? 
elfunambolo
Added topic Period calculation issue
Hello, I want to memorize in a variable the current time (when a condition happened) plus 5 Periods ( I'm testing EA in H1 timeframe). This is the code: if (RangecCandelaMax == High [ 1 ] - Low [ 1 ])  {
elfunambolo
Added topic Close SELL order after opening a BUY order
I want to close SELL order after a BUY  order  is opened . I wrote this code but I have errors 138 and 4108, how can I fix it? ps: the orders are generated by SELL LIMIT and BUY LIMIT functions    if ( OrderSelect (ticketBuy
elfunambolo
Added topic Orders open strange behavior
Hello, I have an EA that open #3 orders after candle close (if some conditions are true). The issue is that the orders are opened after 10 minutes from candle closing (see attached screenshot of Journal and chart). The orders should be opened at
elfunambolo
Added topic Unknown ticket error
Hello, I have this error in OrderModify fuction when run my code, can you help me? Thanks // Modifica TP per gli ordini a mercato SELL           if ( OrderSelect (ticket2, SELECT_BY_TICKET )){   //
elfunambolo
Added topic ERR_INVALID_STOPS
I have error type 130 during OrderSend function , can you help me to fix it?  extern string ParametriCandele =   "Inserimento parametri candele di set-up" ; extern string CandelePrecedentiBuy =   "Inserimento numero candele
elfunambolo
Added topic Critical error Array out of range
Hello, I have this error when run my EA: This is my code to open #3 orders, where is the mistake? int ticket[]; bool checkBuy = true ; int i= 3 ;               //numero ordini void
elfunambolo
Added topic EA strange behavior in DEMO vs Backtest
Hello, I created my EA that open #3 orders at the same time when some conditions are true. In backtesting EA works fine and in Result I can see my #3 order with same open time: The issue is in DEMO. I see in Journal tab a time delay (seconds, until 1
elfunambolo
Added topic Maximum range candle of last 5 candles
Hello, I want to identify the candle (in the last 5) that have maximum range (High[i]-Low[i]) . I wrote this code but for fill an array with range size: int candele = candelePrecedentiBuy;    int i = 1 ;       while (i
elfunambolo
Added topic Optimization best time window
Hi, I finalized my first EA on XAUUSD and after run some back-testing to check the validity of my strategy I'd like to optimize my input variables. Is suggested to use a small time window (2/3 months) vs back testing to be adherence with last market
elfunambolo
Added topic Change results when change expert file name??
Hello, I see this strange behavior, I created my EA and if I change the file name and run back test the result is different from the previous file. Why the results are different if change only the name of file (profit, trades, etc)? The above charts
elfunambolo
Added topic OrderModify() Error 130
I have this type of error in this function, why happening? // Trailing Stop per gli ordini #5 e #6 (Stop loss modify a Break Even) void TrailingStop1Sell(){           if (ticket5 > 0 ){   //
elfunambolo
Added topic Modelling quality n/a
Hello, I'm backtesting my EA with tick retrieved by Tickstory Lite 1.5.3 8, I have IG MT4 platform build 1065. Timeframe M15 , symbol is Gold Why my modelling quality is n/a? Thanks Giovanni
elfunambolo
Added topic Array out range error
I have this type of error (Array out range error) when I backtesting this EA. How can I identify the point of issue? Thanks Giovanni // Variabili globali bool check = true ; extern string ParametriValori = "Inserimento volume degli ordini" ; extern
elfunambolo
Added topic CloseOrder() 4051 error
Hello, backtest return me 4051 error during CloseOrder() execution inside my OrderCheck() fuction. int ticket[3] = {-1,-1,-1};   is a global variable How can I fix it? The code is attached. Thanks Giovanni
elfunambolo
Added topic Urban MT5 Free EA
Hello, I'n new in MT4/5 . I download this EA but when I tried to do the backtest no orders are placed and this type of errors occured a lot of time: Sell(): Error inputs for trade order Sell(): OrderCheck(): Unknown error 10030  How I can fix
elfunambolo
Registered at MQL5.community