Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
Ken Calhoun's article, “Golden Cross Breakouts”, presented a trading system based on a popular pattern. The buy and sell signals are shown below. Buy Signal: Code:Cross( Mov( C, 50, S), Mov( C, 200, S) )
Sell Signal: Code:bsig:= Cross( Mov( C, 50, S), Mov( C, 200, S) );
ssig:= Cross( Mov( C, 200, S), Mov( C, 50, S) );
stop:= C - 2;
trade:= If( PREV<=0, If( bsig, stop, 0),
If( ssig, -1, If( L < PREV, -2, Max(PREV, stop))));
trade < 0
|