Stefano Cerbioni
Stefano Cerbioni
  • Information
1 year
experience
1
products
6
demo versions
0
jobs
0
signals
0
subscribers
Stefano Cerbioni
Added topic read File ini in mt5 why retrun cinese char?
Hi guys i try to read a file ini , my file ini  have this name  correlazioni .ini   and is located  inside of  .....\MQL5\Files  , inside of  correlazioni.ini  i have this structure [primario]
Stefano Cerbioni
Added topic why icustom not run my personal indicator
Hi guys i have a function in expert for load a indicator , over chart my code void _OpenChart( string CroSS) {      // Apri una nuova chart per il simbolo specificato con il timeframe desiderato      long
Stefano Cerbioni
Added topic mql4 to mql5 how convert orderprofit?
Hi guys i have this part of code (is free and is not mine ) /** * Create the info-string for opened and closed order arrows. */ string formatOrderArrowInfo() {    // order is already selected    return ( StringConcatenate (
Stefano Cerbioni
Added topic how convert this funcion mql4 in mql5
Hi i  have a code and i use  this library https://www.mql5.com/en/code/16006 with this include #include <MT4Orders.mqh> // if there is #include <Trade/Trade.mqh>, add this line AFTER that #include <MQL4_to_MQL5.mqh> //
Stefano Cerbioni
Added topic OrderSymbol in mql5 how find it?
Hi  i have  this part of mql4     // Bid and Ask prices for the instrument of the order.        double BidPrice = MarketInfo(OrderSymbol(), MODE_BID);        double
Stefano Cerbioni
Added topic indicator problem in calculation
Hi guys i try  to create a indicator that calculate a CCI  over the ratio of 2 instruments i code this //+------------------------------------------------------------------+
Stefano Cerbioni
Added topic replicate the indicator for spread trading
Hello friends, I would like to recreate this indicator for MT4, or if someone already has it done for MT4, that would be even better :D. Here's a description of the indicator and what I know about it: It's an indicator used to understand when to
Stefano Cerbioni
Added topic where is the EventMouseWheel.mq5 ?
Hi i read this https://www.mql5.com/en/book/applications/events/events_mouse&nbsp ;  in this paper   say exist this  file  ,i suppose in metatrader 5 , but i not find EventMouseWheel.mq5 or EventAll.mq5 anyone  have
Stefano Cerbioni
Added topic include file in include library ?
Hi i try to include this library #include <Trade\PositionInfo.mqh> #include <Trade\Trade.mqh> in my  common.mqh library i try with <>  and not  work , but  i try also in this mode #include
Stefano Cerbioni
Added topic include library in other library in mql5 is possible?
Hi i have created a commofunctionlibrary.mqh   in include folder  , i want  call  this library  #include "Trade\PositionInfo.mqh" #include "Trade\Trade.mqh" i try also with  <>   but nothing  is
Stefano Cerbioni
Added topic ordertype() in mql5 ?
hi guys  how can substitute  OrderType() in mql5 ?  thanks
Stefano Cerbioni
Added topic include mql5 help
Hi , i try to look if  exist a oreder all close , i find many article  but all example have this  include   #include <Trade\PositionInfo.mqh> #include <Trade\Trade.mqh> but  where i find this library ? thanks
Stefano Cerbioni
Added topic why mql5 return me unexpected token ?
why in this part of code  void CloseALLOrders() {    // Aggiorna i tassi di cambio prima di chiudere gli ordini.    //RefreshRates();    // Stampa nel terminale il totale degli ordini, attuali e passati
Stefano Cerbioni
Added topic in mql5 why if i declare variable is not possible change ?
hi i have  declare in top of script  this code input int       OnOffChiusuraAuto= 0 ;   but why when i try to chage   return me  'OnOffChiusuraAuto' - constant cannot be
Stefano Cerbioni
Added topic function Time in mql4 exist somthing similar in mql5 ??
Hi  i look in manual but i not find something similar to function Time ,probably i not see , anyone   know if exist something similar?  thanks
Stefano Cerbioni
Added topic orderclose mql4 and positionclose in mql5 why is not equal ?
Hi i have  a script  in mql4   i want  convert in mql5 i have  a part in mql4  that do this if (OrderClose(VarOrder1,Size, 0 ,SlippaGe,Red)==False)
Stefano Cerbioni
Added topic i try to convert my EA mql4 to mql5
Hi guys   how can convert  in mql5   this part  of  code ?      ObjectCreate ( 0 , "ViPrimario" , OBJ_EDIT , 0 , 2 , 120 );     ObjectSetText( 0 , "ViPrimario" , "P1" , 10