Sorry for barging in. I want to use Plotshapes to give up & down arrows on the lowest & the highest of last 12 bars. Only one up arrow & only one down arrow, only on the topmost & the bottommost price of the last 12 bars.
Can someone please guide me? Thanks, Vinay On Mon, 04 Jan 2010 06:00:35 +0530, Mike <sfclimb...@yahoo.com> wrote: > The values that you are looking for will potentially be different at every > bar. In other words, you must use an array, as you have already started to > use. > > LLL = LLV(Low, 24); > HHH = HHV(High, 24); > > Mike > > --- In amibroker@yahoogroups.com, Ding Li <lasallewashing...@...> wrote: >> >> Hi, guru's, >> >> I'd like to get highest and lowest value during last 24 bars. But the code >> below is not working properly. Anyone can see what's wrong with the code? >> thanks and happy new year� >> >> ... >> LLL = ValueWhen(L==LLV(Low, 24),Low,1); >> HHH = ValueWhen(H==HHV(High, 24),High,1); >> ... >> >> >> D >> > > > --