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

Re: [amibroker] Help With Code



PureBytes Links

Trading Reference Links

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 <norm1@xxxxxxxxxxx> wrote:
From: longarm61 <norm1@xxxxxxxxxxx>
Subject: [amibroker] Help With Code
To: amibroker@xxxxxxxxxxxxxxx
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




__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

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





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___