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

Re: Remebering a value



PureBytes Links

Trading Reference Links

Perhaps it can help you

L1= Low < Ref(LLV(Low,5),-1);
L2= BarsSince(L1);
L3= High > Ref(HHV(High,5),-1) AND L2>0;
Plot(L2,"",7,1);
Plot(L3,"",8,1);


> I try to come up with a code that tells AB to look for high>Ref(hhv
(high,-5,-1) to be true when low<Ref(llv(low,5),-1) is true, i.e. a 
specific bar from which the hhv and/or llv functions should start.
> 
> Has ansone an idea how to do this???????????
> 
> Any comment/suggestion is welcome. I´m going crazy on this.
> 
> Markus