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

Re: [amibroker] Re: AFL, just to improve my skills...



PureBytes Links

Trading Reference Links






Hi,
A short form of CCTfibCMO using stephane's dll 
would be:
CCTfibCMO=(scCMO<FONT 
size=1>(C,3<FONT 
size=1>)+scCMO<FONT 
size=1>(C,5<FONT 
size=1>)+scCMO<FONT 
size=1>(C,8<FONT 
size=1>))/3;
This is a variation of a post by Al 
Venosa . It can be used in AA and IB windows.
 
Ind=scCMO<FONT 
size=1>(C,5); 

Bound1=<FONT color=#0000ff 
size=1>Optimize(<FONT color=#ff00ff 
size=1>"bound1",-<FONT color=#ff00ff 
size=1>34,-95<FONT 
size=1>,-34,<FONT 
color=#ff00ff size=1>10);
Bound2=Optimize<FONT 
size=1>("bound2"<FONT 
size=1>,34,<FONT 
color=#ff00ff size=1>3,<FONT color=#ff00ff 
size=1>45,10<FONT 
size=1>);
CCTfibCMO=(scCMO<FONT 
size=1>(C,3<FONT 
size=1>)+scCMO<FONT 
size=1>(C,5<FONT 
size=1>)+scCMO<FONT 
size=1>(C,8<FONT 
size=1>))/3;
 
Buy=Cross<FONT 
size=1>(bound1,CCtfibCMO); 
Sell=Cross<FONT 
size=1>(CCTfibCMO,bound2); 
//Short=Sell; 
//Cover=Buy; 
Buy=ExRem<FONT 
size=1>(Buy,Sell);
Sell=ExRem<FONT 
size=1>(Sell,Buy);
//E=Equity(); 
//Plot(E,"Equity",1,1); <FONT color=#0000ff 
size=1>
Plot(bound1,<FONT color=#ff00ff 
size=1>"bound1"<FONT 
size=1>,colorRed,styleLine);<FONT color=#0000ff 
size=1>
Plot(bound2,<FONT color=#ff00ff 
size=1>"bound2"<FONT 
size=1>,colorRed,styleLine);
//Plot(scCMO(C,3),"CMO3",colorgreen,styleLine);
//Plot(scCMO(C,5),"CMO5",colorBlue,styleLine);
//Plot(scCMO(C,8),"CMO8",colorYellow,styleLine);<FONT 
size=1>
Plot(CCTfibCMO,<FONT color=#ff00ff 
size=1>"CCTfibCMO"<FONT 
size=1>,colorDarkBlue,styleLine);<FONT color=#0000ff 
size=1>
PlotShapes(<FONT color=#0000ff 
size=1>IIf<FONT 
size=1>(Buy,shapeUpArrow,shapeNone) 
,colorBrightGreen,0<FONT 
size=1>,Graph0,-10<FONT 
size=1>); 
PlotShapes(<FONT color=#0000ff 
size=1>IIf<FONT 
size=1>(Sell,shapeDownArrow,shapeNone),colorRed,<FONT 
color=#ff00ff size=1>0,Graph1,-<FONT 
color=#ff00ff size=1>10); 
GraphXSpace = 5<FONT 
size=1>;
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  dingo 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Saturday, December 06, 2003 12:46 
  PM
  Subject: RE: [amibroker] Re: AFL, just to 
  improve my skills...
  
  <FONT face=Arial color=#0000ff 
  size=2>Check Stephane's dll in the libs - he has an SCO in a dll - not only 
  shorter but faster.
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2>d
  
    
    <FONT 
    face=Tahoma size=2>-----Original Message-----From: gillesdeprez 
    [mailto:gillesdeprez@xxxxxxxxx] Sent: Saturday, December 06, 2003 
    11:20 AMTo: <A 
    href="">amibroker@xxxxxxxxxxxxxxxSubject: 
    [amibroker] Re: AFL, just to improve my skills...Hi 
    Jayson!No, I wanted to find a nice way to solve the problem posted in 
    53742, CCT fibonacci CMO, wich is CMO(C,3)+CMO(C,5)+CMO(C,8)/3...Tomasz 
    answered in post 53802...seems hard to make it shorter!Thanks 
    anyway!Friendly,GillesPS Didn't noticed any problem with Yahoo 
    today...-- In amibroker@xxxxxxxxxxxxxxx, "Jayson" 
    <jcasavant@xxxx> wrote:> Giles,> Yahoo server is down so 
    I cannot reference your original post but if I> understand your 
    question you want  something like the DMI indicator that I> 
    posted but wish to apply fib numbers to the Periods??> > 
    Regards,> Jayson> -----Original Message-----> From: 
    gillesdeprez [mailto:gillesdeprez@xxxx]> Sent: Saturday, December 06, 
    2003 7:15 AM> To: amibroker@xxxxxxxxxxxxxxx> Subject: 
    [amibroker] Re: AFL, just to improve my skills...> > > 
    Hi Graham!> I had a look at the library already...Most of the CCT 
    formulas are> translated there...Except the one I'm looking for! 
    Well, I'm not> interested by the formula itself, but by a way to run 
    the same> formula 3 times with the period changing (3,5 and 8 days 
    for the> CMO), in other words:> 
    CCTfibCMO=(CMO(C,3)+CMO(C,5)+CMO(C,8))/3;> I'm only looking for an 
    elegant way to solve the question...> Thanks anyway for your 
    answer!> Friendly,> Gilles> > > In 
    amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:> 
    > Gilles> > Go to the AB website AFL library and type in search 
    CMO. It came up> with a> > few AFL's from that 
    search.> > All seem to reference Chande and Momentum> 
    >> > Cheers,> > Graham> > <A 
    href="">http://groups.msn.com/asxsharetrading> 
    > <A 
    href="">http://groups.msn.com/fmsaustralia> 
    >> > -----Original Message-----> > From: gillesdeprez 
    [mailto:gillesdeprez@xxxx]> > Sent: Saturday, 6 December 2003 7:28 
    PM> > To: amibroker@xxxxxxxxxxxxxxx> > Subject: 
    [amibroker] AFL, just to improve my skills...> >> 
    >> > Hi group!> > Could one of you AFL skilled guys 
    have a look at post 53742 ? I'm> sure it's> > possible to 
    write the formula without re-writing 3> > times the CMO with 3 
    different periods? But I'm scratching my head> > for hours now, 
    and all I get is a "syntax error"...> > Can somebody help?> 
    > PS If the Aussies could stop talking about the beauties of 
    their> > climate??? Here it's cold  , grey and rainy, and 
    ...life is a bitch> > and then you die!Grr! :o)> > 
    Friendly,> > Gilles> >> >> > 
    ------------------------ Yahoo! Groups Sponsor 
    ---------------------> ~--> Buy> > Ink Cartridges or 
    Refill Kits for your HP, Epson, Canon or Lexmark> Printer> 
    > at MyInks.com. Free s/h on orders $50 or more to the US & 
    Canada.> > <A 
    href="">http://www.c1tracking.com/l.asp?cid=5511> 
    > <A 
    href="">http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM> 
    > 
    --------------------------------------------------------------------> 
    -~->> >> > Send BUG REPORTS to bugs@xxxx> > 
    Send SUGGESTIONS to suggest@xxxx> > 
    -----------------------------------------> > 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> <A 
    href="">http://docs.yahoo.com/info/terms/> 
    > >       Yahoo! Groups 
    Sponsor>             
    ADVERTISEMENT> > > > > Send BUG REPORTS 
    to bugs@xxxx> Send SUGGESTIONS to suggest@xxxx> 
    -----------------------------------------> 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 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. 
    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.