Reply

Close all LONG Positions or all SHORT positions only

1 replies

daveM

Subscriber, bbp_participant, community, customer, sq-ultimate, 110 replies.

Visit profile

7 years ago #116184

I would like to know how to close only Long or Short when there is a trend change.

 

I have found ‘Close all positions’ but so far, do not know how I can close only the one direction.

 

Does someone have a routine that I can use…?

 

Thanks

 

daveM

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #141041

Hello,

 

there are two options here:

1) you need to somehow know all the long or short magic numbers and setup close for all of them

2) you can create a custom function that does this for for a selected symbol

 

Let me know if you need help with this

0

Viewing 1 replies (of 1 total)