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

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



PureBytes Links

Trading Reference Links

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 <wadebullock@xxxxxxxxx> 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
>
>
>
>
>

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