AA1:0.211916*C+0.192951*REF(C,1)+0.158082*REF(C,2)+0.122217*REF(C,3)+0.091137*REF(C,4)+0.066337*REF(C,5)+0.047475*REF(C,6)+0.033564*REF(C,7)+0.023519*REF(C,8)+0.016373*REF(C,9)+0.011344*REF(C,10)+0.007832*REF(C,11)+0.005395*REF(C,12)+0.00371*REF(C,13)+0.002549*REF(C,14)+0.001751*REF(C,15)+0.001203*REF(C,16)+0.000826*REF(C,17)+0.000568*REF(C,18)+0.000391*REF(C,19)+0.000269*REF(C,20)+0.000185*REF(C,21)+0.000128*REF(C,22)+0.000088*REF(C,23)+0.000061*REF(C,24)+0.000042*REF(C,25)+0.000029*REF(C,26)+0.00002*REF(C,27)+0.000014*REF(C,28)+0.000009*REF(C,29)+0.000006*REF(C,30)+0.000003*REF(C,31)+0.000002*REF(C,32)+0.000001*REF(C,33)+0.000001*REF(C,34),COLORGREEN;
IF DATATYPE=6 Then begin
N:=30;
A3:=1.1;
A2:=1.125;
A1:=1.15;
B1:=0.9;
B2:=0.875;
B3:=0.85;
END;
IF DATATYPE=5 Then begin
N:=27.5;
A3:=1.075;
A2:=1.1;
A1:=1.125;
B1:=0.925;
B2:=0.9;
B3:=0.875;
END;
IF DATATYPE=4 Then begin
N:=25;
A3:=1.05;
A2:=1.075;
A1:=1.1;
B1:=0.95;
B2:=0.925;
B3:=0.9;
END;
IF DATATYPE=3 Then begin
N:=20;
A3:=1.05;
A2:=1.065;
A1:=1.08;
B1:=0.95;
B2:=0.935;
B3:=0.92;
END;
IF DATATYPE=2 Then begin
N:=15;
A3:=1.02;
A2:=1.03;
A1:=1.04;
B1:=0.96;
B2:=0.97;
B3:=0.98;
END;
ADF:EMA(AA1,N),COLORGREEN,LINETHICK2;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
PARTLINE(ADF =ref(ADF,1),ADF),COLORRED,LINETHICK2;
高险区1:ADF*A3,COLORRED;
高风区2:ADF*A2,COLORRED;
高风区3:ADF*A1,COLORRED;
良机区1:ADF*B1,COLORCYAN;
良机区2:ADF*B2,COLORCYAN;
良机区3:ADF*B3,COLORCYAN;