九转还魂序列(通达信公式 主图 源码 测试图)

[复制链接]
查看71 | 回复0 | 2022-6-27 16:19:22 | 显示全部楼层 |阅读模式

 九转还魂序列

A1F:=C>REF(C,4);
A2K:=BARSLASTCOUNT(A1F);
A3:=REF(A2K,1)=8 AND A2K>REF(A2K,1);
A4:=REF(BETWEEN(A2K,5,8),1) AND A2K<REF(A2K,1);
A5:=ISLASTBAR AND BETWEEN(A2K,6,8);
A6:=(BACKSET(A3>0,9) OR BACKSET(A4>0,A2K+1)*0 OR  BACKSET(A5>0,A2K))*A2K;
DRAWTEXT(A6>0,H+H*0.005,VAR2STR(A6,0)),COLOR00FFFF;
DRAWTEXT(A2K=9,H+H*0.005,'9'),COLOR00FF00;
B1F:=C<REF(C,4);
B2K:=BARSLASTCOUNT(B1F);
B3:=REF(B2K,1)=8 AND B2K>REF(B2K,1);
B4:=REF(BETWEEN(B2K,5,8),1) AND B2K<REF(B2K,1);
B5:=ISLASTBAR AND BETWEEN(B2K,6,8);
B6:=(BACKSET(B3>0,9) OR BACKSET(B4>0,B2K+1)*0 OR  BACKSET(B5>0,B2K))*B2K;
DRAWTEXT(B6>0,L-L*0.005,VAR2STR(B6,0)),COLORFFFFFF;
DRAWTEXT(B2K=9,L-L*0.005,'9'),COLORFF00FF;
DX:=C;
M3A:MA(DX,20),COLORFFFFFF,LINETHICK;
AA:IF(M3A>REF(M3A,1),M3A,DRAWNULL),COLORFF00FF,LINETHICK;
BB:IF(M3A<REF(M3A,1),M3A,DRAWNULL),COLOR00FF00,LINETHICK;
BP3:=REF(C,4)>(REF(C,5)*0.03);
BP1:=REF(C,3)>(REF(C,4)*0.02);
B:=REF(CLOSE,3)>REF(CLOSE,4);
AP1:=REF(CLOSE,3)<(C+REF(C,2)+REF(C,1))/3;
BP2:=REF(V,3)>REF(V,4)*1.5;
AP2:=REF(V,3)>(V+REF(V,2)+REF(V,1))/3;
AP3:=C>REF(C,3);
黄金柱:=AP2=1 AND AP1=1 AND B=1 AND BP2=1 AND AP3=1 AND BP1=1 AND BP3=1;
STICKLINE(FILTER(黄金柱=1,3),H,L,1,0),COLORFFFFFF;
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);
卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);
STICKLINE(FILTER(买1=1,5),H,L,1,0),COLORFF00FF;
STICKLINE(FILTER(卖1=1,1),H,L,1,0),COLOR00FF00;

20211292554642759.png

20211292554642759.png
 

20211292555330509.png

20211292555330509.png
 

20211292553672279.rar

2.61 KB, 下载次数: 0

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

20211292553672279.rar

回复

使用道具 举报

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

本版积分规则