Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Twitter üzerinde bulun!
Fan sayfamıza katılın
Kodu ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Kodu beğendiniz mi? MetaTrader 5 terminalinde deneyin
Komut dosyaları

Get Position commission OrderCommission (mt4 term) of an active position in MT5 - MetaTrader 5 için komut dosyası

Farrukh Aleem
Farrukh Aleem
I am a programmer and perfectionist i always keep searching for best solutions and experiments never fail to surprise me.
What I Offer:
✅Custom Indicators Development: Crafting precise and innovative indicators for both MT4 and MT5.
Görüntülemeler:
6525
Derecelendirme:
(11)
Yayınlandı:
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

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


use function.


double PositionCommission(ulong pTicket)

    This function will print all orders commission.

    Current Relative Drawdown Current Relative Drawdown

    The DD_Relative function calculates the drawdown (relative loss) of the current trading account in percentage. To do this, it uses the Current_LossOrProfit() function to get the current profit or loss for all open positions and divides it by the current account balance. The result is rounded to two decimal places and displayed in the chart comment. The Current_LossOrProfit() function loops through all open positions in the account and adds the commission, swap, and current profit or loss for each position. The result is rounded to two decimal places and returned as the current profit or loss of all open positions.

    Hurst Exponent - optimized version Hurst Exponent - optimized version

    Hurst Exponent - optimized version

    Weighted deviation Weighted deviation

    Weighted deviation

    Weighted deviation bands Weighted deviation bands

    Weighted deviation bands