通达信缠论筹码买卖点
X5:=EXPMA(CLOSE,3);
X10:=EXPMA(CLOSE,7);
X20:=EXPMA(CLOSE,20);
五日斜率:=(X5-REF(X5,1))*100/REF(X5,1),LINETHICK2,COLORYELLOW;
十日斜率:=(X10-REF(X10,1))*100/REF(X10,1),LINETHICK2,COLORBLUE;
二十斜率:=(X20-REF(X20,1))*100/REF(X20,1),LINETHICK2,COLORWHITE;
XX5:=XMA(五日斜率,4),LINETHICK2,COLORYELLOW;
XX10:=XMA(十日斜率,7),LINETHICK2,COLORBLUE;
XX200:=XMA(二十斜率,20);
AA1:=XX200>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX200
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX200,2) ;
XX202:=XMA(二十斜率,22);
AA2:=XX202>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX202
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX202,2) ;
XX204:=XMA(二十斜率,24);
AA3:=XX204>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX204
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX204,2) ;
XX206:=XMA(二十斜率,26);
{股票指标网整理}
AA4:=XX206>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX206
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX206,2) ;
XX207:=XMA(二十斜率,20);
AA7:=XX207>=0.7 AND REF(XX207,1)<XX207 AND CROSS(XX10,XX207)
AND CROSS(REF(XX5,1),REF(XX207,1));
XX2071:=XMA(二十斜率,23);
AA71:=XX2071>=0.7 AND REF(XX2071,1)<XX2071 AND CROSS(XX10,XX2071)
AND CROSS(REF(XX5,1),REF(XX2071,1));
XX2072:=XMA(二十斜率,26);
AA72:=XX2072>=0.7 AND REF(XX2072,1)<XX2072 AND CROSS(XX10,XX2072)
AND CROSS(REF(XX5,1),REF(XX2072,1));
XX208:=XMA(二十斜率,20);
AA8:=XX208>=0.7 AND REF(XX208,1)<XX208 AND CROSS(XX10,XX208)
AND CROSS(XX5,XX208);
XX2081:=XMA(二十斜率,23);
AA81:=XX2081>=0.7 AND REF(XX2081,1)<XX2081 AND CROSS(XX10,XX2081)
AND CROSS(XX5,XX2081);
XX2082:=XMA(二十斜率,26);
AA82:=XX2082>=0.7 AND REF(XX2082,1)<XX2082 AND CROSS(XX10,XX2082)
AND CROSS(XX5,XX2082);
DRAWTEXT(AA1=1,10,'★AA1'),COLORRED;
DRAWTEXT(AA2=1,15,'★AA2'),COLORRED;
DRAWTEXT(AA3=1,20,'★AA3'),COLORRED;
DRAWTEXT(AA4=1,25,'★AA4'),COLORRED;
DRAWTEXT(AA7=1,30,'★AA7'),COLORRED;
DRAWTEXT(AA71=1,35,'★AA71'),COLORRED;
DRAWTEXT(AA72=1,40,'★AA72'),COLORRED;
DRAWTEXT(AA8=1,45,'★AA8'),COLORRED;
DRAWTEXT(AA81=1,50,'★AA81'),COLORRED;
DRAWTEXT(AA82=1,55,'★AA82'),COLORRED;
VARR3:=LLV(HIGH,240);
VARR4:=100*(CLOSE-VARR3)/VARR3;
VARR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VARR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VARR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VARR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARRA:=BARSCOUNT(CLOSE);
VARRB:=VARR8<20 AND VARR9<23 AND VARRA>35;
VARRC:=VARRB AND COUNT(VARRB,1)=1;
VARRD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARRE:=EMA(VARRD,5);
VARRF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARRD,VARRE);
VARR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VARR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VARR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VARR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VARR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VARR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VARR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VARR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VARR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VARR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VARR1A:=EMA(VARR19,100);
VARR1B:=2*(VARR19-VARR1A);
VARR1C:=POW(VARR1B,3)*0.1+POW(VARR1B,1);
VARR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VARR1E:=EMA(VARR1D*0.97,3);
VARR1F:=(HIGH+LOW+CLOSE)/3;
VARR20:=(VARR1F-MA(VARR1F,14))/(0.015*AVEDEV(VARR1F,14));
VARR21:=CROSS(VARR1E,LOW);
选股买点:VARR10;VARR10=4,0,20,1,0,COLORMAGENTA;
组合买:(VARR11+VARR13+VARR15+VARR17),STICK,COLORRED,LINETHICK2;
IF((VARR11+VARR13+VARR15+VARR17)=1,38,00),STICK,COLORMAGENTA,LINETHICK2;
组合卖: (VARR12+VARR14+VARR16+VARR18),STICK,COLORGREEN,LINETHICK2;
IF((VARR12+VARR14+VARR16+VARR18)=1 ,38,0),STICK,COLORGREEN,LINETHICK2;
IF((VARR12+VARR14+VARR16+VARR18)=2 ,48,0),STICK,COLORGREEN,LINETHICK2;
IF((VARR12+VARR14+VARR16+VARR18)=3 ,58,0),STICK,COLORGREEN,LINETHICK2;
IF((VARR12+VARR14+VARR16+VARR18)=4 ,68,0),STICK,COLORGREEN,LINETHICK2;
未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
该公式包含未来函数:XMA
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
X5赋值:收盘价的3日指数移动平均
X10赋值:收盘价的7日指数移动平均
X20赋值:收盘价的20日指数移动平均
五日斜率赋值:(X5-1日前的X5)*100/1日前的X5, 线宽为2,画黄色
十日斜率赋值:(X10-1日前的X10)*100/1日前的X10, 线宽为2, 画蓝色
二十斜率赋值:(X20-1日前的X20)*100/1日前的X20, 线宽为2,画白色
XX5赋值:X五日斜率的4日简单移动平均, 线宽为2,画黄色
XX10赋值:X十日斜率的7日简单移动平均, 线宽为2, 画蓝色
XX200:=X二十斜率的20日简单移动平均
AA1赋值:XX200>=0.7 AND 1日前的XX200 XX10 AND XX10>XX200
AND 2日前的XX5<2日前的XX10 AND 2日前的XX10< 2日前的XX200
XX202:=X二十斜率的22日简单移动平均
AA2赋值:XX202>=0.7 AND 1日前的XX200 XX10 AND XX10>XX202
AND 2日前的XX5<2日前的XX10 AND 2日前的XX10< 2日前的XX202
XX204:=X二十斜率的24日简单移动平均
AA3赋值:XX204>=0.7 AND 1日前的XX200 XX10 AND XX10>XX204
AND 2日前的XX5<2日前的XX10 AND 2日前的XX10< 2日前的XX204
XX206:=X二十斜率的26日简单移动平均
{股票指标网整理}
AA4赋值:XX206>=0.7 AND 1日前的XX200 XX10 AND XX10>XX206
AND 2日前的XX5<2日前的XX10 AND 2日前的XX10< 2日前的XX206
XX207:=X二十斜率的20日简单移动平均
AA7赋值:XX207>=0.7 AND 1日前的XX207
XX2071:=X二十斜率的23日简单移动平均
AA71:=XX2071>=0.7 AND 1日前的XX2071
XX2072:=X二十斜率的26日简单移动平均
AA72:=XX2072>=0.7 AND 1日前的XX2072
XX208:=X二十斜率的20日简单移动平均
AA8赋值:XX208>=0.7 AND 1日前的XX208
XX2081:=X二十斜率的23日简单移动平均
AA81:=XX2081>=0.7 AND 1日前的XX2081
XX2082:=X二十斜率的26日简单移动平均
AA82:=XX2082>=0.7 AND 1日前的XX2082当满足条件AA1=1时,在10和'★AA1'位置书写文字
当满足条件AA2=1时,在15和'★AA2'位置书写文字
当满足条件AA3=1时,在20和'★AA3'位置书写文字
当满足条件AA4=1时,在25和'★AA4'位置书写文字
当满足条件AA7=1时,在30和'★AA7'位置书写文字
当满足条件AA71=1时,在35和'★AA71'位置书写文字
当满足条件AA72=1时,在40和'★AA72'位置书写文字
当满足条件AA8=1时,在45和'★AA8'位置书写文字
当满足条件AA81=1时,在50和'★AA81'位置书写文字
当满足条件AA82=1时,在55和'★AA82'位置书写文字
VARR3赋值:240日内最高价最低值
VARR4赋值:100*(收盘价-VARR3)/VARR3
VARR5赋值:(收盘价-528日内最低价最低值)/(528日内最高价最高值-528日内最低价最低值)*100
VARR6赋值:(收盘价-530日内收盘价最低值)/(530日内收盘价最高值-530日内收盘价最低值)*100
VARR8赋值:SMA(收盘价-1日前的收盘价和0较大值,34,1)/SMA(收盘价-1日前的收盘价的绝对值,7,1)*100
VARR9赋值:SMA(收盘价-1日前的收盘价和0较大值,13,1)/SMA(收盘价-1日前的收盘价的绝对值,13,1)*100
VARRA赋值:收盘价的有效数据周期数
VARRB赋值:VARR8<20 AND VARR9<23 AND VARRA>35
VARRC赋值:VARRB AND 统计1日满足VARRB的天数=1
VARRD赋值:收盘价的21日指数移动平均-收盘价的8日指数移动平均
VARRE赋值:VARRD的5日指数移动平均
VARRF赋值:TROUGHBARS(3,6,1)<4 AND VARRD上穿VARRE
VARR10赋值:IF(TROUGHBARS(3,16,1)=0 AND 最高价>最低价+0.04,4,0)
VARR11赋值:ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3)
VARR12赋值:ZIG(3,6)[=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3)]
VARR13赋值:ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3)
VARR14赋值:ZIG(3,22)[=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3)]
VARR15赋值:ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3)
VARR16赋值:ZIG(3,51)[=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3)]
VARR17赋值:ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3)
VARR18赋值:ZIG(3,72)[=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3)]
VARR19赋值:收盘价的2日指数移动平均-收盘价的150日指数移动平均
VARR1A赋值:VARR19的100日指数移动平均
VARR1B赋值:2*(VARR19-VARR1A)
VARR1C赋值:POW(VARR1B,3)*0.1+POW(VARR1B,1)
VARR1D赋值:SQRT(SQRT(最低价*最高价*开盘价*收盘价))
VARR1E赋值:VARR1D*0.97的3日指数移动平均
VARR1F赋值:(最高价+最低价+收盘价)/3
VARR20赋值:(VARR1F-VARR1F的14日简单移动平均)/(0.015*AVEDEV(VARR1F,14))
VARR21赋值:VARR1E上穿最低价
输出选股买点:VARR10
VARR10=4,0,20,1,0,画洋红色
输出组合买:(VARR11+VARR13+VARR15+VARR17),STICK,画红色, 线宽为2
IF((VARR11+VARR13+VARR15+VARR17)=1,38,00),STICK,画洋红色, 线宽为2
输出组合卖: (VARR12+VARR14+VARR16+VARR18),STICK,画绿色, 线宽为2
IF((VARR12+VARR14+VARR16+VARR18)=1 ,38,0),STICK,画绿色, 线宽为2
IF((VARR12+VARR14+VARR16+VARR18)=2 ,48,0),STICK,画绿色, 线宽为2
IF((VARR12+VARR14+VARR16+VARR18)=3 ,58,0),STICK,画绿色, 线宽为2
IF((VARR12+VARR14+VARR16+VARR18)=4 ,68,0),STICK,画绿色, 线宽为2