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

[amibroker] Re: One trade a day and time frame - problem



PureBytes Links

Trading Reference Links




Hallo 
there !
<FONT face=Arial color=#0000ff 
size=2> 
Hope 
this helps a bit...
<FONT face=Arial color=#0000ff 
size=2> 
 
// CLOSE PRICE 
GRAPH
<FONT 
face=Arial> <FONT 
color=#0000ff size=1>
Plot<FONT face=Arial 
size=2>(C,"<SPAN 
class=218162109-03072004>Close",colorWhite,<FONT 
color=#0000ff>styleCandle);
 <FONT 
face="Courier New" color=#008000 size=1>
// Plot Shape on graph at 
01:15:00
 <FONT 
size=1>
shape = 
shapeUpTriangle * (TimeNum()==011500<FONT 
face=Arial>); <FONT color=#0000ff 
size=1>
PlotShapes<FONT 
face=Arial>(shape,colorBlue,0,L,-<FONT 
color=#ff00ff>30); 

 
This code will print 
a little blue triangle under each bar with the time of 01:15:00 on my hourly 
chart !!!  If you keep on getting blanks or nothing happens, make sure the 
the time you have coded does actually exist on the chart, in other words, there 
must be a bar on the chart that has that time stamp.  See the chart below 
!
<FONT face=Arial 
size=2> 
Kind 
regards
<FONT face=Arial 
size=2> 
<FONT face=Arial 
size=2>Louw
<FONT face=Arial 
size=2> 
<IMG alt="" hspace=0 
src="jpg00085.jpg" align=baseline border=0>
<SPAN 
class=218162109-03072004><FONT 
size=1> 

<FONT face=Arial color=#0000ff 
size=2> 

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: thegress 
  [mailto:pleasenospam@xxxxxxxxx]Sent: 02 July 2004 08:04 
  PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
  PlotShapes at specific TimeHi All, Please, 
  Newbie needs help. The below code is from support but when I plot it I get 
  a blank screen in a new pane. Sure would like to ID certain times of 
  trading day with some sort of shape on the price chart. Also, support said 
  would have to have a price bar wth exactly the same time, so would like to 
  also to code with a lee way. Yes have checked AmiBroker Mailing list 
  Archive 1998 to 2002 (great reference).shape = 
  shapeHollowSmallUpTriangle * (TimeNum()==103600); 
  PlotShapes(shape,colorRed,0); The above code shapeHollow etc 
  is in bold type which I guess makes a diff.My first try is below 
  but that does not work either.PlotShapes ( TimeNum (103600), 
  shapeHollowSmallUpTriangle,colorGreen, Layer =0, offset = 50) 
  ;Thanks in advance if anybody helps.TheGressStockton, 
  Ca. USACheck AmiBroker web page at:<A 
  href="">http://www.amibroker.com/Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
   has notified the sender that this message has been received.


Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.






Attachment: Description: ""