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

[amibroker] Using STRING() ???



PureBytes Links

Trading Reference Links









<font size=2 color=black
face=Arial>How can I encase the text with quotes and have it display/ function
correctly so I can work with it the AA window?

<font size=2 color=black
face=Arial> 

<font size=2 color=black
face=Arial> 

<font size=2 color=black
face=Arial>If I put in the extra quotation marks to try to show &#8220;BUY&#8221;, &#8220;2000&#8221; ,
&#8220;LMT&#8221;, etc&#8230;&#8230;&#8230; anywhere within the editor it sees it as being back to a
function?

<font size=2 color=black
face=Arial> 

<font
size=1 color=blue face=Tahoma>AlertIf<span
>( <span
>Buy, <font size=1
color=fuchsia face=Tahoma>" "<span
>,&#8221; <font
size=1 color=fuchsia face=Tahoma>"BUY, 2000,&#8221; "<font size=1 color=black
face=Tahoma> + <font
size=1 color=blue face=Tahoma>Name<span
>() + <font
size=1 color=fuchsia face=Tahoma>" , "<font size=1 color=black
face=Tahoma> + <font
size=1 color=fuchsia face=Tahoma>"LMT"<font size=1 color=black
face=Tahoma> + <font
size=1 color=fuchsia face=Tahoma>" , "<font size=1 color=black
face=Tahoma> + <font
size=1 color=blue face=Tahoma>WriteVal<span
>(<span
>Close,FORMAT=<font size=1
color=fuchsia face=Tahoma>1.2<span
>)+ <font
size=1 color=fuchsia face=Tahoma>"  "<font
size=1 color=black face=Tahoma> + <span
>Date<font
size=1 color=black face=Tahoma>() + <span
>" COVER, 2000,
"<span
> + <font
size=1 color=blue face=Tahoma>Name<span
>() + <font
size=1 color=fuchsia face=Tahoma>" , "<font size=1 color=black
face=Tahoma> + <font
size=1 color=fuchsia face=Tahoma>"LMT"<font size=1 color=black
face=Tahoma> + <font
size=1 color=fuchsia face=Tahoma>" , "<font size=1 color=black
face=Tahoma> + <font
size=1 color=blue face=Tahoma>WriteVal<span
>(<span
>Close,FORMAT=<font size=1
color=fuchsia face=Tahoma>1.2<span
>)+ <font
size=1 color=fuchsia face=Tahoma>"  "<font
size=1 color=black face=Tahoma> + <span
>Date<font
size=1 color=black face=Tahoma>() , type = <span
>1<font
size=1 color=black face=Tahoma>,flags = <span
>1<font
size=1 color=black face=Tahoma>+<span
>8<font
size=1 color=black face=Tahoma>, lookback = <span
>1<font
size=1 color=black face=Tahoma> );

<font
size=1 color=black face=Tahoma> 

<font
size=1 color=black face=Tahoma> 

<font
size=1 color=blue face=Tahoma>I have tried Writeif() and that didn&#8217;t do it for me.

<font
size=1 color=blue face=Tahoma> 

<font
size=1 color=black face=Tahoma>I tried the EnableTextOutput() and editor changes a comma to <
sign.

<font
size=1 color=black face=Tahoma> 

<font
size=1 color=blue face=Tahoma>AlertIf<span
>(<span
>Buy<<font size=1
color=fuchsia face=Tahoma>"EnableTextOutput(False);<font size=1
color=black face=Tahoma>

<font
size=1 color=black face=Tahoma>variable = <span
>"text"<font
size=1 color=black face=Tahoma>; <span
>// this won't be written
to commentary window<span
>

<font
size=1 color=blue face=Tahoma>EnableTextOutput<span
>(<span
>True); 

<font
size=1 color=black face=Tahoma> 

<font
size=1 color=black face=Tahoma>I tried to define a text string,.

<font
size=1 color=black face=Tahoma> 

<font
size=1 color=black face=Tahoma>Var1 = <span
>"STK"<font
size=1 color=black face=Tahoma>,<span
>"BUY"<font
size=1 color=black face=Tahoma>,<span
>"2000"<font
size=1 color=black face=Tahoma>,<span
>"LMT"<font
size=1 color=black face=Tahoma>;

<font
size=1 color=black face=Tahoma>Var2 = <span
>"STK"<font
size=1 color=black face=Tahoma>,<span
>"SELL"<font
size=1 color=black face=Tahoma>,<span
>"2000"<font
size=1 color=black face=Tahoma>,<span
>"LMT"<font
size=1 color=black face=Tahoma>;

<font
size=1 color=black face=Tahoma>Var3 = <span
>"STK"<font
size=1 color=black face=Tahoma>,<span
>"COVER"<font
size=1 color=black face=Tahoma>,<span
>"2000"<font
size=1 color=black face=Tahoma>,<span
>"LMT"<font
size=1 color=black face=Tahoma>;

<font
size=1 color=black face=Tahoma>Var4 = <span
>"STK"<font
size=1 color=black face=Tahoma>,<span
>"SHORT"<font
size=1 color=black face=Tahoma>,<span
>"2000"<font
size=1 color=black face=Tahoma>,<span
>"LMT"<font
size=1 color=black face=Tahoma>;

<font
size=1 color=black face=Tahoma> 

<font
size=1 color=black face=Tahoma>Nothing worked.

<font
size=1 color=black face=Tahoma>Any thoughts?

<font
size=1 color=black face=Tahoma> 

<font
size=1 color=black face=Tahoma>Thanks,

<font
size=1 color=black face=Tahoma>Mr Valley

<font size=2 color=black
face=Arial> 










Yahoo! Groups Sponsor












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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.