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

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



PureBytes Links

Trading Reference Links

Hi Greg!
No, not even from Canada...From Belgium  *sigh*...
I wonder how many countries we represent in this group?
friendly,
Gilles





--- In amibroker@xxxxxxxxxxxxxxx, <gregbean@xxxx> wrote:
> Gilles,
> 
> Here is something that was posted by someone on AB Yahoo group ( Al 
Venosa, I think) , That you could modify.
> PositionSize=-10;
> 
> Ind=scCMO(C,5); 
> 
> Bound1=Optimize("bound1",-40,-80,0,10);
> 
> Bound2=Optimize("bound2",70,0,80,10);
> 
> Buy=Cross(-bound1,Ind); 
> 
> Sell=Cross(Ind,bound2); 
> 
> Short=Sell; 
> 
> Cover=Buy; 
> 
> E=Equity(); 
> 
> 
> 
> I hope this helps. 
> 
> By the way, Gilles are you from Canada?
> 
> 
> 
> Greg
> 
> Plot(E,"Equity",1,1); 
> 
> GraphXSpace = 5;
> 
> 
> 
>   ----- Original Message ----- 
>   From: gillesdeprez 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Saturday, December 06, 2003 8:15 AM
>   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
>   > http://groups.msn.com/asxsharetrading
>   > http://groups.msn.com/fmsaustralia 
>   > 
>   > -----Original Message-----
>   > From: gillesdeprez [mailto:gillesdeprez@x...] 
>   > 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.
>   > http://www.c1tracking.com/l.asp?cid=5511
>   > 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: 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 
>   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: 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.


------------------------ 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.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 http://docs.yahoo.com/info/terms/