通达信东家判底指标公式

通达信平均水平获利指标公式

VAR42:=REF(LOW,1);

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

VAR44:=EMA(IF(CLOSE*1.3,VAR43*10,VAR43/10),3);

VAR45:=LLV(LOW,13);

VAR46:=HHV(VAR44,13);

VAR47:=IF(MA(CLOSE,34),1,0);

VAR48:=EMA(IF(LOW<=VAR45,(VAR44+VAR46*2)/2,0),3)/618*VAR47;

VAR49:=IF(VAR48>100,100,VAR48);

吸筹:VAR49,NODRAW,COLORLIRED;

stICKLINE(VAR49>-120,0,VAR49,3,1),COLORF00FF0;

VAR50:=IF(VAR49>-120,VAR49,0);

短趋势:((3*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),COLORRED;

VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;

VAR3:=LLV(LOW,34);

VAR4:=HHV(HIGH,34);

长趋势:EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13),COLOR00FF00;

判断底:SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;

VAR5:=crOSS(短趋势,长趋势)AND 长趋势<25;

底部:STICKLINE(短趋势<10 AND 判断底>0,0,30,3,1),COLORYELLOW;

STICKLINE(VAR5,0,50,3,0) ,COLORRED;

DRAWICON(VAR5 AND 判断底>0,60,1),COLORYELLOW;

DRAWTEXT(COUNT(短趋势<10 AND 判断底>0,8) AND VAR5,50,'庄家在加仓');

DRAWTEXT(CROSS(短趋势,长趋势)AND 长趋势>25 AND 长趋势>REF(长趋势,1),长趋势,'');

VAR6:=CROSS(短趋势,长趋势)AND 长趋势<50;

DRAWTEXT( COUNT(短趋势<30 AND 判断底>0,5) AND VAR6,30,'底部吸筹');

通达信低买高卖指标公式