What does the new ProtectionType parameter do?

Created at 07 Jan 2025, 15:20
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
ysftrades's avatar

ysftrades

Joined 09.04.2024

What does the new ProtectionType parameter do?
07 Jan 2025, 15:20


Hi all,

The ProtectionType is a new parameter added for placing an order with a stop loss and take profit.
I looked up the Help section to try and understand what does the ProtectionType parameter do. 
I understand that they are three values to choose from; ProtectionType.None, ProtectionType.Relative and ProtectionType.Absolute
I couldn't understand what is their effect. Could anyone be kind enough to elaborate how do these options effect an order or position?

Thank you


@ysftrades
Replies

firemyst
10 Jan 2025, 00:27 ( Updated at: 10 Jan 2025, 06:10 )

There's quite a few of us waiting for a response on this. You'd think Spotware would get the hint already and post some documentation on it.

 

Another post with the same question:

https://community.ctrader.com/forum/cbot-support/46002/

 


@firemyst