把踏浪指标中的短线买入做成选股
2020/2/21 19:06:28
公式编写说明:
源码:VAR1:=REF(CLOSE,1);标尺: SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100,COLOR00FF00,LINETHICK2;VAR2:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;VAR3:=SMA(VAR2,5,1);VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1);浪:VAR3,COLORMAGENTA,LINETHICK2;波:VAR4,COLORRED,LINETHICK2;段:VAR5,COLORYELLOW,LINETHICK2;VAR6:=CROSS(VAR3,VAR4) AND VAR4<25;VAR61:=CROSS(VAR4,VAR5) AND VAR4<50;STICKLINE(VAR6,0,VAR4+6,1,0),COLORFF00FF,LINETHICK4;STICKLINE(VAR61,0,VAR4+6,1,0),COLORFFFFFF,LINETHICK4;DRAWTEXT(FILTER(VAR61,7),VAR5-5,'-短线买入'),COLORFFFFFF
公式源码回答:
VAR2:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
VAR3:=SMA(VAR2,5,1);
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1);
VAR61:=CROSS(VAR4,VAR5) AND VAR4<50;
短线买入:FILTER(VAR61,7);
投股 票网 www.tou18. cn
股市公式下载推荐