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

Re: [amibroker] holdtill()



PureBytes Links

Trading Reference Links

How about
iff(condition, expression, 0)
TomE

farriners@xxxx wrote:

> Hi,
> The function hold(expression,periods) obviously needs to know the
> number of periods.
> I want to hold a value until a condition occurs.
> I have suggested to TJ that a holdtill(expression,condition) would be
> useful.
> Can anyone suggest a way to code this? (in case TJ doesnt like the
> idea!)
> Regards Don.
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/