Hi Graham,
   
  Thanks for the reply!  That worked.  I reduced to 10, so it looks like:
  StDev(log(C/Ref(C,-1)),10);
   
  I don't quite understand it though.  I thought the TimeframeSet/Restore: was 
designed to have a formula operate outside of the current timeframe (i.e., 5 
min).  I didn't realize I would have to make adjustments to my formula as it 
operates on Daily bars to compensate .  Any clarity here would be appreciated.
   
  Thanks 
   
  Wade Bullock  

Graham <[EMAIL PROTECTED]> wrote:
          try reducing the stdev function periods
StDev(log(C/Ref(C, -1)),50);



-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements 
http://www.aflwriting.com 

  On 23/11/06, wadebullock <[EMAIL PROTECTED]> wrote:  Hi All,

How can I plot this on my 5 minute intraday chart?  It plots on a
daily chart and have tried many variations... and alternatives.  I've
read the articles on Multiple Timeframe support and Common Coding 
Mistake and can't seem to get it.

HV100 in the THREESTDV  line seems to be the culprit, and appears to
be calling 5min HV100 rather than Daily.  Any help will be greatly
appreciated as I have been trying to fix this longer than I would 
care to admit!  :)

Thanks!

Wade Bullock

TimeFrameSet (inDaily);
HV100 = round(StDev(log(C/Ref(C, -1)),100)*100*sqrt(256));
THREESTDV = ((HV100/100) / (sqrt(256)))*(Ref(Close, -1))*3;
ThreeOh = (Ref(Close, -2)) - THREESTDV; 
TimeFrameRestore ();

ThreeOh = TimeFrameExpand (ThreeOh, inDaily);

Plot (ThreeOh,"",colorBrown,styleDashed );





Please note that this group is for discussion between users only. 

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

Yahoo! Groups Links







  

         

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to