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

[amibroker] Custom Fib Price Chart



PureBytes Links

Trading Reference Links

Last weekend I listened to Steve Kernish's (CedarCreekTrading) web
broadcast.

Steve talked about his favorite Fib related moving averages (which he
illustrated with MetaStock charts). The Moving Averages which simulate
Fib levels are 13, 21, 34, 55, 89, and 144.

Steve started out with EMA values, but early on switched to simple
MA's (I don't remember under what conditions Steve prefers one over
the other).

Anyway, since I am a mech trader and have little experience with the
visual aspects of graphic presentation that discretionary traders
might prefer to use, I floundered around with Steve's criteria and
came up with the following custom Fib price chart which may or may not
be of interest to anyone.

To you discretionary traders this is probably 'kid stuff', but to
others it might be worthwhile: (Paste it in your IB window and apply)

// Price Chart - Custom
Title = Name() +" - "+ WriteVal( DateTime(), formatDateTime )+" - Fibs -"+
"Open:"+WriteVal(O,1.2)+" "+" - Hi: "+WriteVal(H,1.2)+" "+
" - Low:"+WriteVal(L,1.2)+" "+" - Close: "+WriteVal(C,1.2)+
" - Volume:"+WriteVal(V,1);

Plot( Close, Date() +"\n"+ "O: " + WriteVal( Open, 1.2 ) +"\n"+ "H:
"+WriteVal(High, 1.2 ) +"\n"+ "L: " + WriteVal( Low, 1.2 )+"\n"+ "C:
",colorBrightGreen, styleCandle);

Plot(MA(C, 13), "13 SMA", colorGreen, styleLine | styleThick);
Plot(MA(C, 21), "21 SMA", colorGold, styleLine | styleThick);
Plot(MA(C, 34), "34 SMA", colorRed, styleLine | styleThick);
Plot(MA(C, 55), "55 SMA", colorBlue, styleLine | styleThick);
Plot(MA(C, 89), "89 SMA", colorAqua, styleLine | styleThick);
Plot(MA(C, 144), "144 SMA", colorYellow, styleLine | styleThick);
Plot(MA(C, 200), "200 SMA", colorLightGrey, styleLine | styleThick);

You will notice that I added a 200 day moving average just because it
is so widely accepted.

Regards,

Phsst


------------------------ 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/