How to Create OCO Breakout Orders or Turn Off Hedging
4 replies
Michael47x
6 years ago #261773
How do I create OCO, One Cancels Other orders as a way not to activate Hedged orders or better yet flip a switch not to allow hedged orders.
I like the idea of setting up pending breakout orders but once one side or the other is activated (the breakout) the other pending order is cancelled.
0
Tomas Matejka
6 years ago #261778
Hello,
check the attached example on OCO pending orders
0
hankeys
6 years ago #261784
deleting OCO pending order only ON BAR?
because it could happen that the opposite pending order should be triggered on 1 candle
shouldnt be ON TICK?
You want to be a profitable algotrader? We started using StrateQuant software in early 2014. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM.
0
Tomas Matejka
6 years ago #261789
You are right. It is a much better option to cancel with “on tick” regime. Made a modified example attached
0
Michael47x
6 years ago #262001
Thanks guys.
0
Viewing 4 replies - 1 through 4 (of 4 total)