Is this what you meant?
Up30 = IIf(C>LLV(L,30),5,4);

Plot(Close,"Close",1,1);

Plot(C,"Up30",Up30,styleArea);

  -----Original Message-----
  From: [email protected] [mailto:[EMAIL PROTECTED]
Behalf Of Sidney Kaiser
  Sent: Saturday, December 16, 2006 4:06 PM
  To: [email protected]
  Subject: [amibroker] testing the lows


  Close > LLV(Low, 30)   tells me if todays close is greater than the lowest
low in the last 30 days.

  What I need is to test if the close remains greater than the previous 30
day low.

  I am not certain, but I take this to mean the close should not go below
the previous 30 day low
  at any time during the 30 day period.  Would this require a loop to
evaluate it properly?

  Implementation ideas?

  Cheers, Sid

  

Reply via email to