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

Re: referencing last buy price



PureBytes Links

Trading Reference Links

Good point, Al, but as I was looking at this, it occurred to me that 
this:

(B1=ValueWhen(Buy, Open);

...would give the vzlue of the open on the day of the buy signal -- 
which would have already passed.

May I repectfully suggest this small revision:

B1 = ValueWhen(BarsSince(Buy) == 1, Open);
/* The value of the open the morning after the buy signal */

Best Regards,

Nick Molchanoff