Check this out,

TimeFrameSet(inDaily);

Buy=Close > Ref(HHV(Close,1),-1);

Sell=Close < Ref(HHV(Close,1),-1);

Filter=1;

AddColumn( Close, "Close");

TimeFrameRestore();

Cheers

Prashanth

----- Original Message ----- 
From: "mahest72" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, March 20, 2008 9:37 PM
Subject: [amibroker] Re: please chek this simple afl i m getting no results


> thanx prashant,
> 
> i have candle+stock, which explore 7 type of pattern, that will do 
> time being. thanx for ur candle plot afl, but attachment is empty, 
> never mind.
> 
> i tried with ref function but some error like incorect formula, if u 
> cud write afl i will be thankfull plus learn how to use ref function.
> in future.
> 
> also if u wud can reply how to write afl for ref peak or low, 
> 
> well u r guiding me and truly i m thankfull, earlier u said to 
> change periodicity now i m getting realtime scan thanx for that too!!
> 
> regards
> mahesh
> 
> 
> 
> 
> 
> 
> ------------------------------------
> 
> 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
> 
> 
> 

Reply via email to