Generate trade signals while using enablerotationtrading and PositionScore

#1
Hello,
I want to automate following simple AFL strategywhich runs on basket of 30 or 40 stocks. If we use the Buy and Sell variable then we can use the AlertIf function to generate alerts of various kinds like email.
But in below AFL, because of the rotational nature of strategy Buy and Sell variables are not allowed.
Can anybody guide how to automate trading this strategy ?

EnableRotationalTrading();
SetOption("worstrankheld",10);
SetOption("Maxopenpositions",4);
SetOption("allowpositionshrinking",True);
PositionSize = -25;
PositionScore = 100 - RSI(14);



Thanks.