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

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