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

RE: [amibroker] TASC 2004 Readers Choice Awards



PureBytes Links

Trading Reference Links




Hi ronbo,
 
Pasting your red code into the **Price** pane, 
which was EMPTY at the time, worked for me. (I believe it ships empty, if my 
restoring a recent version of the broker.bcharts file is an 
indication.)
 
So I am not sure where your blue code came from. I 
suspect you don't need it, but why don't you Cut/Paste it off somewhere, and 
then try JUST your red code.
 
Also, you might want to try enabling and then 
disabling the 'Use formula only' checkbox in Indicator Builder and notice the 
differences.  In my case, I have Bollinger Bands plotting in my main Price 
pane which you might not want if using the Keltner channel. (You can control 
what shows up in your main Price pane in Preferences | Main 
chart)
 
-john
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  ronbo 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Friday, February 27, 2004 11:19 
  AM
  Subject: RE: [amibroker] Linda Bradford 
  Raschke´s Keltner Channel
  
  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 DaviesSend 
  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.