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

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



PureBytes Links

Trading Reference Links

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@xxxxxxxxx]
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





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
click here


Yahoo! Groups Links