擒牛博弈主图(通达信公式 主图 源码 测试图)

[复制链接]
查看69 | 回复0 | 2022-6-27 14:59:40 | 显示全部楼层 |阅读模式

 擒牛博弈

//适用周期:[全周期]
//默认显示:主图
//默认周期:15分
//作者:UP投资
//有限时限:0
//公式级别:0
 
 
A:=(3*C+L+O+H)/6;
X:=WMA(A,20);
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);
FB:=FA AND MA5>MA30 AND MA10>MA30  AND MA10>REF(MA10,1);
★牛:IFF(FB,1,0),NODRAW,COLORRED;
DRAWICON(★牛,L,82);
V1:=EMA(CLOSE,5);
V2:=EMA(EMA(CLOSE,90)*1.01,10);
起步:IFF(CROSS(V1,V2),1,0),NODRAW,COLOR00FF00;
DRAWICON(起步,L,69);
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE-VAR1)/(VAR2-VAR1)) * 100),5);
AK:=EMA((((CLOSE-VAR1)/(VAR2-VAR1)) * 50),13);
AB:=CROSS(AK1,AK);
○牛窝:IFF((AB==1),1,0),NODRAW,COLORWHITE;
DRAWICON(○牛窝,L,9);
VAR3AA:=IFF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IFF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
★搏:IFF(FILTER((VAR4AA>90),45),1,0),NODRAW,COLOR00FFFF;
DRAWICON(★搏,LOW,1);
★加:IFF(FILTER((VAR4AA>90),35),1,0),NODRAW,COLOR00FFFF;
DRAWICON(★加,LOW-(HIGH-LOW)/2,11);
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
★变:IFF(FILTER((A2AA>-0.5),84),1,0),NODRAW,COLORFFFFFF;
DRAWICON(★变,HIGH+(HIGH-LOW)/2,15);
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
★逃:IFF(CROSS(82,VAR7),1,0), NODRAW,COLORGREEN;
DRAWICON(★逃, HIGH+(HIGH-LOW)/2,2);
成本:EMA(X,13),COLORFF00FF,LINETHICK0;
短底:LLV(HIGH,30),LINETHICK2,COLORFFCC00;
快1:IFF(MA(C,3),MA(C,3),DRAWNULL),COLORYELLOW,LINETHICK2;
快2:IFF(MA(C,9),MA(C,9),DRAWNULL),COLORWHITE,LINETHICK2;
慢:IFF(MA(C,23.5),MA(C,23.5),DRAWNULL),COLORGREEN;
 

2022514942284904.png

2022514942284904.png
 

2022514941229845.rar

2.73 KB, 下载次数: 0

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

2022514941229845.rar

回复

使用道具 举报

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

本版积分规则