Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How can I change the stop loss or take profit price while maintaining my position? #1293

Unanswered
benjajaminchoi asked this question in Q&A
Discussion options

How can I change the stop loss or take profit price while maintaining my position?

I believe that the only way to change the stop loss or take profit is to cancel the order and create a new order in the next function of the strategy.

Is there a better way to change the stop loss (SL) and take profit (TP)?

Have a nice day for everyone who read this question. Thankyou!

You must be logged in to vote

Replies: 1 comment

Comment options

See how Trade.sl and hot it is set (trade.sl = max(trade.sl, low)) in one of the tutorials.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /