Warning Issues

Created at 24 Dec 2024, 18:58
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!
CH

chrismarcello

Joined 24.12.2024

Warning Issues
24 Dec 2024, 18:58


Hey guys,

Any advise would be appreciated. Have a current warning that i cant get passed. Where would i find the new version with ProtectionType parameters?
My algo was working fine prior to an update i conducted last week.


Warning CS0618: 'Robot.ModifyPosition(Position, double?, double?)' is obsolete: 'Please use new version with ProtectionType parameter.' line: 152, column: 50

Thanks, Chrisso


@chrismarcello