通达信顶底极限指标公式

通达信稳赚中长指标公式

VAR1:=MA(CLOSE,20);

布林极限: 100*(CLOSE-VAR1)/stD(CLOSE,20), COLOREE5533;

布林K值: EMA(布林极限,10), COLOR66FFEE;

VAR2:=EMA(布林极限,5);

VAR3:=EMA(布林K值,5);

VAR4:=EMA(HHV(HIGH,500),21);

VAR5:=EMA(HHV(HIGH,250),21);

VAR6:=EMA(HHV(HIGH,90),21);

VAR7:=EMA(LLV(LOW,500),21);

VAR8:=EMA(LLV(LOW,250),21);

VAR9:=EMA(LLV(LOW,90),21);

VARA:=EMA((VAR7*0.96+VAR8*0.96+VAR9*0.96+VAR4*0.558+VAR5*0.558+VAR6*0.558)/6,21);

VARB:=EMA((VAR7*1.25+VAR8*1.23+VAR9*1.2+VAR4*0.55+VAR5*0.55+VAR6*0.65)/6,21);

VARC:=EMA((VAR7*1.3+VAR8*1.3+VAR9*1.3+VAR4*0.68+VAR5*0.68+VAR6*0.68)/6,21);

VARD:=EMA((VARA*3+VARB*2+VARC)/6*1.738,21);

VARE:=REF(LOW,1);

VARF:=SMA(Abs(LOW-VARE),3,1)/SMA(MAX(LOW-VARE,0),3,1)*100;

VAR10:=IF(CLOSE*1.35<=VARD,VARF*10,VARF/10);

VAR11:=EMA(VAR10,3);

VAR12:=LLV(LOW,30);

VAR13:=HHV(VAR11,30);

VAR14:=IF(LOW<=VAR12,(VAR11+VAR13*2)/2,0);

VAR15:=EMA(VAR14,3)/500-100;

VAR16:=0.2*VAR15;

VAR17:=1.2*VAR15;

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

VAR19:=LLV(LOW,34);

VAR1A:=HHV(HIGH,34);

VAR1B:=(VAR18-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;

VAR1C:=EMA(VAR1B,3);

VAR1D:=EMA(VAR1C,3);

VAR1E:=EMA((VAR18-VAR19)/(VAR1A-VAR19)*100,9);

VAR1F:=EMA(0.667*REF(VAR1E,1)+0.333*VAR1E,3);

VAR20:=LLV(HIGH,240);

VAR21:=100*(CLOSE-VAR20)/VAR20;

VAR22:=HHV(HIGH,240);

VAR23:=100*(VAR22-CLOSE)/CLOSE;

VAR24:=REF(HHV(CLOSE,60),1);

VAR25:=REF(LLV(CLOSE,60),1);

VAR26:=100*(CLOSE-VAR25)/(VAR24-VAR25);

{指标网-股票公式网站 www.GupaNg.com}

考虑出击:IF(VAR16<REF(VAR16,1) AND REF(VAR16,1)>REF(VAR16,2) AND REF(VAR16,2)>REF(VAR16,3) AND VAR17<REF(VAR17,1) AND REF(VAR17,1)>REF(VAR17,2) AND REF(VAR17,2)>REF(VAR17,3) AND REF(VAR17,1)>0,200,0), COLORBLUE;

IF(crOSS(VAR26,VAR21) AND CROSS(布林极限,布林K值) AND CLOSE>=OPEN AND VAR1E<=50 AND VAR1F<=50 AND VAR1C>=VAR1E AND VAR1D>=VAR1F,200,0), COLORRED;

IF(CROSS(REF(VAR26,1),REF(VAR21,1)) AND CROSS(布林极限,布林K值) AND CLOSE>=OPEN AND VAR1E<=50 AND VAR1F<=50 AND VAR1C>=VAR1E AND VAR1D>=VAR1F,200,0), COLORYELLOW;

IF(CROSS(REF(VAR21,1),REF(VAR23,1)) AND CROSS(布林极限,布林K值) AND CLOSE>=OPEN AND VAR1E<=50 AND VAR1F<=50 AND VAR1C>=VAR1E AND VAR1D>=VAR1F,200,0), COLORBLUE;

100, COLOR105256;

-100, COLOR254586;

170, COLOR555555;

-170, COLORBLUE;

STICKLINE(布林极限>=布林K值,布林极限,布林K值,6,0), COLORYELLOW;

STICKLINE(布林极限<布林K值,布林K值,布林极限,6,0) , COLORFEEE00;

STICKLINE(VAR2>=VAR3,VAR2,VAR3,6,0), COLORFF9988;

STICKLINE(VAR2<VAR3,VAR3,VAR2,6,0), COLOR0033FF;

STICKLINE(CROSS(布林极限,布林K值),布林极限,布林K值,6,0), COLORRED;

STICKLINE(布林极限>=170,布林极限,布林K值,6,0), COLOR343322;

通达信黄蓝顶底指标公式