거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
스크립트

Get Position commission OrderCommission (mt4 term) of an active position in MT5 - MetaTrader 5용 스크립트

조회수:
3581
평가:
(10)
게시됨:
2023.03.02 12:01
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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