通达信双红超短共振超强四合一结合版 副图/预警选股 源码 附图
X_1:=50;
X_2:=(WINNER(CLOSE)-WINNER(CLOSE/1.3))*100;
X_3:=WINNER(CLOSE/1.1)*100;
X_4:=LLV(MA((LOW+HIGH+3*CLOSE+OPEN)/6,6),89);
X_5:=EMA((LOW+HIGH+3*CLOSE+OPEN)/6*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+X_4,2)*2+100;
X_6:=(1.86*EMA(CLOSE,5)-EMA(CLOSE,13))*2+100;
X_7:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
X_8:=IF(MA(CLOSE,17)<X_7,X_7,MA(CLOSE,17));
X_9:=(X_8-(EMA(CLOSE,3)-X_8))*2+100;
X_10:=X_6>=X_5;
X_11:=X_3>=X_2;
X_12:=X_3>X_1;
XG:X_10 AND X_11 AND X_12 LINETHICK1,COLORRED;
V1:=MA(C,5)=HHV(MA(C,5),20);
V2:=MA(C,5)>MA(C,10);
V3:=MA(V,5)>MA(V,40)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
VV:=V1 AND V2 AND V3 AND V4;
STICKLINE(V1 AND V2 AND V3 AND V4,0,0.7,2.8,0),COLORYELLOW;
N:=30;
C0:=HHV(H,N);
C0A:=REF(C,1);
C1:=(C0-H)/H;
D1:=(H=C0);
D2:=(C1>0 AND C1<=0.0123);
STICKLINE((OPEN-C0A)/C0A> -9.999 AND (D1 OR D2),0,-2,-1,0),COLORRED ;
X:=10;Y:=10;
A01:=(C+O+L+H)/4;
A02:=(WINNER((A01 * 1.04)) * 100.000);
A03:=(WINNER((A01 * 0.96)) * 100.000);
获利盘:A03,NODRAW;
浮动盘:A02-A03,NODRAW;
套牢盘:( 100.000 - A02),NODRAW;
A0A:=(((((HHV(获利盘, 100.000) - A03) / A03) * 100.000) > N) AND (HHV(获利盘, 100.000) > 50.000));
STICKLINE(A0A,(-2.0), -1.80, 3.0,0),COLORYELLOW;
STICKLINE(NOT(A0A),(-2.0), -1.80, 3.0,0),COLORMAGENTA;
未来函数检测结果如下:
该公式包含未来函数:WINNER
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
X_1赋值:50
X_2赋值:(收盘价计算的获利盘比例-WINNER(收盘价/1.3))*100
X_3赋值:收盘价/1.1计算的获利盘比例*100
X_4赋值:LLV(MA((最低价+最高价+3*收盘价+OPEN)/6,6),89)
X_5赋值:EMA((最低价+最高价+3*收盘价+OPEN)/6*(10日内最高价最高值-收盘价)/(10日内最高价最高值-10日内最低价最低值)*20/10+X_4,2)*2+100
X_6赋值:(1.86*收盘价的5日指数移动平均-收盘价的13日指数移动平均)*2+100
X_7赋值:收盘价的17日简单移动平均+收盘价的17日简单移动平均-REF(收盘价的17日简单移动平均,1)
X_8赋值:IF(收盘价的17日简单移动平均
X_9赋值:(X_8-(收盘价的3日指数移动平均-X_8))*2+100
X_10:=X_6>=X_5
X_11:=X_3>=X_2
X_12:=X_3>X_1
输出XG:X_10 AND X_11 AND X_12 LINETHICK1,画红色
V1赋值:C的5日简单移动平均=HHV(C的5日简单移动平均,20)
V2赋值:C的5日简单移动平均>C的10日简单移动平均
V3赋值:V的5日简单移动平均>V的40日简单移动平均*1.01
V4赋值:COUNT(C的1日简单移动平均>1日前的C,2)=2
VV赋值:V1 AND V2 AND V3 AND V4
当满足条件V1 AND V2 AND V3 AND V4时,在0和0.7之间画柱状线
N赋值:30
C0赋值:N日内H最高值
C0A:=1日前的C
C1赋值:(C0-H)/H
D1赋值:(H=C0)
D2赋值:(C1>0 AND C1<=0.0123)
STICKLINE((OPEN-C0A)/C0A> -9.999 AND (D1 OR D2),0,-2,-1,0),画红色
X赋值:10
Y赋值:10
A01赋值:(C+O+L+H)/4
A02赋值:((A01 * 1.04计算的获利盘比例) * 100.000)
A03赋值:((A01 * 0.96计算的获利盘比例) * 100.000)
输出获利盘:A03,NODRAW
输出浮动盘:A02-A03,NODRAW
输出套牢盘:( 100.000 - A02),NODRAW
A0A赋值:((((( 100.000日内获利盘最高值 - A03) / A03) * 100.000) > N) AND ( 100.000日内获利盘最高值 > 50.000))
STICKLINE(A0A,(-2.0), -1.80, 3.0,0),COLORYEL最低价
STICKLINE(NOT(A0A),(-2.0), -1.80, 3.0,0),COLORMAGENTA