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

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



PureBytes Links

Trading Reference Links




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 face=Arial color=#0000ff 
size=2> 
Or try 
using apostophe's ( <- that mark between the e and s ) 
instead?
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>d

  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: Mr Valley 
  [mailto:valleymj@xxxxxxxxx] Sent: Friday, April 25, 2003 12:16 
  AMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: [amibroker] 
  Using STRING() ???
  
  <FONT face=Arial color=navy 
  size=2><SPAN 
  >Me 
  too,  I <FONT 
  face=Arial color=blue size=2><SPAN 
  >shoulda tried that 
  before I sent it.<FONT face=Arial 
  color=navy size=2><SPAN 
  >
  <FONT face=Arial color=navy 
  size=2><SPAN 
  > 
  <FONT face=Tahoma color=black 
  size=2><SPAN 
  >-----Original 
  Message-----From: dingo 
  [mailto:dingo@xxxxxxxxxx]<SPAN 
  >Sent: Thursday, April 24, 2003 10:10 
  PMTo: 
  amibroker@xxxxxxxxxxxxxxx<SPAN 
  >Subject: RE: [amibroker] Using STRING() 
  ???
  <FONT face="Times New Roman" 
  size=3><SPAN 
  > 
  <FONT face=Arial color=blue 
  size=2>shoulda 
  tried that before I sent it. Won't work!<SPAN 
  >
  <FONT face="Times New Roman" 
  color=black size=3><SPAN 
  > <FONT 
  color=black><SPAN 
  >
  <FONT face=Arial color=blue 
  size=2>Sorry 
  bout that.<SPAN 
  >
  <FONT face="Times New Roman" 
  color=black size=3><SPAN 
  > <FONT 
  color=black><SPAN 
  >
  <FONT face=Arial color=blue 
  size=2><SPAN 
  >d<FONT 
  color=black><SPAN 
  >
  <P class=MsoNormal 
  ><FONT 
  face=Tahoma color=black size=2><SPAN 
  >-----Original 
  Message-----From: dingo 
  [mailto:dingo@xxxxxxxxxx] <SPAN 
  >Sent: Friday, April 25, 2003 12:08 
  AMTo: 
  amibroker@xxxxxxxxxxxxxxx<SPAN 
  >Subject: RE: [amibroker] Using STRING() 
  ???<SPAN 
  >
  <P class=MsoNormal 
  ><FONT 
  face=Arial color=blue size=2><SPAN 
  >Try 3 quotes in a row 
  to make 1 visible quote:<SPAN 
  >
  <P class=MsoNormal 
  ><FONT 
  face="Times New Roman" color=black size=3><SPAN 
  > <FONT 
  color=black><SPAN 
  >
  <P class=MsoNormal 
  ><FONT 
  face=Arial color=blue size=2><SPAN 
  > """BUY""" + 
  """ 2000"""   etc.<SPAN 
  >
  <P class=MsoNormal 
  ><FONT 
  face="Times New Roman" color=black size=3><SPAN 
  > <FONT 
  color=black><SPAN 
  >
  <P class=MsoNormal 
  ><FONT 
  face=Arial color=blue size=2><SPAN 
  >d<FONT 
  color=black><SPAN 
  >
  <P class=MsoNormal 
  ><FONT 
  face=Tahoma color=black size=2><SPAN 
  >-----Original 
  Message-----From: Mr Valley 
  [mailto:valleymj@xxxxxxxxx] <SPAN 
  >Sent: Thursday, April 24, 2003 11:58 
  PMTo: Amibroker<SPAN 
  >Subject: [amibroker] Using STRING() 
  ???<SPAN 
  >
  <FONT 
  face=Arial color=black size=2><SPAN 
  >How 
  can I encase the text with quotes and have it display/ function correctly so I 
  can work with it the AA window?
  <FONT 
  face=Arial color=black size=2><SPAN 
  > 
  <FONT 
  face=Arial color=black size=2><SPAN 
  > 
  <FONT 
  face=Arial color=black size=2><SPAN 
  >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 
  face=Arial color=black size=2><SPAN 
  > 
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=blue size=1><SPAN 
  >AlertIf<FONT 
  face=Tahoma color=black size=1><SPAN 
  >( <SPAN 
  >Buy, <FONT face=Tahoma 
  color=fuchsia size=1><SPAN 
  >" 
  "<SPAN 
  >,&#8221; 
  <SPAN 
  >"BUY, 2000,&#8221; 
  "<SPAN 
  > + 
  <SPAN 
  >Name<FONT 
  face=Tahoma color=black size=1><SPAN 
  >() + 
  <SPAN 
  >" , 
  "<SPAN 
  > + 
  <SPAN 
  >"LMT"<FONT 
  face=Tahoma color=black size=1><SPAN 
  > + 
  <SPAN 
  >" , 
  "<SPAN 
  > + 
  <SPAN 
  >WriteVal<FONT 
  face=Tahoma color=black size=1><SPAN 
  >(<SPAN 
  >Close,FORMAT=<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >1.2<FONT 
  face=Tahoma color=black size=1><SPAN 
  >)+ 
  <SPAN 
  >"<SPAN 
  >  "<FONT face=Tahoma 
  color=black size=1><SPAN 
  > + 
  <SPAN 
  >Date<FONT 
  face=Tahoma color=black size=1><SPAN 
  >() + 
  <SPAN 
  >" COVER, 2000, 
  "<SPAN 
  > + 
  <SPAN 
  >Name<FONT 
  face=Tahoma color=black size=1><SPAN 
  >() + 
  <SPAN 
  >" , 
  "<SPAN 
  > + 
  <SPAN 
  >"LMT"<FONT 
  face=Tahoma color=black size=1><SPAN 
  > + 
  <SPAN 
  >" , 
  "<SPAN 
  > + 
  <SPAN 
  >WriteVal<FONT 
  face=Tahoma color=black size=1><SPAN 
  >(<SPAN 
  >Close,FORMAT=<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >1.2<FONT 
  face=Tahoma color=black size=1><SPAN 
  >)+ 
  <SPAN 
  >"<SPAN 
  >  "<FONT face=Tahoma 
  color=black size=1><SPAN 
  > + 
  <SPAN 
  >Date<FONT 
  face=Tahoma color=black size=1><SPAN 
  >() , type = 
  <SPAN 
  >1<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,flags = 
  <SPAN 
  >1<FONT 
  face=Tahoma color=black size=1><SPAN 
  >+<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >8<FONT 
  face=Tahoma color=black size=1><SPAN 
  >, lookback = 
  <SPAN 
  >1<FONT 
  face=Tahoma color=black size=1><SPAN 
  > 
  );
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=blue size=1><SPAN 
  >I have tried 
  Writeif() and that didn&#8217;t do it for me.
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=blue size=1><SPAN 
  > 
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  >I tried the 
  EnableTextOutput() and editor changes a comma to < 
  sign.
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=blue size=1><SPAN 
  >AlertIf<FONT 
  face=Tahoma color=black size=1><SPAN 
  >(<SPAN 
  >Buy<<FONT face=Tahoma 
  color=fuchsia size=1><SPAN 
  >"EnableTextOutput(False);<FONT 
  face=Tahoma color=black size=1><SPAN 
  >
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  >variable = 
  <SPAN 
  >"text"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >; 
  <SPAN 
  >// this won't be 
  written to commentary window<FONT face=Tahoma color=black 
  size=1><SPAN 
  >
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=blue size=1><SPAN 
  >EnableTextOutput<FONT 
  face=Tahoma color=black size=1><SPAN 
  >(<SPAN 
  >True); 
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  >I tried to define a 
  text string,.
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  >Var1 = 
  <SPAN 
  >"STK"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >"BUY"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >"2000"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >"LMT"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >;
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  >Var2 = 
  <SPAN 
  >"STK"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >"SELL"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >"2000"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >"LMT"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >;
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  >Var3 = 
  <SPAN 
  >"STK"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >"COVER"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >"2000"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >"LMT"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >;
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  >Var4 = 
  <SPAN 
  >"STK"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >"SHORT"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >"2000"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >,<FONT 
  face=Tahoma color=fuchsia size=1><SPAN 
  >"LMT"<FONT 
  face=Tahoma color=black size=1><SPAN 
  >;
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  >Nothing 
  worked.
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  >Any 
  thoughts?
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  >Thanks,
  <P class=MsoNormal 
  ><FONT face=Tahoma 
  color=black size=1><SPAN 
  >Mr 
  Valley
  <FONT 
  face=Arial color=black size=2><SPAN 
  > 
  <P class=MsoNormal 
  ><FONT 
  face="Times New Roman" color=black size=3><SPAN 
  ><FONT 
  face="Courier New" color=black size=2><SPAN 
  >Send BUG 
  REPORTS to bugs@xxxxxxxxxxxxx<FONT face="Courier New" 
  color=black size=2><SPAN 
  >Send 
  SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web 
  page: <A 
  href="">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> <FONT 
  face="Courier New" color=black size=2><SPAN 
  >Your use of 
  Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of 
  Service. 
  <SPAN 
  >
  <P class=MsoNormal 
  ><FONT 
  face="Times New Roman" color=black size=3><SPAN 
  ><FONT 
  face="Courier New" color=black size=2><SPAN 
  >Send BUG 
  REPORTS to bugs@xxxxxxxxxxxxx<FONT face="Courier New" 
  color=black size=2><SPAN 
  >Send 
  SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web 
  page: <A 
  href="">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> <FONT 
  face="Courier New" color=black size=2><SPAN 
  >Your use of 
  Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of 
  Service. 
  <SPAN 
  >
  <FONT face="Times New Roman" 
  color=black size=3><BR 
  ><BR 
  ><FONT 
  color=black><SPAN 
  ><FONT 
  face="Courier New" color=black size=2><SPAN 
  >Send BUG 
  REPORTS to bugs@xxxxxxxxxxxxx<FONT face="Courier New" 
  color=black size=2><SPAN 
  >Send 
  SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web 
  page: <A 
  href="">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> <FONT 
  face="Courier New" color=black size=2><SPAN 
  >Your use of 
  Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of 
  Service. 
  <SPAN 
  >
  Send 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







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.