Help with code for taking profit

Created at 06 Mar 2018, 10:33
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!
SO

solomonsny@gmail.com

Joined 06.03.2018

Help with code for taking profit
06 Mar 2018, 10:33


Hello,

I've been researchin around the internet and i can't seem to find a cbot that can do exactly what am looking for. So here is my request.

I am currently trading on the GBPJPy on 4hr timeframe and according to statistical analysis, am setting my stop loss at 20 pips and take profit at 40 pips. My problem is my take profit is being hit way too early. So essentially once the trade moves in my direction and hits 40 pips, i want to do 3 things from there:

1.....move up the take profit figure by 10 pips 

2....move the stop loss to 30 pips 

3....keep moving both the stop loss and take profit figure up by 10 pips in 10 pip intervals.

Am new to coding in clago but am getting the hang of it so the codes are becoming easier to undersand with time.

 

Any help is highly appreicated.


@solomonsny@gmail.com
Replies

PanagiotisCharalampous
06 Mar 2018, 10:41

Hi solomonsny@gmail.com,

Thanks for posting in our forum. What you are asking for needs some substantial development effort. If you need professional help with your cBot, you can contact a cAlgo Consultant.

Best Regards,

Panagiotis


@PanagiotisCharalampous

ClickAlgo
10 Mar 2018, 17:08 ( Updated at: 11 Dec 2020, 09:20 )

Hi Solomon,

We are to help, please get in touch with us, our rates are very reasonable.

 

 

Paul Hayes
cTrader Specialists
Emailcontact@clickalgo.com
Phone: (44) 203 289 6573
Websitehttps://clickalgo.com


@ClickAlgo