Hi vgakkhar,

Look in the afl and help files for time frame set.  Also look in the AB Library 
with a search for pivots.  There are a number of examples of how to display 
daily, weekly, etc calculated levels on intraday charts.  Also look for daily 
moving averages on intraday charts. Good luck.

Peace and Justice   ---   Patrick
  ----- Original Message ----- 
  From: Vinay Gakkhar. 
  To: Amibroker 
  Sent: Sunday, January 31, 2010 4:54 PM
  Subject: [amibroker] Needed help in charting


  I use the following line in my AFL to show the target price on the right side 
of the chart. 

  Plot (Target, "Target", colorBlue, styleNoLine , Null, Null, 0);

  When I select 'i' in the 'view' toolbar, it gives me the intraday target 
price, when I select 'h' in the 'view' toolbar, it shows me the hourly target 
price, when I select 'd' or 'w' or 'm' in the 'view' toolbar, it shows me the 
daily or the weekly or the monthly target prices.

  Now I want that if I am working with the i (intraday) chart, it should within 
the same intraday chart show me simultaneously the hourly, daily, weekly & 
monthly target prices. And if I am working with a different periodicity chart 
view (say, daily), it should show me the other target prices with the remaining 
periodicity. In colors different from blue which I am using for intraday.

  Which code should I add to my AFL to get these ?

  Thank you.

  vgakkhar




  -- 

Reply via email to