气死机构K线(通达信公式 副图 源码 测试图)

[复制链接]
查看69 | 回复0 | 2022-6-27 16:24:46 | 显示全部楼层 |阅读模式
{气死机构K线}
C1:=(((10000 * CLOSE) / INDEXC) * WINNER(CLOSE));
H1:=(((10000 * HIGH) / INDEXH) * WINNER(HIGH));
L1:=(((10000 * LOW) / INDEXL) * WINNER(LOW));
O1:=(((10000 * OPEN) / INDEXO) * WINNER(OPEN));
TJ:=((C1 > O1) OR ((C1 = O1) AND (C1 > REF(C1,1))));
STICKLINE(TJ,H1,L1,0,0),COLORRED;
STICKLINE(TJ,C1,O1,7,1),COLORRED;
STICKLINE(NOT(TJ),H1,L1,0,0),COLORFFFF00;
STICKLINE(NOT(TJ),C1,O1,7,0),COLORFFFF00;
C11:=C1;{WWW-70822-COM}
A1:=EMA((((EMA(C11,1) + EMA(C11,2)) + EMA(C11,3)) / 3),2);
A2:=EMA((((EMA(C11,2) + EMA(C11,3)) + EMA(C11,4)) / 3),2);
A3:=EMA((((EMA(C11,3) + EMA(C11,4)) + EMA(C11,5)) / 3),2);
A4:=EMA((((EMA(C11,4) + EMA(C11,5)) + EMA(C11,6)) / 3),2);
A5:=EMA((((EMA(C11,5) + EMA(C11,6)) + EMA(C11,7)) / 3),2);
A6:=EMA((((EMA(C11,20) + EMA(C11,21)) + EMA(C11,22)) / 3),2);
A7:=EMA((((EMA(C11,22) + EMA(C11,23)) + EMA(C11,24)) / 3),2);
A8:=EMA((((EMA(C11,24) + EMA(C11,25)) + EMA(C11,26)) / 3),2);
A9:=EMA((((EMA(C11,26) + EMA(C11,27)) + EMA(C11,28)) / 3),2);
A10:=EMA((((EMA(C11,28) + EMA(C11,29)) + EMA(C11,30)) / 3),2);
A11:=EMA((((EMA(C11,30) + EMA(C11,31)) + EMA(C11,32)) / 3),2);
A12:=EMA((((EMA(C11,32) + EMA(C11,33)) + EMA(C11,34)) / 3),2);
IF((A1 > REF(A1,1)),A1,DRAWNULL),COLORFF00FF;
IF((A2 > REF(A2,1)),A2,DRAWNULL),COLORFF00FF;
IF((A3 > REF(A3,1)),A3,DRAWNULL),COLORFF00FF;
IF((A4 > REF(A4,1)),A4,DRAWNULL),COLORFF00FF;
IF((A5 > REF(A5,1)),A5,DRAWNULL),COLORFF00FF;
IF((A6 > REF(A6,1)),A6,DRAWNULL),COLORRED;
IF((A7 > REF(A7,1)),A7,DRAWNULL),COLORRED;
IF((A8 > REF(A8,1)),A8,DRAWNULL),COLORRED;
IF((A9 > REF(A9,1)),A9,DRAWNULL),COLORRED;
IF((A10 > REF(A10,1)),A10,DRAWNULL),COLORRED;
IF((A11 > REF(A11,1)),A11,DRAWNULL),COLORRED;
IF((A12 > REF(A12,1)),A12,DRAWNULL),COLORRED;
IF((A1 < REF(A1,1)),A1,DRAWNULL),POINTDOT,COLORFF0000;
IF((A2 < REF(A2,1)),A2,DRAWNULL),POINTDOT,COLORFF0000;
IF((A3 < REF(A3,1)),A3,DRAWNULL),POINTDOT,COLORFF0000;
IF((A4 < REF(A4,1)),A4,DRAWNULL),POINTDOT,COLORFF0000;
IF((A5 < REF(A5,1)),A5,DRAWNULL),POINTDOT,COLORFF0000;
IF((A6 < REF(A6,1)),A6,DRAWNULL),POINTDOT,COLORFFCC00;
IF((A7 < REF(A7,1)),A7,DRAWNULL),POINTDOT,COLORFFCC00;
IF((A8 < REF(A8,1)),A8,DRAWNULL),POINTDOT,COLORFFCC00;
IF((A9 < REF(A9,1)),A9,DRAWNULL),POINTDOT,COLORFFCC00;
IF((A10 < REF(A10,1)),A10,DRAWNULL),POINTDOT,COLORFFCC00;
IF((A11 < REF(A11,1)),A11,DRAWNULL),POINTDOT,COLORFFCC00;
IF((A12 < REF(A12,1)),A12,DRAWNULL),POINTDOT,COLORFFCC00;
 

202111143471585494.png

202111143471585494.png
 

20211114347384342.rar

2.97 KB, 下载次数: 0

售价: 4 金钱  [记录]  [购买]

20211114347384342.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则