Add OCO Logic To An Algo
Create an OCO algo and save it as a Library Block in ADL for easy access to that logic. #TTtips
This is a possible example of how to put together the logic to have your exit or hedge logic with a Sell Side OCO type behavior. This was also created as a saved Library Block that could be applied in other algos you create down the road.
The first things you want to determine are:
- Profit ticks you wish your hedge logic to work all entry side fills
- Stop Trigger Price level based on ticks away from entry side fill price
- Stop Limit Price level based on ticks away from entry side fill price
Once you determine these levels, you want to create these Library Block inputs as User Defined variables. From looking at the screen shot of the logic inside the Library block. You will notice that there is a Profit side and a Stop side.
Head of Wealth Products and Management at KVB Kunlun
7 年Standard FX trading...lol not sure the big deal.