股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信准备启动公式


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-9 14:38:26

以下是通达信准备启动公式

通达信准备启动公式

源码

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|

GMT+8, 2024-11-19 06:12

快速回复 返回顶部 返回列表