PureBytes Links
Trading Reference Links
|
<SPAN
class=967593018-12082003>Dimitris,
<SPAN
class=967593018-12082003>
I
should have looked more carefully before hitting send. This was some old code I
pulled out of a file to answer the post. Of course you are correct. The
x/y>.9 part should not address x and y but the spread between the 20 and 50
day MA's. Thanks for catching the error. I will have a closer look after the
markets settle down.
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: DIMITRIS TSOKAKIS
[mailto:TSOKAKIS@xxxxxxxxx]Sent: Tuesday, August 12, 2003 2:08
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re:
Pristine Trading Method testingJayson,In your
x/y>.9 you divide by zero and this may cause some further confusion. On
the other side, before this, you ask (x AND y), which implies x==1 AND y==1,
ie x/y to be equal to 1. After this, what is the meaning of x/y>.9
?Dimitris Tsokakis --- In amibroker@xxxxxxxxxxxxxxx, "Jayson"
<jcasavant@xxxx> wrote:> Steve,> Here is my approximation of
the Pristine Buy and Sell signals. To plot the> arrows just paste to
the top of your price code. Let me know how you make> out with any of
the others disciplines....> > Regards,> Jayson>
> > > x=(MA(C,20)<Ref(MA(C,20),-10));>
y=(MA(C,50)<Ref(MA(C,50),-10));> Short1=((x AND y) AND x/y>.9) AND
(L>Ref(L,-1) AND Ref(L,-1)>Ref(L,-2) AND>
Ref(L,-2)>Ref(L,-3))AND C<MA(C,50);>
x1=(MA(C,20)>Ref(MA(C,20),-10));>
y1=(MA(C,50)>Ref(MA(C,50),-10));> long1=((x1 AND y1) AND y1/x1>.9)
AND (H<Ref(H,-1) AND Ref(H,-1)<Ref(H,-2)> AND
Ref(H,-2)<Ref(H,-3))AND C>MA(C,50);> range=ATR(14)*.75;>
triggerl=(Ref(Long1,-1) AND H>(L+range) AND C>Ref(C,-1));>
triggers=(Ref(Short1,-1) AND L<(H-range) AND C<Ref(C,-1));>
> PlotShapes(triggerl, colorBrightGreen, 0,C-ATR(1) );>
PlotShapes(triggers*2, colorRed, 0,C+ATR(1) );> > -----Original
Message-----> From: stevemajors [mailto:stevemajors@xxxx]> Sent:
Monday, August 11, 2003 2:47 PM> To: amibroker@xxxxxxxxxxxxxxx>
Subject: [amibroker] Pristine Trading Method testing> > >
Has any one written systems to test the "Pristine" trading styles> (Core,
Swing, Gurrella etc.)? Just checking if there if someone had>
already coded these styles before I tried to code them. Any
comments> on there use would be appreciated.> >
Thanks> > > >
Yahoo! Groups
Sponsor>
ADVERTISEMENT> > > > > Send BUG REPORTS to
bugs@xxxx> Send SUGGESTIONS to suggest@xxxx>
-----------------------------------------> Post AmiQuote-related messages
ONLY to: amiquote@xxxxxxxxxxxxxxx> (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>
--------------------------------------------> Check group FAQ at:>
<A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|