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

[amibroker] Re: 5 Daily bars compressed into one.........



PureBytes Links

Trading Reference Links





play with this, see if you can get the bands where 
you want them. right click parameters.
sig = Param<FONT 
size=1>("MA period ", 
20, <FONT 
color=#ff00ff size=1>10, <FONT color=#ff00ff 
size=1>250, 10<FONT 
size=1>);
MaxGraph = 10<FONT 
size=1>;
Graph0= MA( 
Close, sig ) * 0.97<FONT 
size=1>; //% offset -3<FONT 
size=1>
Graph1= MA( 
Close, sig ) * 0.98<FONT 
size=1>; //% offset -2<FONT 
size=1>
Graph2= MA( 
Close, sig ) * 0.99<FONT 
size=1>; //% offset -1<FONT 
size=1>
Graph3= MA( 
Close, sig ); //% offset 
0
Graph4= MA( 
Close, sig ) * 1.01<FONT 
size=1>; //% offset +1<FONT 
size=1>
Graph5= MA( 
Close, sig ) * 1.02<FONT 
size=1>; //% offset +2<FONT 
size=1>
Graph6= MA( 
Close, sig ) * 1.03<FONT 
size=1>; //% offset +3<FONT 
size=1>
Graph0Style = Graph1Style = Graph2Style = 
Graph3Style = Graph4Style =Graph5Style =Graph6Style= 
1;
 
Graph0Color = Graph1Color = Graph2Color = 
Graph4Color = Graph5Color =Graph6Color = 
colorLime;
Graph3Color =colorBlack;
Plot( Close, 
"Close", 
colorBlack, styleLine );
Regards
 
Don McKay
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=steve2@xxxxxxxxxxxxxxxxxxxx 
  href="">Steve Almond 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Friday, February 13, 2004 1:52 
  AM
  Subject: Re: [amibroker] Sigma 
Bands
  
  Surely some mistake! (possibly mine?).
   
   
  <IMG alt="" hspace=0 src="jpg00015.jpg" 
  align=baseline border=0>
  <BLOCKQUOTE dir=ltr 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    don 
    
    To: <A title=amibroker@xxxxxxxxxxxxxxx 
    href="">amibroker@xxxxxxxxxxxxxxx 
    Sent: Thursday, February 12, 2004 5:27 
    PM
    Subject: Re: [amibroker] Sigma 
    Bands
    
    
    the code is a slight mod of the guppy moving 
    average
    // maybe sigma bands
    MaxGraph = <FONT color=#ff00ff 
    size=1>10;<FONT color=#008000 
    size=1>
    Graph0= MA( 
    Close, 250 ) * 
    0.97;  //% offset 
    -3
    Graph1= MA( 
    Close, 250 ) * 
    0.98; //% offset 
    -2
    Graph2= MA( 
    Close, 250 ) * 
    0.99; //% offset 
    -1
    Graph3= MA( 
    Close, 250 ); 
    //% offset 0
    Graph4= MA( 
    Close, 250 ) * 
    1.01; //% offset 
    +1
    Graph5= MA( 
    Close, 250 ) * 
    1.02; //% offset 
    +2
    Graph6= MA( 
    Close, 250 ) * 
    1.03; //% offset 
+3
    Graph0Style = Graph1Style = Graph2Style = 
    Graph3Style = Graph4Style =Graph5Style 
    =Graph6Style= 1<FONT 
    size=1>;
    
    Graph0Color = Graph1Color = Graph2Color = 
    Graph4Color = Graph5Color =Graph6Color = 
    colorLime;
    Graph3Color =colorBlack;
     Plot( Close, 
    "Close", 
    colorBlack, styleLine );
     
    //Shifted MA displaced moving 
    averagers
    DIS = Param<FONT 
    size=1>("Displacement Period "<FONT 
    size=1>, 5, 
    -50, <FONT 
    color=#ff00ff size=1>50, <FONT color=#ff00ff 
    size=1>1);
    COLOUR1 = Param<FONT 
    size=1>("DMA Colour", 
    5, <FONT 
    color=#ff00ff size=1>1, <FONT color=#ff00ff 
    size=1>55, <FONT color=#ff00ff 
    size=1>1);
    MA1 = Param<FONT 
    size=1>("DMA Period ", 
    20, <FONT 
    color=#ff00ff size=1>0, <FONT color=#ff00ff 
    size=1>75, <FONT color=#ff00ff 
    size=1>1);
    COLOUR = Param<FONT 
    size=1>("MA Colour", 
    4, <FONT 
    color=#ff00ff size=1>1, <FONT color=#ff00ff 
    size=1>55, <FONT color=#ff00ff 
    size=1>1);
    MA2 = Param<FONT 
    size=1>("MA Period ", 
    20, <FONT 
    color=#ff00ff size=1>0, <FONT color=#ff00ff 
    size=1>75, <FONT color=#ff00ff 
    size=1>1);
    Plot(C,<FONT color=#ff00ff 
    size=1>"",<FONT color=#ff00ff 
    size=1>4,<FONT color=#ff00ff 
    size=1>64);
    Plot(MA<FONT 
    size=1>(C,MA2),("MA = "<FONT 
    size=1>+MA2),COLOUR,1<FONT 
    size=1>);
    Plot(<FONT color=#0000ff 
    size=1>Ref(<FONT color=#0000ff 
    size=1>MA(C,MA1),- DIS),(<FONT 
    color=#ff00ff size=1>"Displacement Period = "<FONT 
    size=1>+DIS),COLOUR1,1<FONT 
    size=1>);
    
    Regards
     
    Don McKay
    <BLOCKQUOTE 
    >
      ----- Original Message ----- 
      <DIV 
      >From: 
      <A title=steve2@xxxxxxxxxxxxxxxxxxxx 
      href="">Steve Almond 
      To: <A 
      title=amibroker@xxxxxxxxxxxxxxx 
      href="">amibroker@xxxxxxxxxxxxxxx 
      
      Sent: Friday, February 13, 2004 12:42 
      AM
      Subject: Re: [amibroker] Sigma 
      Bands
      
      Don,
       
      I'd have to say that this seems the closest yet. Will you divulge the 
      code?
       
      Steve
      <BLOCKQUOTE dir=ltr 
      >
        ----- Original Message ----- 
        <DIV 
        >From: 
        <A title=donmac63@xxxxxxxxxxxx 
        href="">don 
        To: <A 
        title=amibroker@xxxxxxxxxxxxxxx 
        href="">amibroker@xxxxxxxxxxxxxxx 
        
        Sent: Thursday, February 12, 2004 
        2:21 PM
        Subject: Re: [amibroker] Sigma 
        Bands
        
        Is this similar to what you are looking for 
        steve?
         
        Regards
         
        Don McKay
        <BLOCKQUOTE 
        >
          ----- Original Message ----- 
          <DIV 
          >From: 
          <A title=steve2@xxxxxxxxxxxxxxxxxxxx 
          href="">Steve Almond 
          To: <A 
          title=amibroker@xxxxxxxxxxxxxxx 
          href="">Ami 
          Sent: Wednesday, February 11, 
          2004 11:10 PM
          Subject: [amibroker] Sigma 
          Bands
          
          Has anyone managed to write the AFL code for Sigma bands? It 
          seemed simple, but was beyond me...
          Here is a reference:  <A 
          href="">http://www.forextrm.com/faq.htm and 
          a picture:
           
          <IMG alt="" hspace=0 
          src="gif00041.gif" align=baseline 
          border=0>Send BUG REPORTS to <A 
          href="">bugs@xxxxxxxxxxxxxSend 
          SUGGESTIONS to <A 
          href="">suggest@xxxxxxxxxxxxx-----------------------------------------Post 
          AmiQuote-related messages ONLY to: <A 
          href="">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@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@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@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 Sponsor


ADVERTISEMENT



Click Here














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: Description: ""

Attachment: Description: ""