Ken,

code below. Uses the deDateTime.dll plugin that can be found somewhere I 
believe in the files area or 3rd party area, rgds, Ed


SetBarsRequired(10000,10000); 

starttime = 153000; 
endtime = 160000; 

tn = TimeNum(); 

timecond = tn >= starttime AND tn <= endtime; 
startday = tn == starttime; 

firstBarOfDay = deFlagFirstBarOfDay( starttime ); 
lastBarOfDay = deFlagLastBarOfDay( endtime); 

myHigh = ValueWhen(timecond, HighestSince(firstBarOfDay,High)); 
myLow = ValueWhen(timecond, LowestSince(firstBarOfDay,Low)); 

DH = TimeFrameCompress(myHigh, inDaily, compressLast); 
DL = TimeFrameCompress(myLow, inDaily, compressLast); 

DH = TimeFrameExpand(Ref(DH,-0),inDaily,expandFirst); 
DL = TimeFrameExpand(Ref(DL,-0),inDaily,expandFirst); 
DH = IIf(timecond,DH,Null); 
DL = IIf(timecond,DL,Null); 

SetChartOptions(0, chartShowDates); 
Plot(C,"Last=",colorWhite,64); 
Plot(DH,"DH",colorBrightGreen,styleDashed | styleThick); 
Plot(DL,"DL",colorRed,styleDashed | styleThick); 

Plot( timecond, "", colorDarkGrey, styleArea|styleOwnScale,0,1); 


  ----- Original Message ----- 
  From: Ken H 
  To: [email protected] 
  Sent: Thursday, May 28, 2009 3:14 PM
  Subject: [amibroker] Intraday - Open 10 Minute Price Marker





        Hi

        Can anyone provide me with a formular that would provide horizontal 
dotted lines as a marker for the opening 10 minute price range on an intraday 
chart.    

        Many thanks

        Ken
       




------------------------------------------------------------------------------
  Need a Holiday? Win a $10,000 Holiday of your choice. Enter now..

  

Reply via email to