Forum

why in oncalculate if call Time not return a right Time ?

Hi in simply function oncalculate in indicator , when i try to print Time[0] , bar (in formation) return me 2023.09.22 02:20:00 0_o why ? int OnCalculate ( const int rates_total, const int prev_calculated, const datetime &time[], const double

exist replay machine for mt5 or mt4 free ?

Hi guys like tittle i find a pluguin or similar to have a market replay for test my startegy i want know if exist somthing i try fx blue replay but i cant change my time frame anyone have somthing to suggest? thanks

but is possible draw diagonal line ?

hi guys i have creted a diagonal line but this line must pass in iterception of ass X and Ass y like fugure now i trace it with tool but i want the daw line directly by my code i sue this code //+------------------------------------------------------------------+ //| Expert initialization function

for me is a bug for you ?

I noticed that when a mega spike appears on a chart, like at the beginning of this morning's session, the chart gets confined between the spike’s extreme high and low. Even if I zoom in, the chart remains compressed and hard to read. To get a decent view, I have to scroll back until the overnight

is possible open chart without chart?

Like title , is possible open chart without chart ? or i can do it only if i cover up with colored square ? thanks

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 . 09 12 : 06 : 39.109 TCP_PASS_DATA (EURUSD,H1) GET request sent 2024.11 . 09 12 : 06

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" #property script_show_inputs input string Address = "127.0.0.1" ; input int Port = 8080 ; bool ExtTLS = false ; bool

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, will move away from that point when you scroll the

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, double lott, int slipp, double STp, double TKp, string

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 BUY NZDJPY and not openNZDUSD this is my part of code string _Apri_Correlato(