Codes

Get Position commission OrderCommission (mt4 term) of an active position in MT5 for MetaTrader 5

Get commission of an active position in mt5 , its easy to use function

Forum

Urgent: Critical Bug in MT5 Demo Server Caused Account Blowout

I have been testing my trading strategy on an MT5 demo account for the past three months, and the testing had been running smoothly until last night, when the account was unexpectedly blown due to what appears to be a critical bug. As shown in the attached evidence, my GBPUSD trades were closed at

Ubuntu mt5 false debugger detection after recent update.

Until recently, MT5 and my Ubuntu server were running perfectly fine. However, the latest MT5 update has broken its functionality on Ubuntu. MT5 previously had compatibility issues with Wine 10 and Wine 11, so I downgraded to Wine 9 approximately six months ago. After that, MT5 ran normally without

Calculating Trend line slope in degree.

Hi, I am trying to figure out slope degree calculation ,is it possible to calculate correctly. i am using following data p1= 1.17657 p2= 1.17854 angle(as told in mt5 chart) = 55 or 56 d1=D'2017.12.15 01:11' d2=D'2017.12.15 12:31 i have tried inverse tan or MathArctan. I am not getting

MQL4 to MQL5 convert question.

I am converting my code for mql4 to mql5. In mql4 i had a ticket of trade i selected it from history and was able to get pips gained. In mql5 i am able to select that order using ticket HistoryDealGetDouble(ticket,DEAL_PROFIT); but profit is 0 because ticket of deal out is different , how to get

Question about mql5.com username

hello, I see some users name are strikethrough testusername like that.. what does that means