mybuyprice = ...// your code here
mysellprice= ...// your code here
text = "buy: "+mybuyprice+" sell: "+mysellprice;
ADDTEXTCOLUMN(text, "Buy/Sell",1.2);
Filter = ...//your filter criteria
text concatenates the 2 prices into a single string and the
ADDTEXTCOLUMN() function prints that string in the AA window, when needed.
--- In [email protected], [EMAIL PROTECTED] wrote:
>
> How can I display the buy and sell price of an exploration on the
same row?
> for instance, in the code below, what should "????" be?
>
>
>
> bArray = RSI( 5 )<30;
>
> sArray = RSI( 5 )>80;
>
>
>
> pctChg = ( ValueWhen( sArray, C ) - ValueWhen( bArray, C ) ) /
ValueWhen(
> bArray, C ) * 100;
>
>
>
> AddColumn( rsiArr , "rsi", 1.2 );
>
> AddColumn( C , "Buy", 1.2 );
>
> AddColumn( ???? , "Sell", 1.2 );
>
> AddColumn( pctChg, "% Price Chg", 1.2, IIf( pctChg < 0, colorRed,
colorGreen
> ) );
>
>
>
> Filter = bArray;
>
>
>
>
>
> Thanks..
>
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
| Investment management software | Real estate investment software | Investment property software |
| Software support | Real estate investment analysis software | Investment software |
YAHOO! GROUPS LINKS
- Visit your group "amibroker" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
