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

Re: [amibroker] Help with Log Scale Plot



PureBytes Links

Trading Reference Links




Thanks, William. I think I'll survive without the capability. I 
appreciate your willingness to try. Have a great holiday season. 
 
AV
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=williampeters@xxxxxxxxxxxx 
  href="">William Peters 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Monday, December 22, 2003 9:10 
  AM
  Subject: RE: [amibroker] Help with Log 
  Scale Plot
  
  Hi Al,
   
  After taking a little look at 
  the problem I can't see a way to do this. That's not saying there is none just 
  I can't see it. You would have to be able to scale the y-axis just like the 
  inbuilt (IB) logarithmic option does and there is not such an option or 
  any way to emulate its behaviour.
   
  
  Regards,William Peters<A 
  href="">www.amitools.com
  <FONT face=Tahoma 
  size=2>-----Original Message-----From: William Peters 
  [mailto:williampeters@xxxxxxxxxxxx]Sent: Sunday December 21, 2003 
  6:45 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
  [amibroker] Help with Log Scale Plot
  Hi Al,
   
  Here is template I use to set 
  up custom grids, from this you should be able to create the grid and plot the 
  price scale your after. I'm a little busy right now but if you haven't been 
  able to write the codeit or someone else can't help, ill take a look tomorrow. 
  
   
  <FONT face="Courier New" color=#008000 
  size=2>/* Set up the grid */<FONT 
  color=#000000> GridLineCount = <FONT 
  color=#0000ff>Param(<FONT 
  color=#ff00ff>"Number of gridlines", <FONT 
  color=#ff00ff>5, <FONT 
  color=#ff00ff>2, <FONT 
  color=#ff00ff>20, <FONT 
  color=#ff00ff>1<FONT 
  size=2> ); BarVisible = <FONT 
  color=#0000ff>Status( <FONT 
  color=#ff00ff>"barvisible"<FONT 
  size=2> ); HVH = <FONT 
  color=#0000ff>LastValue( <FONT 
  color=#0000ff>Highest( <FONT 
  color=#0000ff>ValueWhen( BarVisible , <FONT 
  color=#000000>H<FONT 
  size=2> ) ) ); LVL = <FONT 
  color=#0000ff>LastValue( <FONT 
  color=#0000ff>Lowest( <FONT 
  color=#0000ff>ValueWhen( BarVisible , <FONT 
  color=#000000>L<FONT 
  size=2> ) ) ); HighGridBar = HVH; LowGridBar = 
  LVL; PlotGrid( 
  HighGridBar, <FONT 
  color=#000000>colorBlack<FONT 
  face="Courier New"> ); <FONT 
  color=#0000ff>PlotGrid( LowGridBar, <FONT 
  color=#000000>colorBlack<FONT 
  face="Courier New"> ); Gap = ( 
  HighGridBar - LowGridBar ) / ( GridLineCount - <FONT 
  color=#ff00ff>1<FONT 
  size=2> ); GridLine = LowGridBar; <FONT 
  color=#800000>for( i = <FONT 
  color=#ff00ff>1; i < GridLineCount - 
  1<FONT 
  face="Courier New"> ; i++ ) { 
         GridLine = GridLine + Gap; 
     PlotGrid<FONT 
  color=#000000>( GridLine, <FONT 
  color=#000000>colorBlack<FONT 
  face="Courier New"> ); } <FONT 
  color=#000000>GraphXSpace = <FONT 
  color=#ff00ff>5; 
   
  
  Regards,William Peters<A 
  href="">www.amitools.com
  <FONT face=Tahoma 
  size=2>-----Original Message-----From: Al Venosa 
  [mailto:advenosa@xxxxxxxxxxxx]Sent: Sunday December 21, 2003 3:25 
  PMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] 
  Help with Log Scale Plot
  William or Ken:
   
  This is not directly related to your question, but a couple of 
  weeks ago, I posted a question and did not get any response. I'd like to know 
  how to get a log base 10 plot rather than a log base 2. Anyone know how to do 
  this? 
   
  TIA. 
   
  Al Venosa
  <BLOCKQUOTE 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    <A title=williampeters@xxxxxxxxxxxx 
    href="">William Peters 
    To: <A title=amibroker@xxxxxxxxxxxxxxx 
    href="">amibroker@xxxxxxxxxxxxxxx 
    Sent: Sunday, December 21, 2003 12:24 
    PM
    Subject: RE: [amibroker] Help with Log 
    Scale Plot
    Ken,CHANGES FOR VERSION 4.28.0 (as compared to 
    4.27.1) >obsolete styleLog removed (logarithmic scale setting is 
    not per-line but >per-pane and it is selectable from Indicator 
    Builder)Regards,William Peters<A 
    href="">www.amitools.com-----Original 
    Message-----From: Ara Kaloustian [mailto:ara1@xxxxxxxxxx]Sent: 
    Sunday December 21, 2003 1:31 AMTo: <A 
    href="">amibroker@xxxxxxxxxxxxxxxSubject: 
    Re: [amibroker] Help with Log Scale PlotKen,I noticed 
    the same thing. In fact "styleLog" is not recognized by AB.----- 
    Original Message ----- From: Ken Close To: AmiBroker List Sent: 
    Saturday, December 20, 2003 8:35 PMSubject: [amibroker] Help with Log 
    Scale PlotSorry for such a basic question (and revealing some 
    continued frustration with the help searching capability), but all I want to 
    do is plot a parameter with the y scale as a log scale.//  Nasd New 
    Highs/New Lows 
    IndicatorNH=Foreign("NSNHQ","C");NL=Foreign("NSNLQ","C");R=NH-NL;Plot(R,"Net 
    NH-NL",5,32); Plot(10000," ",5,32);Help says to use 32 for log scale 
    plot but nothing changes when I apply this.  I even added the last line 
    to see if the scale would change, but it did not.What am I doing 
    wrong?Thanks,KenPS: The foreign calls are to symbols within the 
    FT database. The thing plots fine, just with a linear scale.  Where is 
    plotting the log scale explained as I really did search trying to find 
    it.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 
    Yahoo! Groups LinksTo visit your group on the 
    web, go to:<A 
    href="">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. 
    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 
    Yahoo! Groups LinksTo visit your group on the 
    web, go to:<A 
    href="">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. 
    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 
    
    
    Yahoo! Groups Links
    
      To visit your group on the web, go to:<A 
      href="">http://groups.yahoo.com/group/amibroker/  

      To unsubscribe from this group, send an email to:<A 
      href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

      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 
  
  
  Yahoo! Groups Links
  
    To visit your group on the web, go to:<A 
    href="">http://groups.yahoo.com/group/amibroker/  

    To unsubscribe from this group, send an email to:<A 
    href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

    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 
  
  
  Yahoo! Groups Links
  
    To visit your group on the web, go to:<A 
    href="">http://groups.yahoo.com/group/amibroker/  

    To unsubscribe from this group, send an email to:<A 
    href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

    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 
  
  
  Yahoo! Groups Links
  
    To visit your group on the web, go to:<A 
    href="">http://groups.yahoo.com/group/amibroker/  

    To unsubscribe from this group, send an email to:<A 
    href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

    Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
  


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.