Again ... Can anyone suggest a way to do this?

--- In [email protected], "onelkm" <lkm...@...> wrote:
>
> In the example below, I buy 3 stocks in a watch list based on the Buy 
> condition. Let's say stock 1 stopped out, so the next day the system buys a 
> new stock, stock 1A, to replace it and again holds 3 stocks. But, I want to 
> only buy and replace stock 1 after stock 1 has met the sell condition, which 
> could be several days later. Thus the system would only hold 2 stocks for a 
> period of time until the sell condition is met. Is there a way to do this?
> 
> SetTradeDelays(1,1,1,1);
> PositionSize = -100/3;
> Buy = Cross(C,MA(C,200));
> Sell = Cross(MA(C,50),C);
> ApplyStop(stopTypeLoss, stopModePercent,  5); 
> 
> Thanks in advance
> Larry
>


Reply via email to