九毛八公式指标
公式模块:
N:=20;
P:=25;
MID:=MA(CLOSE,N);
UPPER:=MID+P*STD(CLOSE,N)/10;
LOWER:=MID-P*STD(CLOSE,N)/10;
X00:=(H+C+L)/3;{X01 2.3}
X01:=0.3593964336454*X00+0.1061556927386*REF(X00,1)+0.1070368227074*REF(X00,2)+0.1097398807261*REF(X00,3)+0.1111111175094*REF(X00,4)
+0.0636145404474*REF(X00,5)+0.0508294752894*REF(X00,6)+0.0384783039502*REF(X00,7)+0.0261325562838*REF(X00,8)+0.0137868764133*REF(X00,9)+0.0082313208594*REF(X00,10)
+0.0041152371848*REF(X00,11)+0.0013717422447*REF(X00,12),COLORWHITE;
X02:=0.0784274314242*X00+0.0847329828021*REF(X00,1)+0.1210677292614*REF(X00,2)
+0.1353723993601*REF(X00,3)+0.1241759542746*REF(X00,4)+0.0609562535048*REF(X00,5)+0.0556154665432*REF(X00,6)+0.0678318871764*REF(X00,7)
+0.0845552153040*REF(X00,8)+0.0797204959788*REF(X00,9)+0.0647990696303*REF(X00,10)+0.0321243550474*REF(X00,11)+0.0106207596927*REF(X00,12);
A1:=REF(UPPER,1)>=UPPER AND REF(LOWER,1)<=LOWER;
A2:=BETWEEN(MID/X01,1.005,1.001) AND BETWEEN(MID/X02,1.005,1.001);
XG:=A1 AND A2;
输入大智慧出现Line9:C1001:语法错误:"," 我用的是雨扬大智慧破界版 N:=20;
P:=25;
MID:=MA(CLOSE,N);
UPPER:=MID+P*STD(CLOSE,N)/10;
LOWER:=MID-P*STD(CLOSE,N)/10;
X00:=(H+C+L)/3;
X01:=0.3593964336454*X00+0.1061556927386*REF(X00,1)+0.1070368227074*REF(X00,2)+0.1097398807261*REF(X00,3)+0.1111111175094*REF(X00,4)
+0.0636145404474*REF(X00,5)+0.0508294752894*REF(X00,6)+0.0384783039502*REF(X00,7)+0.0261325562838*REF(X00,8)+0.0137868764133*REF(X00,9)+0.0082313208594*REF(X00,10)
+0.0041152371848*REF(X00,11)+0.0013717422447*REF(X00,12);
X02:=0.0784274314242*X00+0.0847329828021*REF(X00,1)+0.1210677292614*REF(X00,2)
+0.1353723993601*REF(X00,3)+0.1241759542746*REF(X00,4)+0.0609562535048*REF(X00,5)+0.0556154665432*REF(X00,6)+0.0678318871764*REF(X00,7)
+0.0845552153040*REF(X00,8)+0.0797204959788*REF(X00,9)+0.0647990696303*REF(X00,10)+0.0321243550474*REF(X00,11)+0.0106207596927*REF(X00,12);
A1:=REF(UPPER,1)>=UPPER AND REF(LOWER,1)<=LOWER;
A2:=BETWEEN(MID/X01,1.005,1.001) AND BETWEEN(MID/X02,1.005,1.001);
XG:A1 AND A2;