PureBytes Links
Trading Reference Links
|
Filter = Cond1 AND Cond2 AND Cond3 AND Cond4 AND Cond5 AND Cond6 AND
Cond7;
would be ok if you only scanned on the lat bar (n=1). But if you
wanted to scan over the last few intraday bars for a signal then you
would need to use timeframeexpand on the signals
Filter = timeframeexpand Cond1 AND Cond2 AND Cond3 AND Cond4 AND Cond5
AND Cond6 AND Cond7, indaily);
Of course if you are only scanning on daily tyimeframe with no other
timeframes, then you could leave out any timeframe
functions/statements and just set the AA settings periodicity to EOD
b) for defining condition:
ver 1: Cond1=Ref(Close,0) > Ref(EMA(Close,20),0);
ver.2 Cond1= Close > EMA(Close,20);
what version is correct ? ver 2 as ref(c,0) is surplus information
that slows things down. (ok for a couple of small things but if many
excess items slows calculation)
c) no idea
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 10/5/05, dicric_71 <bdvorak@xxxxxxxxxx> wrote:
> Hello,
> I want to scan my database (8000+ stocks, Esignal, base interval is 1
> min.) based on several EOD criterias.
>
> What type of code should be used:
> a) for selecting correct timeframe. I use:
> TimeFrameSet( inDaily );
> Cond1= some code....
> Cond2= some code....
> Cond3= some code....
> Cond4= some code....
> Cond5= some code....
> Cond6= some code....
> Cond7= some code....
> TimeFrameRestore(); // restore time frame to original
> Filter = Cond1 AND Cond2 AND Cond3 AND Cond4 AND Cond5 AND Cond6 AND
> Cond7;
> Is it OK to use TimeFrameSet and TimeFramerestore this way ?
>
> b) for defining condition:
> ver 1: Cond1=Ref(Close,0) > Ref(EMA(Close,20),0);
> ver.2 Cond1= Close > EMA(Close,20);
> what version is correct ?
>
> c) I use it with Esignal subscription . I have database 1 min and want
> to scan by EOD data. So I have checked "Wait for backfill " and also n
> last days=1. Or is it better have n last quotations ?
> I have problems that sometime I have result which is not with last day
> date but with date some days ago. Like as backfill is not done before
> exploration. ANy other have this experience ?
>
> Richard
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
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 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/
<*> 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/
|