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

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



PureBytes Links

Trading Reference Links




Try 3 
quotes in a row to make 1 visible quote:
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2> """BUY""" + """ 2000"""   etc.
<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: Thursday, April 24, 2003 11:58 
  PMTo: AmibrokerSubject: [amibroker] Using STRING() 
  ???
  
  <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 
  > 
  <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 
  > 
  );
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <FONT face=Tahoma 
  color=blue size=1><SPAN 
  >I have tried 
  Writeif() and that didn&#8217;t do it for me.
  <FONT face=Tahoma 
  color=blue size=1><SPAN 
  > 
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  >I tried the 
  EnableTextOutput() and editor changes a comma to < 
  sign.
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <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 
  >
  <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 
  >
  <FONT face=Tahoma 
  color=blue size=1><SPAN 
  >EnableTextOutput<FONT 
  face=Tahoma color=black size=1><SPAN 
  >(<SPAN 
  >True); 
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  >I tried to define a 
  text string,.
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <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 
  >;
  <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 
  >;
  <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 
  >;
  <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 
  >;
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  >Nothing 
  worked.
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  >Any 
  thoughts?
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  > 
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  >Thanks,
  <FONT face=Tahoma 
  color=black size=1><SPAN 
  >Mr 
  Valley
  <FONT face=Arial color=black 
  size=2><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.