[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: referencing last buy price



PureBytes Links

Trading Reference Links

B1=ValueWhen(Buy,C);
This function will preserve the buy price till the next buy signal.
DT 
--- In amibroker@xxxx, "Harold Harper" <harold@xxxx> wrote:
> Is there a way to reference the last buy price?
> 
> For example, I want to sell (and also, for that matter, take on a 
> short position) if the close is lower than the buy price.
> 
> I'm sure the answer is obvious but I don't see it.
> 
> Thanks.
> 
> Harold Harper
> harold@xxxx