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

RE: [amibroker] Using STRING() ???



PureBytes Links

Trading Reference Links










<font size=2 color="#993366"
face=Arial>I just tried 

<font size=2 color="#993366"
face=Arial> 

<font
size=1 color=black face=Tahoma>Buy1 = Buy;

AddColumn<font size=1
color=black face=Tahoma>( <span
>IIf<font
size=1 color=black face=Tahoma>( Buy1==<span
>1<font
size=1 color=black face=Tahoma>,  <font
size=1 color=fuchsia face=Tahoma>"STK"<font size=1 color=black
face=Tahoma>,<font
size=1 color=fuchsia face=Tahoma>"Buy"<font size=1 color=black
face=Tahoma>,<font
size=1 color=fuchsia face=Tahoma>"2000"<font size=1 color=black
face=Tahoma>,<font
size=1 color=fuchsia face=Tahoma>"LMT"<font size=1 color=black
face=Tahoma>, <span
>formatChar );

 

And that didn&#8217;t do it either.

 

Any thoughts?<span
class=EmailStyle22><span
>

<font size=2 color="#993366"
face=Arial> 

<font size=2 color=black
face=Tahoma>-----Original
Message-----
From: dingo
[mailto:dingo@xxxxxxxxxx]
Sent: Thursday, April 24, 2003
10:26 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Using
STRING() ???

<span
> 

<span
>I'm too tired to try this
but if you do script try creating the strings you want to use in script the
Character number 34 is the quote mark. Then pass the string back to
AFL..??  Do you REALLY, REALLY need those quote marks?  <font
color=black>

<font size=3 color=black
face="Times New Roman"> <font
color=black>

<span
>Or try using apostophe's
( <- that mark between the e and s ) instead?<font
color=black>

<font size=3 color=black
face="Times New Roman"> <font
color=black>

<span
>d<font
color=black>

-----Original Message-----
From: Mr Valley
[mailto:valleymj@xxxxxxxxx] 
Sent: Friday, April 25, 2003 12:16
AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Using
STRING() ???

<font
size=2 color=navy face=Arial>Me too, 
I <span
>shoulda tried that before
I sent it.<font size=2 color=navy
face=Arial>

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

<font size=2 color=black
face=Tahoma>-----Original
Message-----
From: dingo
[mailto:dingo@xxxxxxxxxx]
Sent: Thursday, April 24, 2003
10:10 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Using
STRING() ???

<font size=3 color=black
face="Times New Roman"> <font
color=black>

<font size=2 color=blue
face=Arial>shoulda
tried that before I sent it. Won't work!<span
>

<font size=3 color=black
face="Times New Roman"> <font
color=black>

<font size=2 color=blue
face=Arial>Sorry
bout that.

<font size=3 color=black
face="Times New Roman"> <font
color=black>

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

-----Original Message-----
From: dingo
[mailto:dingo@xxxxxxxxxx] 
Sent: Friday, April 25, 2003 12:08
AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Using
STRING() ???

Try 3 quotes in a row to make 1 visible
quote:

<span
> <span
>

 """BUY"""
+ """ 2000"""   etc.<font
color=black>

<span
> <span
>

d<span
>

-----Original Message-----
From: Mr Valley
[mailto:valleymj@xxxxxxxxx] 
Sent: Thursday, April 24, 2003
11:58 PM
To: Amibroker
Subject: [amibroker] Using
STRING() ???

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

<span
>

<span
>Send BUG REPORTS
to bugs@xxxxxxxxxxxxx<font size=2 color=black
face="Courier New">
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: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html<font
color=black> 

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

<span
>

<span
>Send BUG REPORTS
to bugs@xxxxxxxxxxxxx<font size=2 color=black
face="Courier New">
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: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html<font
color=black> 

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

<font size=3 color=black
face="Times New Roman"><br
>



<span
>Send BUG REPORTS
to bugs@xxxxxxxxxxxxx<font size=2 color=black
face="Courier New">
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: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html<font
color=black> 

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

<span
> <font
color=black>

<span
>

<span
>Send BUG REPORTS
to bugs@xxxxxxxxxxxxx<font size=2 color=black
face="Courier New">
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: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html<font
color=black> 

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

<font size=3 color=black
face="Times New Roman"><br
>



<font size=2 color=black
face="Courier New">Send BUG REPORTS to bugs@xxxxxxxxxxxxx<font
size=2 color=black face="Courier New">
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: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html<font
color=black> 

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










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.