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

Re: [amibroker] Follow up Alertif() questions



PureBytes Links

Trading Reference Links




Yes I can confirm that there is a problem with Study() 
function applied to trendlines with righ/left extension on intraday 
charts.
This will be fixed in 4.29 beta. 
Best regards,Tomasz 
Janeczkoamibroker.com
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=jcasavant@xxxxxxxxxxxx 
  href="">Jayson 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">1ami 
  Sent: Tuesday, February 04, 2003 7:18 
  PM
  Subject: [amibroker] Follow up Alertif() 
  questions
  
  <SPAN 
  class=709435417-04022003>All,
  <SPAN 
  class=709435417-04022003> 
  For any 
  one following the thread I wanted to report that with Tomasz's help I 
  believe I was able to trouble shoot the problem I has having with incorrect 
  signals from Alertif().
  <SPAN 
  class=709435417-04022003> 
  I have tested 
  various configurations during this mornings session and have found that the 
  problem appears to be linked to  the use of extend right or left in the 
  trend line studies. Of course this also relates to the Horizontal line plot as 
  well. Once I turned off the extensions I believe I am now getting the alert 
  signals when and where they should be. The following code allows you to name 2 
  study lines and receive alerts on crosses (up or Down) of either of the 
  lines.  The code......
  <SPAN 
  class=709435417-04022003> 
   <FONT 
  face=Arial>
  Buy=<FONT 
  color=#0000ff>Cross(<FONT 
  color=#000000>C, <FONT 
  color=#0000ff>Study(<FONT 
  color=#ff00ff>"s1",<FONT 
  color=#ff00ff>1));<FONT 
  color=#000000>
  Sell=<FONT 
  color=#0000ff>Cross(<FONT 
  color=#0000ff>Study(<FONT 
  color=#ff00ff>"s1",<FONT 
  color=#ff00ff>1), <FONT 
  color=#000000>C<FONT face=Arial 
  size=2>);
  Buy1=Cross(C, 
  Study("s2",1<FONT face=Arial 
  color=#000000>));<FONT 
  color=#000000>
  Sell1=Cross(Study("s2",1), C<FONT 
  color=#282828>);
   <FONT 
  face=Arial>
  AlertIf(Buy, "SOUND 
  c:\\windows\\media\ding.wav", WriteVal(C,3.2)+ 
  " Violation", 1,1+2+4+8,1 
  );<FONT 
  face=Arial>
  AlertIf(Buy1, "SOUND c:\\windows\\media\ding.wav", 
  WriteVal(C,3.2)+ " Violation", 
  1,1+2+4+8,1 
  );
  AlertIf(Sell, "SOUND 
  c:\\windows\\media\ding.wav",WriteVal(C,3.2)+ " 
  Violation", 2,1+2+4+8,1<FONT 
  color=#282828> );<FONT 
  color=#0000ff>
  AlertIf(Sell1, "SOUND 
  c:\\windows\\media\ding.wav", WriteVal(C,3.2)+ " Violation", <SPAN 
  class=709435417-04022003>2,1+2+4+8,1<FONT 
  color=#282828> 
  );
   
  Jayson 
  
   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









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.