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

Re: HOLDTILL()



PureBytes Links

Trading Reference Links

Dim,

buy=cross(macd(),ma(macd(),9);
sell=cross(stoch(),70);
buy=exrem(Buy,sell);
flip(buy,sell)

is it good?

Stephane

> I hope that the following will make things more clear.
> Suppose that I want to hold the Close value, when 
> macd() crossed its signal, until the moment stochd()
> crosses 70 line.
> The cross(macd(),signal()) is true at A and B.
> Which value will be holded until point C, where
> cross(70,stochd()) is true?
> DT