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

[amibroker] Basic Trend Following System



PureBytes Links

Trading Reference Links

Simple Trend Following system. Tests well on US Stocks
DB 100k into 1.1 mil over 10 yrs and NDX100 - 100k
into 1.5 mil over 10 yrs

//***************************************************//
Buy = C > 1.00 AND Volume > 10000000 AND Cross ( MACD
(12,26), Signal (12,26,9));

Sell = Cross( MA( Close, 200 ), EMA( Close, 22 ) );

//Stops

TrailStopAmount = 10 * ATR( 10 );
ApplyStop( 2, 2, TrailStopAmount, 1 );

//Position Sizing Algorithm

Capital= 100000;
RiskPercent= .20;
Risk = RiskPercent * Capital;
PositionSize = (Risk / TrailStopAmount) * BuyPrice;

PositionScore = 50-RSI(); // prefer stocks that have
low RSI;

//******************************************//


		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com


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/