PureBytes Links
Trading Reference Links
|
The solution offered by David Borger checks to see if the lowest low of X
bars starting Y bars ago was the same as the low of Y bars ago. In other
words if X is 10 and Y is 5 his solution will confirm that the 10 day low
starting 5 days ago occurred on the last day of the 10 day period (5 days
ago). That will not solve the question that was asked because a subsequent
low could have been lower and it would not be detected.
The question is "Did the lowest low of the last 10 days ago occur 5 days ago?"
Try this showme code instead.
Inputs: X(10), Y,(5);
If Lowestbar( L,X) = Y then plot1(H, "LBar");
At 12:17 PM 6/12/98 -0600, you wrote:
>Peter,
>
>Great job with an elegantly simple solution.
>
>Neil
>
>| -----Original Message-----
>| From: Peter Gibson [mailto:Peter_Gibson@xxxxxxxxxxxxxx]
>| Sent: Friday, June 12, 1998 10:08 AM
>| To: David Borger; omega-list@xxxxxxxxxx
>| Subject: Re: EL question
>|
>|
>| I think the following should work:
>|
>| Condition1=Lowest(Low,X)[Y]=Low[Y];
>|
>| -----Original Message-----
>| From: David Borger <borger@xxxxxxxxxxxxx>
>| To: omega-list@xxxxxxxxxx <omega-list@xxxxxxxxxx>
>| Date: June 12, 1998 8:37 AM
>| Subject: EL question
>|
>|
>| >Is there a quick and dirty way I can code a condition which tests to see
>| >whether an x day low way made exactly y days ago? Thanks.
>| >
>| >Dave
>| >
>| >
>| >
>| >
>|
>
>
Best Regards,
William Brower
Publisher of TS Express
The Journal for Informed Users of TradeStation
Free Sample Available (Send Mail Address)
Email: 1000mileman@xxxxxxxxxxxxxx
Web: http://www.insideedgesystems.com
Tel: 203-454-2754 Fax: 203-221-9195
|