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

[amibroker] database question



PureBytes Links

Trading Reference Links




 
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Mr Valley 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">Amibroker 
  Sent: Sunday, February 15, 2004 8:52 
  PM
  Subject: [amibroker] RE: Sigma 
Bands
  
  Would someone 
  compare this and post?
  Is this what you 
  had in mind?
   
  A 
  picture is worth a thousand words.  Attached is a description of sigma 
  bands and corresponding example together with your code for the same 
  period.
  <FONT face=Arial 
  size=2> 
  <FONT 
  color=#008000 size=1>/* Centered MA Sigma Bands */
  
  pds = Var = 128; 
  // Select time frame
  CMA =Ref(<FONT 
  color=#0000ff size=1>MA(C,pds),(pds/<FONT 
  color=#ff00ff size=1>2+<FONT color=#ff00ff 
  size=1>1));
  G0 = BBandTop(CMA , 
  Var, 2);
  G3 = BBandBot(CMA , 
  Var, 2);
  G10 = BBandTop(CMA , 
  Var, 1);
  G13 = BBandBot(CMA , 
  Var, 1);
  G111 = BBandTop(CMA , 
  Var, 1.5);
  G333 = BBandBot(CMA , 
  Var, 1.5);
  G22 = BBandTop(CMA , 
  Var, .5);
  G44 = BBandBot(CMA , 
  Var, .5);
  G000= (G22 + G44)/2<FONT 
  size=1>;
   
  Plot(G0,<FONT color=#ff00ff 
  size=1>"+2",<FONT color=#ff00ff 
  size=1>4,<FONT color=#ff00ff 
  size=1>4);<FONT 
  color=#0000ff size=1>
  Plot(G3,<FONT color=#ff00ff 
  size=1>"-2",<FONT color=#ff00ff 
  size=1>4,<FONT color=#ff00ff 
  size=1>4);<FONT 
  color=#0000ff size=1>
  Plot(G10,<FONT color=#ff00ff 
  size=1>"+1",<FONT color=#ff00ff 
  size=1>4,<FONT color=#ff00ff 
  size=1>4);<FONT 
  color=#0000ff size=1>
  Plot(G13,<FONT color=#ff00ff 
  size=1>"-1",<FONT color=#ff00ff 
  size=1>4,<FONT color=#ff00ff 
  size=1>4);<FONT 
  color=#0000ff size=1>
  Plot(G111,<FONT color=#ff00ff 
  size=1>"+1.5",<FONT color=#ff00ff 
  size=1>6,<FONT color=#ff00ff 
  size=1>4);<FONT 
  color=#0000ff size=1>
  Plot(G333,<FONT color=#ff00ff 
  size=1>"-1.5",<FONT color=#ff00ff 
  size=1>6,<FONT color=#ff00ff 
  size=1>4);<FONT 
  color=#0000ff size=1>
  Plot(G22,<FONT color=#ff00ff 
  size=1>"+.5",<FONT color=#ff00ff 
  size=1>7,<FONT color=#ff00ff 
  size=1>4);<FONT 
  color=#0000ff size=1>
  Plot(G44,<FONT color=#ff00ff 
  size=1>"-.5",<FONT color=#ff00ff 
  size=1>7,<FONT color=#ff00ff 
  size=1>4);<FONT 
  color=#0000ff size=1>
  Plot(G000,<FONT color=#ff00ff 
  size=1>"0",<FONT color=#ff00ff 
  size=1>2,<FONT color=#ff00ff 
  size=1>4);<FONT 
  color=#0000ff size=1>
  Plot(CMA,<FONT color=#ff00ff 
  size=1>"CMA",<FONT color=#ff00ff 
  size=1>10,<FONT color=#ff00ff 
  size=1>4);<FONT 
  color=#0000ff size=1>
  Plot(C,<FONT color=#ff00ff 
  size=1>"Centered MA Sigma Bands Close"<FONT color=#000000 
  size=1>,1<FONT color=#000000 
  size=1>,64<FONT 
  color=#000000>);<FONT 
  size=1>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 
  


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








Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.







Attachment:
Sigma bands mrv.gif
Description: GIF image
Attachment:

Attachment: Description: "Description: GIF image"

Attachment: Description: "Sigma bands & chart.gif"