Yupeng Xiao / Publications
Forum
how can I get the value of "Percentage" use mql5 function when i calculate the CFD Margin?
SYMBOL_CALC_MODE_CFD CFD mode - calculation of margin and profit for CFD Margin: Lots *ContractSize*MarketPrice*Percentage/100 Profit: (close_price-open_price)*Contract_Size*Lots how can I get the value of "Percentage" use mql5 function when i calculate the CFD Margin