PureBytes Links
Trading Reference Links
|
You cannot reply to this message via email because you have chosen not
to disclose your email address to the group. Please use this
page to reply.
<FONT face=Arial color=#0000ff
size=2>hi,
<FONT face=Arial color=#0000ff
size=2>
..i'm
a bit new at this, but it looks a little like you have only specified the
minimum setting (being 5 days), and probably also need to specify the
limit you want to close out to "after" the minimum setting of 5 days has passed.
There
are 2 ways perhaps, if 5 days is used as an integer rather than a range, then
just '=6' might work (will close on the the 6th day). Or if you want to
test over a range of days after the 5th bar, then maybe just set
a max and min... maybe '>5 AND <10' for example?
sorry
if this is not right, just trying to help..
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>cheers, mike
<FONT face=Tahoma
size=2>-----Original Message-----From: chellester2002
[mailto:chelle@xxxxxxxxxxx]Sent: Wednesday, 23 October 2002 10:55
AMTo: equismetastock@xxxxxxxxxxxxxxxSubject:
[EquisMetaStock Group] barssince - what am I doing
wrong??Hi, I must be doing something wrong with my
formulas etc -(Only had MetaStock for a couple of weeks, so thats quite
possible!!)I want to test trades that last a number of days, say 5, but I
can't see a simple way of doing this. What I've tried is setting up
the buy signals, getting that all working, and then for closing using the
barssince function. For example if the Enter Long formula
wasc>(BBandTop(c,20,S,2)) I would be trying to close
bybarssince(c>(BBandTop(c,20,S,2)) )>5 but in
my tests, I'm still getting results where the longest trade was for up to
300 days!! I've also tried using if() in a similar
manner.Can anyone tell me what I'm doing wrong, or if there is a
better way to do this.Thanks so much, it's driving me
nuts!!To
unsubscribe from this group, send an email
to:equismetastock-unsubscribe@xxxxxxxxxxxxxxxYour
use of Yahoo! Groups is subject to the <A
href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
<font face=arial
size=-2>ADVERTISEMENT<img src="http://ad.doubleclick.net/ad/N879.ameritrade.yahoo/B1054521.11;sz=300x250;adc=ZHS;ord=1035338700?" alt="" width="300" height="250"
border="0">
To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|