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

[amibroker] Re: Adding Text to Explore/Scan Columns



PureBytes Links

Trading Reference Links


Herman, thank you for the examples. I was able to get Graham's 
suggestion to work for me. Your code samples did help me figure out 
another problem I was having.

Thank you again.

--- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen" 
<psytek@xxxx> wrote:
> Hello dave,
> Text arrays are not possible in AmiBroker, however you can display 
the same
> string in all cells of a vertical column using AddTextColumn(). 
Since you
> can color the Text as well as the background you can make 
text "disappear"
> by setting its color to White. You can also play with the 
background color.
> Here is a simple example:
> 
> Price = ValueWhen(Buy OR Cover,C);
> AddColumn(Price,"Buy/Cover",1.2,colorBlack ,colorBrightGreen );
> Price = ValueWhen(Sell OR Short,C);
> AddColumn(Price,"Short/Sell",1.2,colorBlack ,colorPink );
> DCo = IIf( Sell==3, 1,2);
> AddTextColumn("Stop","LongSTop",1.0,DCo,2);
> DCo = IIf( Cover==3, 1,2);
> AddTextColumn("Stop","ShortSTop",1.0,DCo,2);
> 
> Best regards,
> herman
> 
>   -----Original Message-----
>   From: Dave McLeod [mailto:dmcleod1981@x...]
>   Sent: Wednesday, March 02, 2005 6:30 PM
>   To: amibroker@xxxxxxxxxxxxxxx
>   Subject: [amibroker] Adding Text to Explore/Scan Columns
> 
> 
>   I would like to try and create a table within Scan/Explore that 
contains
> text in the table columns itseld if certain conditions are met. 
Something
> like the following sample pic.
> 
> 
>   Is this possible in Amibroker?
> 
>   Thanks
>   DM
> 
> 
> -------------------------------------------------------------------
---------
> --
>   Celebrate Yahoo!'s 10th Birthday!
>   Yahoo! Netrospective: 100 Moments of the Web
> 
>   Check AmiBroker web page at:
>   http://www.amibroker.com/
> 
>   Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> 
>         Yahoo! Groups Sponsor
>               ADVERTISEMENT
> 
> 
> 
> 
> 
> -------------------------------------------------------------------
---------
> --
>   Yahoo! Groups Links
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/amibroker/
> 
>     b.. To unsubscribe from this group, send an email to:
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of Service.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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:
    http://docs.yahoo.com/info/terms/