Forum

DialogBox issue

Hi ! I have one question, I have a dialog box on the chart, and everutimi I minimize it it goes on the left top corner and it is dificult to drag it because there is also charts trading panel it that location. Is it posibile to change the place where my dialog box will go when minimize it

OrderCalcProfit

#property script_show_inputs input bool allsymbols= true ; input bool alltrades= true ; // All Trades(pendings also) void OnStart () { int total = PositionsTotal (); double profit= 0 ; for ( int i= 0 ;i<total;i++) { ulong tick= PositionGetTicket (i); if (

mql5 mobile

Hi ! I logged in mql5 mobile with same user/password that I use for desktop mql5, but for mobile app, it will not allow me to trade .. it is saying that I have to log in with master password not with investor password . I only have one password, which works fine with desktop mql5. Kindly advice

Notification

Hello! I keep receiving this notification on my terminal send request failed(invalid certificate). This notification starts once I open the first trade on terminal. I closed the trade, notification keeps coming. If I restart the terminal, notifiation stops until I open again one trade. Kindly

FileRead String mql5 vs mql4

Hello! I write into a file with mql5 script #property strict #define FILE_NAME "test.bin" //+------------------------------------------------------------------+ //| Script program start function |

TradeCopier

Hello! I made a EA which copies trades between two terminals . It is all working fine but I am facing an issue. There is a difference of price for the same pair, between the two brokers. For SL and TP I send the price across, but if there is a diference in prices, then the distance between open

Create Objects

Hello! I have created a panel and on the panel I have placed several other objects( buttons etc). When I place this panel on the chart it will go on top of other objects that are already on that chart. But If I add another object, for example like a vertical line, it will go on top of this panel. (

Global variable missing

Hello! I have saved a GlobalVariable() on Friday , and today I had a computer crash, and after I have restarted and checked, global variable is missing . Should that happen

Mql5 Strategy Tester Profit Calc Wrong?

Hello! I have an issue with the strategy tester. Kindly advice what am I doing wrong. The calculation of the profit in the tester seems wrong. Pls find attached screenshot from the log

Strategy tester

Hello, Bellow function giving always result of 0 in the strategy tester , but is working when loaded on a script. I do not understand why Thanks! double ATR( int index, ENUM_TIMEFRAMES timeframe) { double atr[]; double res= 0 ; int maxtries = 3 ; int retrycount= 0 ; ArraySetAsSeries