PureBytes Links
Trading Reference Links
|
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 amibroker@xxxxxxxxxxxxxxx, "damiantodaro" <damian@xxx> 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...
>
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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|