通达信公式准备启动
A18:=(EMA(CLOSE,2));
A19:=(EMA((((SLOPE(CLOSE,21))*20)+CLOSE),42));
A20:=(HHV((MA(HIGH,13)),13));
A21:=(LLV((MA(HIGH,13)),1));
A22:=(EMA(CLOSE,4));
A23:=((((A18>=A19) AND (A21=A20)) AND (A18>A22)) AND (CLOSE>A21)) AND ((REF(A21,1))<(REF(A20,1)));
A24:=BARSLAST(A23)+1;
A25:=(LLV(LOW,A24))*1.3;
A26:=(LLV(LOW,20))*1.418;
A27:=(((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.07)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26);
A28:=A27 AND (FILTER(A27,A24));
{股票指标网 www。88gs。com}
A30:=((((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.035)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26)) ;
A31:=A30 AND (FILTER(A30,20));
准备启动:A28 OR A31;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
A18赋值:(收盘价的2日指数移动平均)
A19赋值:(EMA((((SLOPE(收盘价,21))*20)+收盘价),42))
A20赋值:(HHV((最高价的13日简单移动平均),13))
A21赋值:(LLV((最高价的13日简单移动平均),1))
A22赋值:(收盘价的4日指数移动平均)
A23赋值:((((A18>=A19) AND (A21=A20)) AND (A18>A22)) AND (收盘价>A21)) AND ((1日前的A21)<(1日前的A20))
A24赋值:上次A23距今天数+1
A25赋值:(A24日内最低价最低值)*1.3
A26赋值:(20日内最低价最低值)*1.418
A27赋值:(((((A18>=A19) AND (A21=A20)) AND ((收盘价/(1日前的收盘价))>=1.07)) AND (A24<=30)) AND (收盘价<=A25)) AND (收盘价<=A26)
A28赋值:A27 AND (A27的A24过滤)
{股票指标网 WWW。88GS。COM}
A30赋值:((((((A18>=A19) AND (A21=A20)) AND ((收盘价/(1日前的收盘价))>=1.035)) AND (A24<=30)) AND (收盘价<=A25)) AND (收盘价<=A26))
A31赋值:A30 AND (A30的20过滤)
输出
准备启动:A28 OR A31
- QQ:88652583
- 邮箱:88652583@qq.com
- 工作时间:8:30-23:00
- 微信:88652583或扫描如下二维码
sitemap站点地图