PureBytes Links
Trading Reference Links
|
Thanks Owen for the reply---i pasted the code into the
"Price" indicator, directly under the code for the moving averages, etc, but
before the Interpretation commentary. i changed colors, removed the line
"Plot(C,"c",4,64);" and then "GraphXSpace=5;". i changed some names just in case
there was a conflict with what was already there. but i do not get any
added channels. i shutdown AB and restarted it. the code was still
there, but no channels. a sample of what i have:--blue was
already there--i added the red.lswidth = lshi -
lslo;trend = 100*( lslop - lslo )/lswidth;<FONT
color=#ff0000>ktop=EMA(C,20)+(ATR(10)*2);kbot=EMA(C,20)-(ATR(10)*2);Plot(ktop,"kTop",colorBlue,1);Plot(kbot,"kBott",colorRed,1);<FONT
color=#0000ff>mawidth = MA( width, 100 );relwidth = 100*(width -
mawidth)/mawidth;being a newbie--i'm still missing
something,ronronbo asked:> now how
about the second part---how do i get this, and possibly other>
indicators, like Linear Reg trendlines, in my main Price chart rather
than> having a separate panel???Ha! A rare question that I
can answer. But only because someone elseanswered it for me here a
couple of years ago.Right-click on the main chart, click on "edit
formula," and paste in thecode for the Keltner channels. Omit the line
about "Plot (C, etc.)"Owen Davies
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.
|