Robot.ModifyPosition method

Created at 12 Oct 2018, 12:31
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!
RE

RezaNoorimotlagh

Joined 12.10.2018

Robot.ModifyPosition method
12 Oct 2018, 12:31


Hi All,

I can't find this Shortcut "Robot.ModifyPosition method", for change the Stop Loss pips in cTrader software.

When, i use this method "ModifyStopLossPips (double? stopLossPips)" in cBot, system produce the below error:

Error CS0103: The name 'ModifyStopLossPips' does not exist in the current context

Actullay, this method isn't exist in my cTrader Reference.

 

Thanks.


@RezaNoorimotlagh
Replies

PanagiotisCharalampous
12 Oct 2018, 12:35

Hi noorimotlagh.reza,

Thanks for posting in our forum. Which version of cTrader do you use? Can you post your cBot code so that we can fix it?

Best Regards,

Panagiotis


@PanagiotisCharalampous

RezaNoorimotlagh
12 Oct 2018, 12:48 ( Updated at: 21 Dec 2023, 09:20 )

RE:

Panagiotis Charalampous said:

Hi noorimotlagh.reza,

Thanks for posting in our forum. Which version of cTrader do you use? Can you post your cBot code so that we can fix it?

Best Regards,

Panagiotis

Hi Panagiotis,

I use from version 3.0 of cTrader. You can see in below figures that "ModifyStopLossPips" isn't exist in my cTrader reference.

Actually, i need to this method for several code, i don't want to use from this method " double? stopLoss = Symbol.Ask- 10*Symbol.PipSize".


@RezaNoorimotlagh

PanagiotisCharalampous
12 Oct 2018, 17:49

Hi noorimotlagh.reza,

This method is available only in Spotware Beta 3.3.

Best Regards,

Panagiotis


@PanagiotisCharalampous

RezaNoorimotlagh
12 Oct 2018, 19:35

RE:

Panagiotis Charalampous said:

Hi noorimotlagh.reza,

This method is available only in Spotware Beta 3.3.

Best Regards,

Panagiotis

Dear Panagiotis,

Thanks for your help and support.

Regards,

Reza


@RezaNoorimotlagh