通达信天知阴线选股指标公式

通达信预计成交量指标公式

通达信天知阴线选股指标公式:

LC:=REF(CLOSE,1);

rsi5:=((SMA(MAX((CLOSE-LC),0),5,1)/SMA(Abs((CLOSE-LC)),5,1))*100);

TR1:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);

HD:=(HIGH-REF(HIGH,1));

LD:=(REF(LOW,1)-LOW);

DMP:=SUM(IF(((HD>0) AND (HD>LD)),HD,0),10);

DMM:=SUM(IF(((LD>0) AND (LD>HD)),LD,0),10);

pdi:=((DMP*100)/TR1);

mdi:=((DMM*100)/TR1);

ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI))*100),5);

AV:=(RSI5 + ADX);

wr10:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));

NEWvol:=(RSI5-WR10);

天知买入:=(AV+NEWVOL);

最佳买入选股:=IF(crOSS(天知买入,0),1,0);

VAR1:=SMA(最佳买入选股,3,1);

VAR2:=SMA(VAR1,3,1);

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

天知买点:=IF(CROSS(VAR2,VAR3) AND (VAR2<40),5,0*10000);

N:=5;

R:=IF(DATE<1900612,1,0);

EE:=(H+MAX(C,O))/2;

EE1:=MA(EE,3);

FF:=(H+L+C+O)/4,COLORWHITE;

FF1:=MA(FF,3),COLORGREEN;

FF3:=REF((C+O)/2,1)>REF((C+O)/2,2) AND REF(MIN(C,O),1)>REF(MAX(C,O),2);

FF4:=(((FF1-(REF(FF1,1)-FF1))-L)/L)*100;

FF5:=(((EE1+(EE1-REF(EE1,1)))-L)/L)*100;

期望获利率:=IF(FF3,FF5,FF4),LINETHICK;

A:=SMA(L,4,3);

BB1:=REF(L,1)-HHV((MAX(REF(L,2),REF(L,1))-MIN(REF(L,2),REF(L,1))),2);

BB2:=REF((C+O)/2,1)>REF((C+O)/2,2);

BB3:=L<=BB1+BB1*0.01 AND O>REF(O,2) AND O>=REF(L,3) AND COUNT(C>O,7)>3;

BB6:=(BB1-L)/L*100;

A1:=(A-L)/L>N/1000;

A8:=A1;

A9:=(REF(H,1)-O)/O*100-(REF(MAX(C,O),2)-REF(MAX(C,O),1))/REF(MAX(C,O),1)*100;

A10:=IF(BB2,BB6,A9);

BB4:=BB6+A10>2;

BB5:=IF(BB2,BB3,BB4) AND 期望获利率>2;

D5:=R AND A8 AND BB5;

买进:=(REF((D5),1) AND (L<REF((L/0.995),1)));

天知买点 AND 买进;

通达信主力赢利指标公式