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

[amibroker] How Can I plot this on a 5 min intraday chart???



PureBytes Links

Trading Reference Links

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 );




Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.13/546 - Release Date: 11/22/2006