Silon --
You must be precise in how you define Recent and Top. For example:
recent = 14; // this is maximum of 14 bars, including this one. You pick
the number.
top = HHV(Close, recent); // you might prefer High or Avg instead of Close
top = ref(top, -1); // we don't want to include today's close, but 14
previous days
percent = 0.01; // you pick number between -0.05 and 0.05
// -0.05<=percent<0 for your system 1
// percent = 0 for your system 2
// 0<percent<=0.05 for your system 3
system = High >= top * (1 + percent); // or use Close instead of High
Hope this helps.
-- Keith
1. c
On 9/4/2010 01:32, silon sama wrote:
[Attachment(s) <#TopText> from silon sama included below]
Dear All,
Any Body Can Help Me in Coding of 3 AFLS-pls find attachment
1.Closed or made intraday high below 1-5% from RECENT previous
rallie'S top
2. closed or made high above Recent previous ralliy's TOP
3 .Closed or made intraday high ABOVE 1-5% from previous rallies top
Yours Thankfully
Silon