当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是底部爆发副图+选股(无源码的请下载附件导入)
同法注释:白柱出现观注,也可分批建仓,红柱出现坚决满仓买入!
{底部爆发}源码
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- STICKLINE(18,100,0,5,0),COLORBLUE;
- VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
- VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
- VAR03:=CROSS(VAR02,VAR01);
- VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);
- VAR05:=COUNT(VAR03,7)>0 AND VAR04;
- VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
- VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);
- VAR08:=EMA(VAR07,10);
- VAR09:=EMA(C,5);
- VAR10:=LLV(LOW,33);
- VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40;
- VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);
- 底部爆发:VAR12,COLORWHITE;
- STICKLINE(VAR12>0,0,VAR12,3,0),COLORWHITE;
- STICKLINE(VAR12>0,0,VAR12,2,0),COLOR555555;
- STICKLINE(VAR12>0,0,VAR12,1,0),COLORWHITE;
- STICKLINE(VAR02>0,0,VAR02,5,0),COLOR3A7841;
- 海岸:VAR02,COLORGREEN;
- 浪花:VAR01,COLORCYAN;
- STICKLINE(VAR05 AND COUNT(VAR05,5)=1,0,VAR12,4,0),COLORRED;
- XG:IF(VAR05 AND COUNT(VAR05,5)=1,1,0),COLORRED;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 选股公式
- JRS1:=STICKLINE(18,100,0,5,0),COLORBLUE;
- VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
- VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
- VAR03:=CROSS(VAR02,VAR01);
- VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);
- VAR05:=COUNT(VAR03,7)>0 AND VAR04;
- VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
- VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);
- VAR08:=EMA(VAR07,10);
- VAR09:=EMA(C,5);
- VAR10:=LLV(LOW,33);
- VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40;
- VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);
- 底部爆发:=VAR12,COLORWHITE;
- JRS2:=STICKLINE(VAR12>0,0,VAR12,3,0),COLORWHITE;
- JRS3:=STICKLINE(VAR12>0,0,VAR12,2,0),COLOR555555;
- JRS4:=STICKLINE(VAR12>0,0,VAR12,1,0),COLORWHITE;
- JRS5:=STICKLINE(VAR02>0,0,VAR02,5,0),COLOR3A7841;
- 海岸:=VAR02,COLORGREEN;
- 浪花:=VAR01,COLORCYAN;
- JRS:=STICKLINE(VAR05 AND COUNT(VAR05,5)=1,0,VAR12,4,0),COLORRED;
- XG:CROSS(JRS,0.8);