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

RE: [EquisMetaStock Group] SPY code update



PureBytes Links

Trading Reference Links





Hi 
JO,
 
What 
are the specific rules you are trying to code for your buys and 
sells?  If you provide a general description perhaps I (or someone 
else) can give it a shot on 8.01.  I know you mentioned a 4% rule on the 
$VLE and a 20dma rule but what are they specifically?
<FONT face=Arial color=#0000ff 
size=2> 
Good 
Trading,
<FONT face=Arial color=#0000ff 
size=2> 
Joe 
J.   <LABEL 
id=HbSession SessionId="2424178850">
 

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: manohohman 
  [mailto:no_reply@xxxxxxxxxxxxxxx]Sent: Wednesday, November 19, 2003 
  11:23 PMTo: equismetastock@xxxxxxxxxxxxxxxSubject: 
  [EquisMetaStock Group] SPY code updateThanks Martin. 
  I appreciate your assistance. Unfortunately we're still 
  stuck.Here's the code for the VLE part. I wrote it as an expert so you 
  can attach it directly to the SPY chart. However, it does not test out 
  properly. I'm looking at the formula and MS to see if either one is 
  the problem. To make an expertHighlight 
  Buya:=Security("online:$VLE",C);X:=If(Cum(Ref(a>Lowest(a)*1.04 
  OR a<Highest(a)*.96,-1))=0,If(a>Lowest(a)*1.04,1,  
  If(a<Highest(a)*.96,-1,0)),If(PREV=1,If(a<HighestSince(1,PREV<1,a)*.96,-1,PREV),  
  If(a>LowestSince(1,PREV>-1,a)*1.04,1,PREV)));I:=Cum(1)<=2;State:=BarsSince(X=1 
  OR I)<BarsSince(X=-1 OR I)+(Cum(X=1)=1);State;Symbols 
  Buya:=Security("online:$VLE",C);X:=If(Cum(Ref(a>Lowest(a)*1.04 
  OR a<Highest(a)*.96,-1))=0,If(a>Lowest(a)*1.04,1,  
  If(a<Highest(a)*.96,-1,0)),If(PREV=1,If(a<HighestSince(1,PREV<1,a)*.96,-1,PREV),  
  If(a>LowestSince(1,PREV>-1,a)*1.04,1,PREV)));I:=Cum(1)<=2;x=1 
  AND Ref(x,-1)=-1Symbols 
  Sella:=Security("online:$VLE",C);X:=If(Cum(Ref(a>Lowest(a)*1.04 
  OR a<Highest(a)*.96,-1))=0,If(a>Lowest(a)*1.04,1,  
  If(a<Highest(a)*.96,-1,0)),If(PREV=1,If(a<HighestSince(1,PREV<1,a)*.96,-1,PREV),  
  If(a>LowestSince(1,PREV>-1,a)*1.04,1,PREV)));I:=Cum(1)<=2;x=-1 
  AND Ref(x,-1)=1You don't need a highlight sell if you color your line 
  red. It's the inverse. This is without the 20 dma. You can add 
  that to the chart by hand.Everything looks right but something is out 
  of wack. Back to the drawing board. it predicts the trend changes nicely. 
  --- In equismetastock@xxxxxxxxxxxxxxx, 
  "praktikus_ms" <praktikus@xxxx> wrote:> Hi JO,> 
  > What people like you, Roy and many others do here in this group is 
  > greatly appreciated by me (and I guess many others too). It helps 
  me > a lot to get a greater unterstanding of MS. Thank you all for 
  your > posting!> > A really good way of further 
  improvement is the give and take rule. > Only the one who teaches 
  realizes what he can learn from that.> > JO, I was not sure wich 
  version of MS you are using and from my > expirience I know that a lot 
  of people dont know the Security Data > function. > > I 
  was just trying to assist with my little knowledge and was not > aware 
  of the problems you described. From my use I did not come up > with 
  similar problems.> > Thank you,> > Martin > 
  >  > > While this one looks the same on the surface, Roy 
  and I have been > > exchanging data and it has yet to work properly. 
  Roy has found at > > least part of the problem with false signals 
  and overlapping > signals > > leading to wrong 
  interpretations of trades. Hopefully in a couple > of > > 
  more days, we'll have it ironed out. The backtesting seems to work 
  > > better for Roy using MS 7.02. MS 8.01 still has a few issues. As 
  I > > said these problems didn't come up on TradeStation. MS is 
  a little > > more ridgid.To 
  unsubscribe from this group, send an email 
  to:equismetastock-unsubscribe@xxxxxxxxxxxxxxxYour 
  use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 








Yahoo! Groups Sponsor


  ADVERTISEMENT 









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.