Debdulal Bhattacharyya

 If you mean buy or sell the 45 min breakout or breakdown
breakoutime = 101500;
afterbreakout = cross(timenum(),101500);
NewDay = Day()!= Ref(Day(), -1);
highestoftheday = highestsince(newday,H,1);
Lowestoftheday =lowestsince(newday,L,1);
ORBHigh = valuewhen(afterbreakout,highestoftheday,1);
ORBLow = valuewhen(afterbreakout,lowestoftheday,1);
buy= cross(C,orbhigh) and afterbreakout; //buy when cross after 10:15 am EST
sell = cross(orblow,C) and afterbreakout; 

good luck
Rajiv


To: [email protected]
From: [email protected]
Date: Sun, 28 Dec 2008 04:27:41 +0000
Subject: [amibroker] high low till 10.15



















    
            Hi all,

Please help me to  write the afl for finding(and storing those into

two variables) high  and low till 10.15 AM everyday in

RTDatabase(Intraday).

I want Buy signal above the high till 10.15 and sell signal  below the

low till 10.15  everyday.

Thanx in advance



Regards

Debdulal Bhattacharyya




      

    
    
        
        
        
        


        


        
        
_________________________________________________________________
Send e-mail anywhere. No map, no compass.
http://windowslive.com/oneline/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_anywhere_122008

Reply via email to