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

Re: [Metastockusers] inhibit signals



PureBytes Links

Trading Reference Links




Casimir, thank you. Yes, Roy is always very 
helpful.
David
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Casimir Ostrowski 
  
  To: <A 
  title=Metastockusers@xxxxxxxxxxxxxxx 
  href="">Metastockusers@xxxxxxxxxxxxxxx 
  
  Sent: Tuesday, December 09, 2003 12:43 
  PM
  Subject: RE: [Metastockusers] inhibit 
  signals
  
  Hi 
  David
  <FONT face=Arial 
  size=2> 
  I was recently 
  trying to do the same thing. <SPAN 
  class=436392617-09122003>Roy Larsen kindly helped me 
  out and as a result I came up with this ...
  <FONT face=Arial 
  size=2> 
  {BUY 
  SIGNAL}
  Set:=  Fml( 
  "#BUY1") AND Fml( "#BUY2") AND Fml( "#BUY3") AND Fml( "#BUY4") AND Fml( 
  "#BUY5") AND Fml( "#BUY6");Reset:= Fml( "#SELL10");
   
  <FONT face=Arial 
  size=2>    Init:= 
  Cum(set+Reset>-1)=1;    Trade:= BarsSince(Init OR 
  Set)<BarsSince(Init OR Reset);
  <FONT face=Arial 
  size=2>    Trade AND 
  Alert(Trade=0,2)
  <FONT face=Arial 
  size=2> 
  {SELL 
  SIGNAL}
  Set:=  Fml( 
  "#BUY1") AND Fml( "#BUY2") AND Fml( "#BUY3") AND Fml( "#BUY4") AND Fml( 
  "#BUY5") AND Fml( "#BUY6");Reset:= Fml( "#SELL10");
   
  <FONT face=Arial 
  size=2>    Init:= 
  Cum(set+Reset>-1)=1;    Trade:= BarsSince(Init OR 
  Set)>BarsSince(Init OR Reset);
  <FONT face=Arial 
  size=2>    Trade AND 
  Alert(Trade=0,2)
  <FONT face=Arial 
  size=2> 
  <FONT face=Arial 
  size=2>{end}
  <FONT face=Arial 
  size=2> 
  The buy/sell (Set 
  and Reset) signals can be anything you want. I created custom formulas for my 
  own convenience. The important bit is the 3 indented lines in bold. 
  Basically you have to turn an action on and off. Roy refers to this as using 
  "latches". I think you will find more about "latches" in earlier posts and/or 
  in the files section.
  <FONT face=Arial 
  size=2> 
  This works for me 
  so I hope it will work for you. <SPAN 
  class=436392617-09122003>All credit is due to Roy 
  Larsen.
  <FONT face=Arial 
  size=2> 
  <FONT face=Arial 
  size=2>Casimir
  <FONT face=Arial 
  size=2> 
  <FONT face=Arial 
  size=2> To 
  unsubscribe from this group, send an email 
  to:Metastockusers-unsubscribe@xxxxxxxxxxxYour 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:
Metastockusers-unsubscribe@xxxxxxxxxxx





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.