[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Automating two scans



PureBytes Links

Trading Reference Links

Thanks for the help, so simple I should have figured it out.

Thanks again Mario.


--- In amibroker@xxxxxxxxxxxxxxx, William Peters <williampeters@xxxx> 
wrote:
> Hi Mario,
> 
> Below are two version, the first is a more basic forumla the second
> contains some additional functionality:
> 
> 1) Here is a 30 bar MA of the Close price pushed forward by 5 bars 
(-5).
> 
> Dma = Ref( MA( C, 30), -5 ); 
> Plot( Dma, "Displaced MA", colorDarkRed, 1 );
> 
> 
> 2) This version basically does the same thing, it additionally 
includes parameters for
> the moving average period and the shift(displacement) which can 
easily
> be changed by right clicking the chart containing the plot and
> selecting the Edit Parameter item from the popup menu.
> 
> Period = Param( "MA Period", 30, 5, 150, 5 );
> Shift = Param( "MA Shift", -5, -50, 50, 5 );
> Dma = Ref( MA( C, Period ), Shift ); 
> Plot( Dma, "" + Period + " Period MA - Displacement(" + Shift 
+ ")", colorDarkRed, 1 );
> 
> 
> Best regards,
> William Peters
> www.amitools.com
> 
> 
> 
> 
> Friday, July 9, 2004, 9:04:11 AM, you wrote:
> 
> 
> M> What I meant was displacing the MA forward or backwards you can 
see
> M> an example at prophet.net on their java charts just select add 
study
> M> and select displaced MA. 
> 
> M> Thanks for the help.
> M> Mario.
> 
> 
> M> --- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen" 
> M> <psytek@xxxx> wrote:



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/