hmm. i did it the hard/clumsy way for now. 

BuySignal = BuySignal AND ( 
    ( (Ref(L,1)<=C-0.50) AND Ref(SellSignal,1)==0 )
        OR ( (Ref(L,2)<=C-0.50) AND ( Ref(SellSignal,1)==0 AND 
Ref(SellSignal,2)==0)  )
        OR ( (Ref(L,3)<=C-0.50) AND ( Ref(SellSignal,1)==0 AND 
Ref(SellSignal,2)==0) AND Ref(SellSignal,3)==0  )
);
BuyPrice =C-0.25;



--- In [email protected], "Chaitanya" <kci...@...> wrote:
>
> Hello all,
> 
> Is there an easy way to test if i want to wait for a slightly better  price 
> (say 1%) than the standard buy signal (bake it into the buy signal) but 
> ofcourse entry valid only until i get the standard sell signal.
> 
> Example: Say i got a long entry into X at 25.00 using a system and exit at 
> say 27.00. And say it took 15days for the trade. To test what i want, i need 
> to go through all bars between my entry and exit and see if the high of any 
> of them went above 25.25. How do i do this easily? 
> 
> Thanks
> -gariki
>


Reply via email to