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

Re: [amibroker] Trendline Studies



PureBytes Links

Trading Reference Links




Jayson
 
You are right.
Thanks
 
Ara
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=jcasavant@xxxxxxxxxxxx 
  href="">Jayson 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Thursday, March 06, 2003 10:00 
  PM
  Subject: RE: [amibroker] Trendline 
  Studies
  
  <SPAN 
  class=359085105-07032003>Ara,
  I 
  think perhaps you have the cross backwards. try....
  <FONT 
  color=#000000> <FONT 
  face=Arial>
  Short = Cross(Study("s2"),L<FONT 
  color=#0000ff>);<FONT 
  size=2>
  Buy=Cross(H<FONT 
  color=#0000ff>,Study("S2"<FONT 
  color=#0000ff>));<FONT 
  color=#0000ff>
  Filter = Short OR Buy<FONT 
  color=#0000ff>;<FONT 
  size=2>
  AddColumn(<FONT 
  color=#000000>L<FONT 
  color=#282828>,"<FONT 
  color=#ff00ff>low"<FONT 
  color=#282828>);
   
  run 
  this in AA then double click a result and you should see the arrows plot at 
  your cross overs....
   Jayson 
  <FONT face=Tahoma 
  size=2>-----Original Message-----From: Ara Kaloustian 
  [mailto:ara1@xxxxxxxxxx]Sent: Friday, March 07, 2003 12:35 
  AMTo: AmiBroker - BBSubject: [amibroker] Trendline 
  Studies
  
  My first attempt at creating a line study was not very 
  good..
  Used the  code below to find cross of Low Price and 
  Trendline (see attachment) with exploration.
  AA Settings for 10 days of exploration
  Line #1 - Did not detect the cross for Line<FONT 
  size=2> #1.
  Line#2 - Detected the cross, but gave the wrong date. The date 
  detected was 2/28 (as printed in exploration). The date on the chart is 
  2/27.
  (Tried changing the line position so it would cross on various 
  dates. Can not detect a cross for any point prior to 2/27).
   
  Anyone else having problems with line studies?
  Ara
   
  Short = <FONT 
  color=#0000ff>Cross(Low,Study(<FONT 
  color=#ff00ff>"UP"));
  Filter = Short;
  AddColumn(<FONT 
  face="Times New Roman">Close,<FONT 
  face="Courier New" color=#ff00ff>"<FONT face="Times New Roman" 
  color=#ff00ff>Close"<FONT 
  face="Courier New" size=1>);
  <FONT 
  size=2> 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. 
  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.