通达信时空隧道及选股指标公式
2021/1/4 17:58:19
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;
STICKLINE(REF(VAR1,1)<VAR1,VAR1,REF(VAR1,1),10,0),COLOR0000FF;
STICKLINE(REF(VAR1,1)>VAR1,VAR1,REF(VAR1,1),5,0),COLOR00FF00;
STICKLINE(REF(VAR2,1)>VAR2,VAR2,REF(VAR2,1),10,0),COLOR0000FF;
STICKLINE(REF(VAR2,1)<VAR2,VAR2,REF(VAR2,1),5,0),COLOR00FF00;
EE:=REF(VAR1,1)<VAR1;
买入:EE=1 AND VAR1<0 AND TFILTER(EE=1 AND VAR1<0,REF(VAR2,1)<VAR2,1),COLOR0000FF;
卖出:REF(VAR2,1)<VAR2,NODRAW;
DRAWICON(买入,VAR2+5,1);
{
选股公式:
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;
EE:=REF(VAR1,1)<VAR1;
EE=1 AND VAR1<0 AND TFILTER(EE=1 AND VAR1<0,REF(VAR2,1)<VAR2,1);
}
看股吧 公式 www.kanguba .com
其它股票公式列表