HELLO SIR TRY THIS
 
HIGHTIME= Cross(TimeNum(),93000);
AFTERHIGH = TimeNum()>=93000;
NDAY = Day()!= Ref(Day(), -1);
HIGHDAY = HighestSince(NDAY,H,1);
LOWYES =LowestSince(NDAY,L,1);
OURBUY = ValueWhen(HIGHTIME,HIGHDAY,1);
Buy= Cross(C,OURBUY) AND AFTERHIGH;
 WITH REGARDS  NIFTY46(DHIRAJ SOOD)

--- On Wed, 4/1/09, longarm61 <[email protected]> wrote:

From: longarm61 <[email protected]>
Subject: [amibroker] Help With Code
To: [email protected]
Date: Wednesday, April 1, 2009, 12:03 PM






Hi, I could use a push in the right direction here. This is what I'm trying to 
do (working with 1-minute bars):

Buy if High is higher than High of 9:30 bar
AND High is lower than YESTERDAY'S CLOSE 
AND time is between 9:31 and 9:45 (this I can do)

Sorry, if this is newbish. Thanks in advance for any help.

Grant

















      

Reply via email to