Thread: How to code?
View Single Post
  #117 (permalink)  
Old 06-25-2006, 01:35 AM
Aaragorn's Avatar
Aaragorn Aaragorn is offline
Senior Member
 
Join Date: Jun 2006
Location: USA
Posts: 801
Aaragorn is on a distinguished road
Need Account triggered stop loss code..programmers wanted

I would like to use a stop loss that is triggered based on the account equity falling below the account balance by a specified percent. With one strategy something simple like ZERO percent should work ,but I'd like to be able to use this on other strategies too so I'd like to be able to specify a tolerance percentage of loss for each losing position this way. On triggering I would like it to close all open orders.

Could someone make this for me. I have a strategy that would really benefit from this. Trouble is that a traditional stop loss messes it up. If I can get the losers stopped out so they don't draw down the equity from the winners it should really rock and roll.

Last edited by Aaragorn; 06-25-2006 at 01:40 AM.
Reply With Quote