通达信波段底部+选股公式

[复制链接]
查看144 | 回复0 | 2021-8-20 02:11:44 | 显示全部楼层 |阅读模式

以下是通达信波段底部+选股公式(无源码的请下载附件导入)

指标用法:    红色波段做多,上了80代表高位,低于10线属于低位。对应的兰色做空,当波段逐步高位降低到10线附近收窄变红的时候可以操作。这个时候相应的底部信号会出现,确认后加大仓位。
 
通达信波段底部指标源码:
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);

VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
多:VAR9,COLORRED,POINTDOT;
空:EMA(0.382*REF(VAR9,2)+0.618*VAR9,12),COLORGREEN;
STICKLINE(VAR9>VARA,VAR9,VARA,6,0),COLORRED;
STICKLINE(VAR9<=VARA,VAR9,VARA,6,0),COLORFFCC66;
STICKLINE(AA,0,30,15,1),COLORYELLOW;
STICKLINE(AA,16,29,14,0),COLORRED;
STICKLINE(AA,1,14,14,0),COLORRED;
STICKLINE(AA,15,15,15,1),COLORYELLOW;
STICKLINE(AA,30,50,6,0),COLORYELLOW;
STICKLINE(AA,53,55,6,1),COLORRED;
STICKLINE(AA,57,59,6,1),COLORRED;
STICKLINE(AA,61,63,6,1),COLORRED;
STICKLINE(AA,65,67,6,1),COLORRED;
STICKLINE(AA,69,75,6,0),COLORFFCCCC;
DRAWTEXT(AA,85,'底'),COLORYELLOW;

波段底部指标选股:
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
底:CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;

711266931.png

711266931.png

711355841.png

711355841.png

711422863.png

711422863.png

711500479.jpg

711500479.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则