This is excellent, and it's been there since 2.80.  Sorry about that - I'll 
have to redouble my
efforts to  "READ THE MANUAL!"

Thanks Tomasz
Joe L. 
 


  ----- Original Message ----- 
  From: Tomasz Janeczko 
  To: [email protected] 
  Sent: Thursday, March 15, 2007 5:54 PM
  Subject: Re: [amibroker] Symbol within AA Results Cells



  Joe,

  Right now it is easier because of Asc function
  http://www.amibroker.com/f?asc

  So you don't need to code 66, or 83 and 88 but you just do:
  AddColumn( IIf( BuyLong, Asc("B"), IIf( SellShort, Asc("S"), Asc("X") ) ), 
"B/S", formatChar ) ;



  Best regards,
  Tomasz Janeczko
  amibroker.com
    ----- Original Message ----- 
    From: Joe Landry 
    To: [email protected] 
    Sent: Thursday, March 15, 2007 10:22 PM
    Subject: Re: [amibroker] Symbol within AA Results Cells


    Ken, I remember seeing that you could print ASCII codes in the explore 
columns
    but whether there's an ASCII character that will suit your purposes is 
another matter. 
    How about a ^ for up and a > for sideways,... just kidding.  

    This is from TJ quite a while back.  
    JOE 

    AddTextColumn(WriteIf(BuyLong==1,"B", WriteIf(SellShort==1,"S", 
"X")),"B/S");    // <==== Problem area 

    write:

    AddColumn( IIf( BuyLong, 66, IIf( SellShort, 83, 88 ) ), "B/S", formatChar 
);

    where 66, 83, 88 are ASCII codes of letters B, S and X respectively.






      ----- Original Message ----- 
      From: wavemechanic 
      To: [email protected] 
      Sent: Thursday, March 15, 2007 1:17 PM
      Subject: Re: [amibroker] Symbol within AA Results Cells



      No symbol, but you could use text/background colors.

      Bill


        ----- Original Message ----- 
        From: Ken Close 
        To: [email protected] 
        Sent: Thursday, March 15, 2007 11:08 AM
        Subject: [amibroker] Symbol within AA Results Cells


        Is it possible to insert a symbol (like shapeuparrow) within a cell in 
a results table?  I have written a AddTextColumn and used a WriteIf statement 
to put in words describing a trend, such as "Up Trend" if a parameter is above 
a certain value and "Down Trend" if the value is below a certain value.

        I would like to have a green up arrow or red down arrow instead of the 
text described above.

        Is this possible?

        If not, how might you achieve an automation of some sort (say with the 
exported table rather than within AB itself) so you could put said symbol in 
the cells instead of words?

        Any suggestions will be appreciated.

        Ken


------------------------------------------------------------------------


        No virus found in this incoming message.
        Checked by AVG Free Edition.
        Version: 7.5.446 / Virus Database: 268.18.9/719 - Release Date: 
3/12/2007 8:41 AM



   

Reply via email to