Cbot Reference about stoploss

Created at 19 Mar 2025, 21:55
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!
KR

kronight

Joined 18.03.2025

Cbot Reference about stoploss
19 Mar 2025, 21:55


 

1.What is the variable between the two commas in the example?

2.In the example, whose variable is the last 2?

3.Why is it that after filling in the stop loss and stop profit, only the stop profit is actually effective?
In the picture below, the entry price is 1.02386, the stop loss is 1.02438, and the take profit is a market price sell order of 1.02282

4.I called ModifyPosition and it also reported a parameter error (as shown above). The code call is shown below, and the specific parameters passed in are shown in the print.


@kronight