FSL:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
FSL6:=MA(FSL,6);
PP6:=MA(C,6);
PP:=SUM(C,1);
C1:=REF(C,1);
A:=((C-C1+C-L)/C*100) ;
B:=((C-H+C-C1)/C*100);
D:=((C-H+C-L)/C*100);
A1:=IF((C1 H), A,0);
B1:=IF((C1 L),B,0);
D1:=IF((C1 H AND C1 L),D,0);
ABD:=SUM((A1+B1+D1),1);
安全区:IF(FSL6 PP6 AND FSL PP6,100,90);
上涨区:IF((FSL =PP6) AND PP6 =PP ,105,90);
{持股区:=IF( FSL =FSL6 ,120,90);}
风险区:IF(PP6 FSL AND FSL FSL6,75,90);
下跌区:IF((PP6 =FSL) AND PP6 =PP ,70,90);
{持币区:=IF((FSL6 =FSL) ,60,90);}
启动1:IF(安全区=100 AND ABD 5,110,90);