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

Re: [amibroker] rotational trading signals



PureBytes Links

Trading Reference Links

hi,
 
rotational trading does not allow usage of Buy / Short / Sell / Cover. Instead it uses PositionScore. If the positionScore has a value for that particular symbol it will be considered and ranked together with other symbols that have a PositionScore value.
 
You can for instance add entry constraints inside the PositionScore line like the following example:
 
tt=50-RSI(14);
PositionScore = IIf(MA(C,50)*MA(V,50) > 40e6 AND (RSI(14) > 70 OR RSI(14) < 30),tt,0);
 
So I would assume you can use Alertif buy you will have to use the PositionScore instead of the Buy array.
 
something like:
 
ppp =  IIf(MA(C,50)*MA(V,50) > 40e6 AND (RSI(14) > 70 OR RSI(14) < 30), 1, 0);
AlertIf(ppp, "", "Current symbol considered ", 4 );
or just
AlertIf(PositionScore, "", "Current symbol considered ", 4 );
should work also I would think
 
rgds,
 
ed
 
----- Original Message -----
Sent: Thursday, February 24, 2005 4:16 AM
Subject: [amibroker] rotational trading signals


Is it possible to use AlertIf in the rotationaltrading mode? I get
an error on using the Buy variable as it has not been initialized.
Anybody know?

Tom





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links