撤通达信庄进庄副图源码跟庄没错源码
M1:=3;
N0:=9;
M20:=3;
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR4:=LLV(LOW,33);
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;
洗盘:IF(VAR5< REF(VAR5,1),VAR5,0),COLORGREEN;
STICKLINE(VAR5< REF(VAR5,1),0,VAR5,3,0),COLOR005500;
STICKLINE(VAR5< REF(VAR5,1),0,VAR5,2.1,0),COLOR009900;
STICKLINE(VAR5< REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00;
VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);
VAR14:=HHV(H,33);
冲顶:IF(VAR15>REF(VAR15,1),VAR15,0),COLORFF00FF;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0 ),COLOR550055;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2.1,0 ),COLOR990099;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,0.9,0 ),COLORDD00DD;
主力出场:IF(VAR15< REF(VAR15,1),VAR15,0),COLORYELLOW;
STICKLINE(VAR15< REF(VAR15,1),0,VAR15,3,0),COLOR005555;
STICKLINE(VAR15< REF(VAR5,1),0,VAR15,2.1,0),COLOR009999;
STICKLINE(VAR15< REF(VAR15,1),0,VAR15,0.9,0),COLOR00DDDD;
A1:=REF(CLOSE,2);
波段介入点:IF(A2< 19,19,0)*5,COLORGREEN;
R2:=SMA(R1,9,1)+100;
R4:=SMA(R3,3,1);
R6:=R5-R2;
STICKLINE(REF(短线操盘,1)< 短线操盘,短线操盘,REF(短线操盘,1),2,1),COLORRED;
DRAWTEXT(短线操盘=0,-10,'操'),COLORRED;
K:SMA(RSV,M1,1),LINETHICK2,NODRAW;
J:3*K-2*D,LINETHICK2,NODRAW;
KDJ2:=J>REF(J,1);
LC:=REF(CLOSE,1);
VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
VARD:=BARSCOUNT(CLOSE);
DRAWTEXT(VARB< 20 AND VARC< 30 AND VARD> 20,90,'多'),COLORWHITE;
K055:=SMA(RSV55,3,1);
D55:=SMA(K055,2,1);
多势:MA(多头,2),LINETHICK2,NODRAW;
VAR155:=LLV(LOW,21);
能量: EMA((MAV-VAR155)/(VAR255-VAR155)*100,8),NODRAW;
SJ:=3*能量-2*动量;
风险:70,POINTDOT,COLORF0F000,LINETHICK2;
底部:(SJ< 18)*80,COLORRED,LINETHICK2;
攻击:=IF(底部,0,20),LINETHICK2,COLORYELLOW;
DRAWTEXT(CROSS(多势,多头) AND 多头>45,短线操盘+11,'卖'),COLOR00FF00,LINETHICK1;
DRAWTEXT(CROSS(卖出,多头) AND 多头>风险,多头+18,'逃'),COLORFFFF00,LINETHICK2;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
M1赋值:3
N0赋值:9
M20赋值:3
VAR2赋值:SMA(最低价-VAR1的绝对值,13,1)/SMA(最低价-VAR1和0较大值,10,1)
VAR4赋值:33日内最低价最低值
输出主力进场:IF(VAR5>1日前的VAR5,VAR5,0),画红色
STICKLINE(VAR5>1日前的VAR5,0,VAR5,3,0 ),COLOR000055
STICKLINE(VAR5>1日前的VAR5,0,VAR5,2.1,0 ),COLOR000099
STICKLINE(VAR5>1日前的VAR5,0,VAR5,0.9,0 ),COLOR0000DD
输出洗盘:IF(VAR5< 1日前的VAR5,VAR5,0),画绿色
STICKLINE(VAR5< 1日前的VAR5,0,VAR5,3,0),COLOR005500
STICKLINE(VAR5< 1日前的VAR5,0,VAR5,2.1,0),COLOR009900
STICKLINE(VAR5< 1日前的VAR5,0,VAR5,0.9,0),COLOR00DD00
VAR12赋值:SMA(VAR1-H的绝对值,13,1)/SMA(VAR1-H和0较大值,10,1)
VAR14赋值:33日内H最高值
输出冲顶:IF(VAR15>1日前的VAR15,VAR15,0),COLORFF00FF
STICKLINE(VAR15>1日前的VAR15,0,VAR15,3,0 ),COLOR550055
STICKLINE(VAR15>1日前的VAR15,0,VAR15,2.1,0 ),COLOR990099
STICKLINE(VAR15>1日前的VAR15,0,VAR15,0.9,0 ),COLORDD00DD
输出主力出场:IF(VAR15< 1日前的VAR15,VAR15,0),画黄色
STICKLINE(VAR15< 1日前的VAR15,0,VAR15,3,0),COLOR005555
STICKLINE(VAR15< 1日前的VAR5,0,VAR15,2.1,0),COLOR009999
STICKLINE(VAR15< 1日前的VAR15,0,VAR15,0.9,0),COLOR00DDDD
A1赋值:2日前的收盘价
如果A2< 19返回19否则返回0
R1的9日[1日权重]移动平均
R3的3日[1日权重]移动平均
R6赋值:R5-R2
STICKLINE(1日前的短线操盘< 短线操盘,短线操盘,1日前的短线操盘,2,1),画红色
当满足条件短线操盘=0时,在-10和'操'位置书写文字
RSV的M1日[1日权重]移动平均
输出J:3*K-2*D,LINETHICK2,NODRAW
KDJ2:=J>1日前的J
LC赋值:1日前的收盘价
VARB赋值:SMA(收盘价-LC和0较大值,7,1)/SMA(收盘价-LC的绝对值,7,1)*100
VARD赋值:收盘价的有效数据周期数
当满足条件VARB< 20 AND VARC< 30 AND VARD> 20时,在90和'多'位置书写文字
RSV55的3日[1日权重]移动平均
K055的2日[1日权重]移动平均
输出多势:多头的2日简单移动平均,LINETHICK2,NODRAW
VAR155赋值:21日内最低价最低值
输出能量: EMA((MAV-VAR155)/(VAR255-VAR155)*100,8),NODRAW
SJ赋值:3*能量-2*动量
输出风险:70,POINTDOT,COLORF0F000,LINETHICK2
输出底部:(SJ< 18)*80,画红色,LINETHICK2
如果底部返回0否则返回20
DRAWTEXT(多势上穿多头 AND 多头>45,短线操盘+11,'卖'),COLOR00FF00,LINETHICK1
DRAWTEXT(卖出上穿多头 AND 多头>风险,多头+18,'逃'),COLORFFFF00,LINETHICK2