Replies

Saad_D
06 May 2024, 12:01 ( Updated at: 07 May 2024, 05:53 )

RE: Inquiry Regarding Stop Loss and Take Profit Formulas in cTrader

PanagiotisCharalampous said: 

Hi there,

There is no formula for Price and Balance. They are fixed values. Regarding the rest

Pips: (Entry Price - Bid/Ask Price) / Pip Size 

P&L: (Volume * (Entry Price - Bid/Ask Price)) - (Commissions + Swaps)

Best regards,

Panagiotis

Thank you for your response. However, it did not address my specific query regarding the calculation of Stop Loss and Take Profit values in the input fields before opening a position. I am seeking clarification on how the Entry Price is determined.

In your previous response, you provided the formula for P&L calculation as: (π‘‰π‘œπ‘™π‘’π‘šπ‘’Γ—(πΈπ‘›π‘‘π‘Ÿπ‘¦π‘ƒπ‘Ÿπ‘–π‘π‘’βˆ’π΅π‘–π‘‘/π΄π‘ π‘˜π‘ƒπ‘Ÿπ‘–π‘π‘’))βˆ’(πΆπ‘œπ‘šπ‘šπ‘–π‘ π‘ π‘–π‘œπ‘›π‘ +π‘†π‘€π‘Žπ‘π‘ )(VolumeΓ—(EntryPriceβˆ’Bid/AskPrice))βˆ’(Commissions+Swaps)

If the Entry Price is the same as the Bid/Ask Price (for example, 3152), and considering a Volume of 1 with Commissions and Swaps as 0, the result would be: 1Γ—3152βˆ’3152βˆ’(0+0)=00Γ—3152βˆ’3152βˆ’(0+0)=0 This result appears to be incorrect.

I am specifically inquiring about the functionality within Spotware's cTrader, as shown in the attached screenshot. How are these calculations interconnected? For instance, if I enter 100 pips, how is the price formulated as 64517.05, when my current price is 64528.600? Additionally, could you provide detailed documentation on these calculations?

Your assistance in clarifying these points would be greatly appreciated. Thank you.

 


@Saad_D