PureBytes Links
Trading Reference Links
|
Can somebody explain
how to use Foreign() and/or SetForeign() in Time Frames?
<SPAN
class=625373816-10052004>
We setting the
current stock to the QQQ and setting AA Periodicity to Daily the code below
gives expected results with and without the Foreign() statement. However
when setting my AA Periodicity to 1Minute the system doesn't seem to work.
<SPAN
class=625373816-10052004>
Can Foreign() and
SetForeign() be used within TimeFrames?
<SPAN
class=625373816-10052004>
Thanks for any help
you can give!
<SPAN
class=625373816-10052004>herman.
<SPAN
class=625373816-10052004>
<SPAN
class=625373816-10052004>TimeFrameSet(inDaily);SetForeign("QQQ"); //
<<<<<<<<<<<<<<<<<<<Buy=Cross(
MACD(), Signal() );Sell = Cross( Signal(), MACD()
);TimeFrameRestore();Buy=TimeFrameExpand(Buy,inDaily);Sell=TimeFrameExpand(Sell,inDaily);Short=Sell;Cover=Buy;
<SPAN
class=625373816-10052004>
<SPAN
class=625373816-10052004>
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|