is it possible to modify the sample trend robot to have a functional take profit setting

Created at 24 Jun 2013, 19:40
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!
HA

hamza786

Joined 24.06.2013

is it possible to modify the sample trend robot to have a functional take profit setting
24 Jun 2013, 19:40


hi

is it possible to modify the sample trend robot so it has a functional take profit setting without affecting anything else such as orders being closed when an oppisite trend is generated.

and if it has how and what do i change


@hamza786
Replies

cAlgo_Fanatic
26 Jun 2013, 11:47

Yes, see the example here: ModifyPosition 

We will make a modified version and upload it to the Robots section. Just to be clear on the definition of this, setting take profit to a position will close the position once the price reaches that level, that is, according to the definition of the algorithm, if it has not already been closed, by an opposite trade having been generated.


@cAlgo_Fanatic