Replies

18561682791
04 May 2020, 13:02

RE:

PanagiotisCharalampous said:

Hi there,

You should just multiply the tick size by the position's volume

Symbol.TickSize * position.Volume

Best Regards,

Panagiotis 

Join us on Telegram

 

thanks a lot . 

I think,I didn't make it clear

I want to calculate the exact balance: 
  Net profit on orders = ((double)position.StopLoss - position.EntryPrice)/ Symbol.TickSize*position.Quantity * Symbol.TickValue * Symbol.LotSize
// value of  StopLoss - EntryPrice

if the cbot load on"Eurusd" and there is a "BTCusd" order. Symbol.tickvalue!=Position.tickvalue(Suppose,) .  then calculated Net profit is wrong. So I
need Position.tickvalue  Position.Tickvalue  Position.lotsize. to calculate The order's not Symbol.Tickvalue 
 
thanks


@18561682791