Here is an example that hopefully will get you going. You would set 
the timeframe to 5 minutes or whatever you want, then extract the 
daily data using your formulas .....
regards
Larry

TimeFrameSet(inDaily);                                          
                         
YESTERDAYHIGH = Ref(H,-1);                                      
                                
YESTERDAYCLOSE = Ref(C,-1);                                     
                                
YESTERDAYLOW = Ref(L,-1);                                       
                                                                
TimeFrameRestore();                                             
                        
YESTERDAYHIGH   = TimeFrameExpand( YESTERDAYHIGH, 
inDaily ,expandFirst);                                          
                
YESTERDAYLOW    = TimeFrameExpand( YESTERDAYLOW, 
inDaily ,expandFirst);                                          
                
YESTERDAYCLOSE  = TimeFrameExpand( YESTERDAYCLOSE, 
inDaily ,expandFirst);          


--- In [email protected], "damiantodaro" <[EMAIL PROTECTED]> wrote:
>
> is is possible to write formulas that combine both intraday and 
daily 
> data ...
> 
> here's a simply example:
> 
> Buy = LinRegSlope(Past 3 Daily Bars) >0 and LinRegSlope(Past 5 5-
minute 
> bars) < 0
> 
> i thought about just increasing the # periods by a factor of (7 x 
12) 
> for the daily funcitons, but that won't give the same results...
>


Reply via email to