PureBytes Links
Trading Reference Links
|
Worked much better with a few more symbols.
Thanks very much.
Dave Robinson <robinson_dave@xxxxxxxxx> wrote:
It should work in the Automatic Analysis window. For example, on Aug-
27, this code provided 143 matches on my database of ~600 stocks.
Some of my results included AAPL, ABS, AFCI, AMZN, BMET...do you have
any of these stocks in your database?
--- In amibroker@xxxxxxxxxxxxxxx, Don Robinson <d48rob@xxxx> wrote:
> I am new to trading and am evaluating the demo version of
Amibroker, so far like what I see.
>
> I cut and pasted the code in this email and am getting zero results
returned. Is there a problem with the code or is there something I
might be doing wrong?
>
> Thanks
>
> Dave Robinson <robinson_dave@xxxx> wrote:
> Hi RR,
>
> I added some components of the example to my prior posting...any
> comments?
>
> // -- EXPLORATION START --
> /* #### INDICATOR AND PARAMETER DEFINITIONS ######################
*/
> /* parameters */
> msp = Param( "MACD Short Period", 11, 8, 20, 1 );
> mlp = Param( "MACD Long Period", 22, 20, 30, 1 );
> bpp = Param( "Bull/Bear Period", 13, 10, 30, 1 );
>
> /* weekly trend indicators */
> TimeFrameSet( inWeekly );
> whist = MACD( msp, mlp ) - Signal( msp, mlp, 9 );
> wtrend = ROC( whist, 1 );
> TimeFrameRestore();
> wtrend = TimeFrameExpand( wtrend, inWeekly );
>
> /* daily trend indicators */
> dhist = MACD( msp, mlp ) - Signal( msp, mlp, 9 );
>
> /* oscillators */
> bullpower = High - EMA( Close, bpp );
> bearpower = Low - EMA( Close, bpp );
>
> /* #### SIMPLE TRIPLE SCREEN SYSTEM ##############################
*/
> Buy =
> bearpower < 0
> AND
> bearpower > Ref( bearpower, -1 )
> AND
> dhist < 0
> AND
> wtrend > 0
> AND
> High > Ref( High, -1 );
>
> BuyPrice = Ref( High, -1 );
>
> Sell =
> bullpower > 0
> AND
> bullpower < Ref( bullpower, -1 )
> AND
> dhist > 0
> AND
> wtrend < 0
> AND
> High < Ref( High, -1 );
>
> SellPrice = Ref( Low, -1 );
> Short = Sell;
> Cover = Buy;
>
> Filter = Buy OR Sell OR Short OR Cover;
> AddColumn( Close, "Close", 1.2);
> // -- EXPLORATION END --
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "RR" <stocks@xxxx> wrote:
> > See Example 3 Amibroker 4.6 userguide page 134.
> >
> > -----Original Message-----
> > From: Dave Robinson [mailto:robinson_dave@x...]
> > Sent: Tuesday, August 24, 2004 6:09 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: [amibroker] Elder Triple Screen
> >
> >
> > Has anyone created a system based on the Elder Triple Screen
System?
> >
> > Using Elder's equations for BullPower and BearPower, I came up
with
> > the system below. I am planning on adding more oscillator
> conditions
> > and trend conditions.
> >
> > // -- INDICATOR START --
> > /* #### INDICATOR AND PARAMETER DEFINITIONS ######################
> */
> > /* parameters */
> > msp = Param("MACD Short Period", 11, 8, 20, 1);
> > mlp = Param("MACD Long Period", 22, 20, 30, 1);
> > sp = Param("Short Period", 22, 1, 22, 1);
> >
> > /* trend indicators */
> > dhist = MACD( msp, mlp ) - Signal( msp, mlp, 9 );
> >
> > /* oscillators */
> > bullpower = High - EMA( Close, sp );
> > bearpower = Low - EMA( Close, sp );
> >
> > /* #### SIMPLE TRIPLE SCREEN SYSTEM ##############################
> */
> > Buy =
> > bearpower < 0
> > AND
> > bearpower > Ref( bearpower, -1 )
> > AND
> > dhist < 0
> > AND
> > High > Ref( High, -1 );
> >
> > Sell =
> > bullpower > 0
> > AND
> > bullpower < Ref( bullpower, -1 )
> > AND
> > dhist > 0
> > AND
> > High < Ref( High, -1 );
> >
> > Buy = ExRem(Buy,Sell);
> > Sell = ExRem(Sell,Buy);
> > // -- INDICATOR END --
> >
> >
> > Any comments on this? Thanks...Dave
> >
> >
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > Yahoo! Groups Links
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
> Yahoo! Groups SponsorADVERTISEMENT
>
>
> ---------------------------------
> 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.
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
>
> [Non-text portions of this message have been removed]
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups SponsorADVERTISEMENT
---------------------------------
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.
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
|