通达信一个强大的 庄家轨迹指标公式源码

A1:=IF(DATE>=11208015,0,1);{这是时间限制} A2:=(5); A3:=(((2*CLOSE)+HIGH)+LOW)/4; A4:=LLV(LOW,34); A5:=HHV(HIGH,34); A6:=EMA((((A3-A4)/(A5-A4))*100),13); A7:=(EMA(((0.667*(REF(A6,1)))+(0.333*A6)),2))*A1; 庄家轨迹:(EMA(A7,A2))*A1,COLORRED; A8:=(HHV(HIGH,9))-(LLV(LOW,9)); A9:=(HHV(HIGH,9))-CLOSE; A10:=CLOSE-(LLV(LOW,9)); A11:=((A9/A8)*100)-70; A12:=((CLOSE-(LLV(LOW,60)))/((HHV(HIGH,60))-(LLV(LOW,60))))*100; A13:=SMA(((A10/A8)*100),3,1); A14:=(SMA(A13,3,1))-(SMA(A11,9,1)); A15:=IF((A14>100),(A14-100),0); A16:=(EMA((((A3-A4)/(A5-A4))*100),8))*A1; A17:=(EMA(A16,5))*A1; STICKLINE(((A16-A17)>0 AND A1),A16,A17,3,1),COLORFFAA18; STICKLINE(((A16-A17)<0 AND A1),A16,A17,3,0),COLORGREEN; A18:=(EMA(CLOSE,2))*A1; A19:=(EMA((((SLOPE(CLOSE,21))*20)+CLOSE),42))*A1; A20:=(HHV((MA(HIGH,13)),13))*A1; A21:=(LLV((MA(HIGH,13)),1))*A1; A22:=(EMA(CLOSE,4))*A1; 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)); {A29:=(STRFIND(STKNAME,'ST',1)) > 0;} 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)); DRAWICON((A28 OR A31),庄家轨迹,26); DRAWTEXT((A28 OR A31),庄家轨迹,'←准备启动'),COLORRED;




来函数检测结果如下:
该公式没有未来函数


解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

如果日期>=11208015返回0否则返回1
{这是时间限制} A2赋值:(5)
A3赋值:(((2*收盘价)+最高价)+最低价)/4
A4赋值:34日内最低价最低值
A5赋值:34日内最高价最高值
A6赋值:EMA((((A3-A4)/(A5-A4))*100),13)
A7赋值:(EMA(((0.667*(1日前的A6))+(0.333*A6)),2))*A1
输出庄家轨迹:(A7的A2日指数移动平均)*A1,画红色
A8赋值:(9日内最高价最高值)-(9日内最低价最低值)
A9赋值:(9日内最高价最高值)-收盘价
A10:=收盘价-(9日内最低价最低值)
A11:=((A9/A8)*100)-70
A12:=((收盘价-(60日内最低价最低值))/((60日内最高价最高值)-(60日内最低价最低值)))*100
A13:=SMA(((A10/A8)*100),3,1)
A13的3日[1日权重]移动平均
A15:=IF((A14>100),(A14-100),0)
A16:=(EMA((((A3-A4)/(A5-A4))*100),8))*A1
A17:=(A16的5日指数移动平均)*A1
STICKLINE(((A16-A17)>0 AND A1),A16,A17,3,1),COLORFFAA18
STICKLINE(((A16-A17)<0 AND A1),A16,A17,3,0),画绿色
A18:=(收盘价的2日指数移动平均)*A1
A19:=(EMA((((SLOPE(收盘价,21))*20)+收盘价),42))*A1
A20赋值:(HHV((最高价的13日简单移动平均),13))*A1
A21赋值:(LLV((最高价的13日简单移动平均),1))*A1
A22赋值:(收盘价的4日指数移动平均)*A1
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过滤)
{A29赋值:(STRFIND(STKNAME,'ST',1)) > 0
} A30:=((((((A18>=A19) AND (A21=A20)) AND ((收盘价/(1日前的收盘价))>=1.035)) AND (A24<=30)) AND (收盘价<=A25)) AND (收盘价<=A26))
A31:=A30 AND (A30的20过滤)
DRAWICON((A28 OR A31),庄家轨迹,26)
DRAWTEXT((A28 OR A31),庄家轨迹,'←准备启动'),画红色


指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图