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

RE: [amibroker] testing the lows



PureBytes Links

Trading Reference Links

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: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On
Behalf Of Sidney Kaiser
  Sent: Saturday, December 16, 2006 4:06 PM
  To: amibroker@xxxxxxxxxxxxxxx
  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

  

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.21/589 - Release Date: 12/15/2006 5:10 PM