Hi Guys Im hoping someone on here can help me or at least point me in the right direction. Currently i am using X_Trader V7 (Pro) to trade futures. I have limited understanding of the API, but currently have and excel spreadsheet linked to TT which shows all current positions and P&L. What i would like to know is how would I be able to programme a function (or what would be the easiest way) to develop a P&L driven trade out feature. I.e if for example P&L prints -$1000 then X_Trader automatically pulls all orders from markets (all exchanges and ladders, a bit like the "delete all" plug in) and then sends the trade out function to all markets with open positions. Is there any features in X-Trader or its plug ins that will allow this, or will this have to be developed by someone. Cheers Daxspreader. P.s. mods im not sure if this it the most appropriate section for this question or should i put it in "Automated trading"