Niko Posted June 5, 2023 Report Share Posted June 5, 2023 Hi, Here is what i'm trying to do : Set one StopLimit buy at +1% (Limit at +2%) and Set one StopLimit sell at -1%(Limit at -2%) I'm able to do it if I create 2 orders, but i'd like to create it as an OCA. Is that possible ? Thank you ! Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted June 5, 2023 Report Share Posted June 5, 2023 No, cannot do that. OCA should be in the same direction (like one STOP and one LIMIT). As for the error in the 2nd leg in general, if you make it offset(Bid-Ask*0.02) it will fix that. Quote Link to comment Share on other sites More sharing options...
Niko Posted June 5, 2023 Author Report Share Posted June 5, 2023 Thank you Jerry. Now, i'm just trying to add a 1% StopLoss to my entry but the StopLoss is way off where it's supposed to be : Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted June 5, 2023 Report Share Posted June 5, 2023 On the 2nd leg, do offset(-Ask*0.02) and offset(-Ask*0.01) Quote Link to comment Share on other sites More sharing options...
Niko Posted June 5, 2023 Author Report Share Posted June 5, 2023 Yesss, it works, thank you so much ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.