Register Login
Forums    February 6, 2012
TradersStudio Forums
Implementing IF DONE orders
Last Post 03-28-2007 07:05 PM by David Rooke. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Howard Elliott
New Member
New Member
Posts:1

--
03-19-2007 11:19 PM

    Hi,

    Can anyone tell me the best way to implement an IF DONE order.

    For example, consider the following order:

    BUY 1 contracts ON STOP 0.8550
    IF DONE BUY 2 contracts ON STOP 0.8530

    EXITALL LONG ON STOP 0.8510

    Basically the system enters long 1 contract on a set of criteria (this part is done). If the price falls to a certain level, I want to average down. If it falls further, to another level, then I exit all longs.

    Thanks,

    Howard

     

    David Rooke
    New Member
    New Member
    Posts:22

    --
    03-28-2007 07:05 PM

    Hi,

    The first way that springs to mind is to track the value of the marketposition variable. If it rises by one, ie. your buy stop was filled, place two more buy stops etc.

    This depends on marketposition being incremented immediately rather than at the end of the bar of course.

     

    Thx

    D

    You are not authorized to post a reply.


     TradersStudio, Inc. ® Copyright 2004-2012 All Rights Reserved   Terms Of Use  Privacy Statement