M:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
F:=(EMA(M,3)-50)*2;
AA:REF(F,2)>75 AND REF(F,1)<60 AND F>80;
BB:REF(F,2)>65 AND REF(F,1)<50 AND F>70;
CC:REF(F,2)>55 AND REF(F,1)<40 AND F>60;
DD:REF(F,2)>45 AND REF(F,1)<30 AND F>50;
EE:REF(F,2)>35 AND REF(F,1)<20 AND F>40;
FF:REF(F,2)>25 AND REF(F,1)<10 AND F>30;
GG:REF(F,2)>15 AND REF(F,1)<0 AND F>20;
HH:REF(F,2)>5 AND REF(F,1)<-10 AND F>10;
II:REF(F,2)>-5 AND REF(F,1)<-20 AND F>0;
{ 爱约股_通达信股票指标公式}
JJ:REF(F,2)>-15 AND REF(F,1)<-30 AND F>-10;
KK:REF(F,2)>-25 AND REF(F,1)<-40 AND F>-20;
LL:REF(F,2)>-35 AND REF(F,1)<-50 AND F>-30;
MM:REF(F,2)>-45 AND REF(F,1)<-60 AND F>-40;
NN:REF(F,2)>-55 AND REF(F,1)<-70 AND F>-50;
OO:REF(F,2)>-65 AND REF(F,1)<-80 AND F>-60;