通达信临兵斗选股指标公式
2020/1/25 19:07:35
VAR1:=IF(YEAR>=3007 AND MONTH>=1,0,1);
VAR2:=MA(HHV(HIGH,500),21)*VAR1;
VAR3:=MA(HHV(HIGH,240),21)*VAR1;
VAR4:=MA(HHV(HIGH,90),21)*VAR1;
VAR5:=MA(LLV(LOW,500),21)*VAR1;
VAR6:=MA(LLV(LOW,240),21)*VAR1;
VAR7:=MA(LLV(LOW,90),21)*VAR1;
VAR8:=MA((VAR5*0.96+VAR6*0.96+VAR7*0.96+VAR2*0.558+VAR3*0.558+VAR4*0.558)/6,21)*VAR1;
VAR9:=MA((VAR5*1.25+VAR6*1.23+VAR7*1.2+VAR2*0.55+VAR3*0.55+VAR4*0.65)/6,21)*VAR1;
VARA:=MA((VAR5*1.3+VAR6*1.3+VAR7*1.3+VAR2*0.68+VAR3*0.68+VAR4*0.68)/6,21)*VAR1;
VARB:=MA((VAR8*3+VAR9*2+VARA)/6*1.738,21)*VAR1;
VARC:=IF(DATE<=1341231,VARB,VARB*DAY)*VAR1;
VARD:=LOW*VAR1;
VARE:=REF(LOW,1)*VAR1;
VARF:=SMA(ABS(VARD-VARE),3,1)/SMA(MAX(VARD-VARE,0),3,1)*1*VAR1;
{投股票网-股票公式网站 www.tou18.cn}
VAR10:=MA(IF(CLOSE*1.35<=VARC,VARF*10,VARF/10),3)*VAR1;
VAR11:=LLV(LOW,30)*VAR1;
VAR12:=HHV(VAR10,30)*VAR1;
VAR13:=3391231*VAR1;
50,POINTDOT;
买进0号: IF(DATE<=VAR13,MA(IF(LOW<=VAR11,(VAR10+VAR12*2)/2,0),3),1)/10*VAR1;
选股:IF(REF(买进0号,1)>REF(买进0号,2) AND REF(买进0号,1)>买进0号,买进0号,0);
投 股票网 www.to u18.cn
股市公式下载推荐