通达信横盘起动指标
A1:=100*(WINNER(1.1*C)-WINNER(0.9*C));
A2:=((CLOSE-LOW)/(HIGH-LOW)+(CLOSE-HIGH)/(HIGH-LOW))*VOL;
A3:=SUM(A2,10)/10000;
Var1c:=AMOUNT/VOL/100;
Var2c:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
Var3c:=SUM(AMOUNT,5)/Var1c/100;
Var4c:=SUM(AMOUNT,13)/Var1c/100;
Var5c:=SUM(AMOUNT,34)/Var1c/100;
CYC5:=DMA(Var2c,VOL/Var3c);
CYC13:=DMA(Var2c,VOL/Var4c);
CYC34:=DMA(Var2c,VOL/Var5c);
CYS13:=(CLOSE-CYC13)/CYC13*100;
CYR13:=CYC13/REF(CYC13,1)*120-120;
{股票指标网}
MA5:=MA(C,5);
B:=VOL*100/CAPITAL;
AAa:=COUNT(A1>60,20)=20;
横盘启动:if(AAa AND CYC5>CYC13 AND CYC13>CYC34,10,0),linethick2,colorblue;
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
A1赋值:100*(1.1*C计算的获利盘比例-WINNER(0.9*C))
A2赋值:((收盘价-最低价)/(最高价-最低价)+(收盘价-最高价)/(最高价-最低价))*成交量
A3赋值:10的A2日累和/10000
VAR1C赋值:成交额/成交量/100
VAR2C赋值:(3*最高价+最低价+开盘价+2*收盘价)/7
VAR3C赋值:5的成交额日累和/VAR1C/100
VAR4C赋值:13的成交额日累和/VAR1C/100
VAR5C赋值:34的成交额日累和/VAR1C/100
CYC5赋值:DVAR2C的成交量/VAR3C日简单移动平均
CYC13赋值:DVAR2C的成交量/VAR4C日简单移动平均
CYC34赋值:DVAR2C的成交量/VAR5C日简单移动平均
CYS13赋值:(收盘价-CYC13)/CYC13*100
CYR13赋值:CYC13/1日前的CYC13*120-120
{股票指标网}
MA5赋值:C的5日简单移动平均
B赋值:成交量*100/当前流通股本
AAA赋值:统计20日满足A1>60的天数=20
如果AAA AND CYC5>CYC13 AND CYC13>CYC34返回10否则返回0
- QQ:88652583
- 邮箱:88652583@qq.com
- 工作时间:8:30-23:00
- 微信:88652583或扫描如下二维码
sitemap站点地图