通达信理论顶底指标公式

通达信新缠论顶底指标公式

通达信理论顶底指标公式:

10,DOTLINE,COLORRED;

90,DOTLINE,COLORRED;

VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

VAR3:=SMA(VAR0,3,1);

VAR1:=SMA(VAR3,4,1)-10;

VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;

VAR5:=SMA(VAR4,3,1);

VAR2:=SMA(VAR5,4,1)-90;

A1:=1;

A2:=(3);

A3:=(((2*CLOSE)+HIGH)+LOW)/4;

A4:=LLV(LOW,36);

A5:=HHV(HIGH,36);

A6:=EMA((((A3-A4)/(A5-A4))*100),10);

A7:=(EMA(((0.667*(REF(A6,1)))+(0.333*A6)),2))*A1;

A8:=(HHV(HIGH,7))-(LLV(LOW,7));

A9:=(HHV(HIGH,7))-CLOSE;

A10:=CLOSE-(LLV(LOW,7));

A11:=((A9/A8)*100)-60;

A12:=((CLOSE-(LLV(LOW,40)))/((HHV(HIGH,60))-(LLV(LOW,40))))*100;

A13:=SMA(((A10/A8)*100),3,1);

A14:=(SMA(A13,3,1))-(SMA(A11,7,1));

A15:=IF((A14>100),(A14-100),0);

A16:=(EMA((((A3-A4)/(A5-A4))*100),3))*A1;

A17:=(EMA(A16,5))*A1;

stICKLINE(((A16-A17)>0),A16,A17,1,1),COLORBLUE;

STICKLINE(((A16-A17)<0),A16,A17,1,0),COLORGREEN;

理论底部:=REF((A16-A17)>0 AND REF(VAR1,1)>VAR1,1) AND REF(VAR1,1)<VAR1 AND VAR1<0;

STICKLINE(理论底部,10,0,3,1),COLORRED;

DRAWTEXT(理论底部,3,'理论底部'),COLORYELLOW;

理论顶部:=REF((A16-A17)<0 AND A16>90 AND REF(VAR1,1)<VAR1,1) AND REF(VAR1,1)>VAR1;

STICKLINE(理论顶部,100,90,3,1),COLORGREEN;

DRAWTEXT(理论顶部,97,'理论顶部'),COLORGREEN;

标记跌:=REF(A17>VAR1,4) AND EVERY(A16<VAR1,3);

DRAWICON(标记跌,VAR1*1.15,2);

标记涨:=REF(A16<VAR1,4) AND EVERY(A17>VAR1,3) AND (A16-A17)>0;

DRAWICON(标记涨,VAR1*0.85,1);

VAR1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;

VAR2B:=SMA(VAR1B,9,1)+100;

VAR3B:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR4B:=SMA(VAR3B,3,1);

VAR5B:=SMA(VAR4B,3,1)+100;

VAR6B:=VAR5B-VAR2B;

趋势:=IF(VAR6B>45,VAR6B-45,0);

STICKLINE(REF(趋势,1)< 趋势 AND VAR1<0, 趋势,REF(趋势,1),0.2,0),COLORYELLOW;

通达信发现龙头主图指标公式