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
This website uses cookies to enhance site navigation, analyze site usage, and assist in our marketing efforts. By clicking “Accept All” you are providing your consent to our use of all cookies. Alternatively, please provide your choice by pressing “Customize Cookies”. For more information, please read our Privacy policy
18561682791
04 May 2020, 13:02
RE:
PanagiotisCharalampous said:
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