My Role model in MS coding Mr Jose Silva has simplified mine one in another forum,does this sgregates the variable part now.
Jose's transformation of my code.
.........................................8............
{ Asish Roy Chowdhury's entry signals }
{ Variables }
LLVpds:=20;
RSIpds:=14;
RSIback:=2;
RSImax:=35;
WillRpds:=14;
WillRmax:=-95;
AlertPds:=10;
{ Conditions }
RSIlow:=LLV(RSI(RSIpds),LLVpds);
RSItrend:=RSIlow<Ref(RSIlow,-RSIback)
AND RSIlow<RSImax;
RSIsignal:=RSItrend=0 AND Alert(RSItrend,2);
CompositeTrend:=Alert(RSIsignal,AlertPds)
AND WillR(WillRpds)<WillRmax;
CompositeSignal:=CompositeTrend=0
AND Alert(CompositeTrend,2);
{ Plot in own window }
CompositeSignal
................................8.............
This one Mine "Counter Trend"
a:= LLV(RSI(14),20)< Ref(LLV(RSI(14),20),-2) AND LLV(RSI(14),20) < 35;
b:= If(Ref(a,-1) =1 AND a =0 ,1,0);
m:= Alert(b,10) AND WillR(14) < -95;
n:= If(Ref(m,-1) =1 AND m =0 ,1,0);