faustf
faustf
faustf
Added topic socket in mql5 why "not work" the example ?
Hi i try to understund the socket in mql5 i take a example in help , i run it  and  return me 2024.11 . 09 12 : 06 : 39.109 TCP_PASS_DATA (EURUSD,H1)       Established connection to www.mql5.com : 80 2024.11
faustf
Added topic Mql5 socket for stream data terminal
Hi guys i have created this script #property copyright    "Copyright 2000-2024, MetaQuotes Ltd." #property link          " https://www.mql5.com " #property version      "1.01"
faustf
Added topic label in mt5 exist a fix label ?
In MT4, there are two types of text that can be written on the chart: "text" and "text label." The "text" option remains automatically anchored to the point where it was inserted, while the "text label," if placed at a specific point on the chart
faustf
Added topic Why Does MQL5 Behave Unexpectedly
I have a script in MQL5 derived from MQL4 with the appropriate libraries to make it 'work' on MQL5. It does work... but only when it feels like it. Here is the piece of code in MQL5 derived from MQL4.    string _Apri_Primario( string oPen
faustf
Added topic why not open a sell ??
Hi guys  i am in MT5 i try to open inthe same time one order in NZDJPY in buy and  one order  SELL in NZDUSD  i have create an expert i place over NZDJPY and push the button , the button call some function and  open only a
faustf
Added topic why this indicator not plot nothing ?
Hi guys  anyone can explain me why this indicator not plot  nothing ?  //+------------------------------------------------------------------+
faustf
Added topic icustom i can open a indicator in new template ?
Hi guys  with icustum  i can open a indicator in new chart , but i ask is possible open also in new chart a expertadvisor?  or  i must use a template  for do taht ? thanks
faustf
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]
faustf
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
faustf
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 (
faustf
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> //
faustf
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
faustf
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 //+------------------------------------------------------------------+
faustf
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
faustf
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
faustf
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
faustf
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
faustf
Added topic ordertype() in mql5 ?
hi guys  how can substitute  OrderType() in mql5 ?  thanks
faustf
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
faustf
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