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

Re: [amibroker] Date format in indicator window



PureBytes Links

Trading Reference Links





/* Price Plot in indicator window */
dnum=DateTime<FONT 
size=1>();//DateNum()<FONT 
color=#0000ff size=1>
Plot(<FONT face="Courier New" color=#0000ff 
size=1>_N(<FONT 
face="Courier New" color=#ff00ff size=1>"dnum"<FONT face="Courier New" 
size=1>),"Date = 
"+WriteVal<FONT 
size=1>(dnum,formatDateTime),colorTeal,styleNoLine|styleOwnScale); <FONT 
color=#ff0000 size=1>// ddmmyy 
Plot (O,<FONT color=#ff00ff 
size=1>"O"<FONT 
size=1>,colorBlue,styleNoLine|styleOwnScale);<FONT color=#0000ff 
size=1>
Plot (H,<FONT color=#ff00ff 
size=1>"H"<FONT 
size=1>,colorGreen,styleNoLine|styleOwnScale);<FONT color=#0000ff 
size=1>
Plot (L,<FONT color=#ff00ff 
size=1>"L"<FONT 
size=1>,colorRed,styleNoLine|styleOwnScale);<FONT color=#0000ff 
size=1>
Plot (Close,<FONT color=#ff00ff 
size=1>"C"<FONT 
size=1>,colorGreen,styleBar);<FONT 
face="Courier New" color=#ff0000 size=1>
//Alternate Output....Remove /*.....*/<FONT 
size=1>
/*Title=Name()+" - "+EncodeColor(colorTeal)+"Date = 
"+EncodeColor(colorBlack)+WriteVal(dnum,formatDateTime)+EncodeColor(colorBlue)+" 
O ="+EncodeColor(colorBlack)+WriteVal(Open,1.2)+EncodeColor(colorGreen)+" H 
="+EncodeColor(colorBlack)+WriteVal(H,1.2)+EncodeColor(colorRed)+" L 
="+EncodeColor(colorBlack)+WriteVal(L,1.2)+EncodeColor(colorGreen)+" C 
="+EncodeColor(colorBlack)+WriteVal(C,1.2);*/<FONT 
face=Arial size=2>

<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  dstricek12 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Wednesday, June 04, 2003 2:34 
  PM
  Subject: [amibroker] Date format in 
  indicator window
  HiI m having problemms with  DATE in my 
  formula. Trying to disply date in ddmmyy format but alas Date is displayed 
  in weird format..I tried other  combinations but  obviously im 
  missing something! What that could be ?Thnx for your time and 
  help  ! Drazen/* Price Plot in indicator window 
  */dnum=DateNum();Plot 
  (dnum,"Date",colorTeal,styleNoLine|styleOwnScale); // ddmmyy Plot 
  (O,"O",colorBlue,styleNoLine|styleOwnScale);Plot 
  (H,"H",colorGreen,styleNoLine|styleOwnScale);Plot 
  (L,"L",colorRed,styleNoLine|styleOwnScale);Plot 
  (Close,"C",colorGreen,styleBar);
  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. 
  
<BLOCKQUOTE 
><FONT 
  face="Courier New">---Outgoing mail is certified Virus 
  Free.Checked by AVG anti-virus system (<A 
  href="">http://www.grisoft.com).Version: 6.0.487 
  / Virus Database: 286 - Release Date: 6/1/2003






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.