通达信彩色版雪山飞狐主图指标公式
2020/7/6 19:13:02
AAA:=(MA(CLOSE,13)+MA(CLOSE,17))/2;
CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
BBB:=AAA+2.1*CCC;
DDD:=AAA+0.72*CCC;
ZZZ:=IF(CCC>1.88 ,MA(DDD,3),DDD);
平仓:ZZZ*1.145,COLORCYAN,LINETHICK3;
风险:ZZZ*1.095,COLORGREEN,LINETHICK2;
回档:ZZZ*1.04,COLORYELLOW,LINETHICK1;
平衡:ZZZ*0.986,COLORWHITE,LINETHICK2;
反弹:ZZZ*0.918,COLORMAGENTA,LINETHICK1;
超低:ZZZ*0.880,COLORRED,LINETHICK2;
满仓:ZZZ*0.83,COLORBLUE,LINETHICK3;
X1:=(CLOSE+LOW+HIGH)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
STICKLINE(X2>X3 AND CLOSE>EMA(CLOSE,13),LOW,HIGH,0,1),COLORRED;
STICKLINE(X2>X3 AND CLOSE>EMA(CLOSE,13),CLOSE,OPEN,3,1),COLORRED;
STICKLINE(X2<X3 AND CLOSE<EMA(CLOSE,13),LOW,HIGH,0,1),COLORFFFF54;
STICKLINE(X2<X3 AND CLOSE<EMA(CLOSE,13),CLOSE,OPEN,3,0),COLORFFFF54;
GR2:=EMA(CLOSE,13)>EMA(CLOSE,21) AND EMA(CLOSE,21)>EMA(CLOSE,34) AND EMA(CLOSE,13)>REF(EMA(CLOSE,13),1);
LC := REF(CLOSE,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
换手:=100*VOL/CAPITAL;
BB13:=ATAN(EMA(CLOSE,13)-REF(EMA(CLOSE,13),1))*3.1416*10;
EMA8:=EMA(CLOSE,8);
DRAWTEXT(FILTER(BB13>1 AND EMA(CLOSE,13)>REF(EMA(CLOSE,13),1),10),EMA8,'∠45'),COLORWHITE;
DL:=MA((((HIGH + LOW) + CLOSE) / 3),5);
ML:=MA((((HIGH + LOW) + CLOSE) / 3),10);
VAR1:=EMA(((OPEN + CLOSE) / 2),26);
VAR2:=MA(COST(30),3);
平均成本:=MA(COST(50),3);
VAR3:=MA(COST(80),3);
VAR4:=(((HIGH + LOW) + CLOSE) / 3);
VAR5:=EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),233);
VAR6:=(VAR5 + ((VAR5 * 6) / 100));
STICKLINE((VAR4 > 0.1),HIGH,LOW,0,0),COLORFF0000;
STICKLINE(((((VAR4 < 平均成本) AND (VAR4 > ML)) OR ((VAR4 < VAR5) AND (VAR4 > ML))) OR ((VAR4 > ML) AND (VAR1 > ML))),HIGH,LOW,0,0),COLOR9933CC;
STICKLINE((((((VAR4 > 平均成本) AND (VAR4 > VAR1)) AND (VAR4 > VAR5)) AND (VAR2 > REF(VAR2,1))) OR ((((VAR4 > VAR2) AND (VAR4 > VAR1)) AND (VAR4 > VAR5)) AND (VAR2 > REF(VAR2,1)))),HIGH,LOW,0,0),COLORRED;
STICKLINE(((((VAR4 > VAR6) AND (VAR4 > VAR3)) AND (DL > ML)) AND (VAR1 > REF(VAR1,1))),HIGH,LOW,0,0),COLORFFFF00;
投股票 网 www.tou18.c n
股市公式下载推荐