Hi, have made a small algo that places an order for a synthetic spread, it excutes well. I have then included a stop Loss(Stop Market of 5 tick). When i execute a trade it automtically exits me out of all the trades.....can anyone help?? what am i doing wrong?
I then assumed it was because i need a wider stop loss range so i updated 40 ticks, but still the same issue
Answer by AndrewR · Oct 16, 2020 at 06:08 PM
@salehshiffa - You are attempting to route an exchange native stop order with an Autospreader child order. That is not supported. You'll have to add your own trigger which, when hit, will submit a limit order.
AndrewR, thanks you so much for the info, When i get home will redesign and test out. Just so i confirm i understand. I will need to chnage the OrderBlock "Order0" to a limit order, also set a price limit, and a trigger on the on/off section(Of the Orderblock0) to execute the limit when condition is met...Also will this show liit order resting on the MD Trader...Hope it make sense?
Answer by salehshiffa · Oct 17, 2020 at 11:58 AM
Hi, Many thanks for that info.... So from what i understand, i need to change the exit order block "ExitOrder" to Limit Order, set a limit price to exit, and set a condition to execute via the On/Off port on the Order Block....please carrify if i am on the right page.
Also when i do apply this logic will i see the exiting order block "ExitOrder" limit order resting on the MD trader platform? is there away i can see it on the Ladder?
I just made a modification , and uploaded below...hope i am getting closer
Thanks, hope i am making sense
capture1.png
Answer by salehshiffa · Oct 18, 2020 at 11:16 PM
I have made some additions, i have put some condition to trigger the limit order to Exit. Is there anyway i can set this up to show a a stop loss on the ladder resting, my condition only execute when ertain condition are met.
Ask questions and share ideas about the TT® and X_TRADER® platforms.
First time here? See our Getting Started Guide and FAQs.
© 2017 Trading Technologies International, Inc. All rights reserved.
Powered by AnswerHub