吸筹副图,实站指标
{吸筹副图}
N1:=9;N2:=5;MTM:=C-REF(C,1);主力轨迹:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORRED;MAZL:MA(主力轨迹,N2),COLORBLUE;VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1,0 ),COLORRED;洗盘:IF(VAR5< REF(VAR5,1),VAR5,0),COLORBLUE,NODRAW;STICKLINE(VAR5< REF(VAR5,1),0,VAR5,1,0),COLORBLUE;VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);VAR31:=EMA(VAR21,10);VAR41:=HHV(HIGH,33);VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);主力拉高:IF(VAR51< REF(VAR51,1),VAR51,0),COLORMAGENTA,NODRAW;STICKLINE(VAR51< REF(VAR51,1),0,VAR51,1,0),COLORMAGENTA;出货:IF(VAR51>REF(VAR51,1),VAR51,0),COLORGREEN,NODRAW;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,1,0 ),COLORGREEN;逃顶:=IF(CROSS(82,RSI),50,0),COLORRED,LINETHICK1;D1:=(C+L+H)/3;D2:=EMA(D1,6);D3:=EMA(D2,5);BBUY:=CROSS(D2,D3);VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;DRAWTEXT(CROSS(82,VARR1),35,'--出'),COLORRED;趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);抄底:=IF(CROSS(趋势线,6),50,0),COLORBLUE,LINETHICK1;DRAWTEXT(FILTER(抄底,10)=1,35,'--抄'),COLORBLUE,LINETHICK1;A1:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;A2:=SMA(A1,3.1,1);A3:=SMA(A2,3.1,1);出击:=3*A2-2*A3,COLORYELLOW,LINETHICK2;底部吸筹指标:=((((CLOSE - MA(CLOSE,20)) / MA(CLOSE,20)) * 100));A:=(((((((((((((59 - 59) + 66) - 44) + 20) + 2) + (24 * 100000000)) + 5) - 5) + 1700000) + 1580) + 3) - 3) - 44);B:=((((6 * 100000000) + 23578500) + 92) + 3);线:IF((((底部吸筹指标 < 0) && ( A)) && ( B)),(底部吸筹指标 * 4),0),COLORBLUE,NODRAW;DRAWICON(CROSS(出击,5),5,25);
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
{吸筹副图}N1赋值:9
N2赋值:5
MTM赋值:C-1日前的C
输出主力轨迹:100*MTM的N1日指数移动平均,N1)/EMA(EMA(MTM的绝对值,N1),N1),画红色
输出MAZL:主力轨迹的N2日简单移动平均,COLORBLUE
VAR1赋值:REF((最低价+开盘价+收盘价+最高价)/4,1)
VAR2赋值:SMA(最低价-VAR1的绝对值,13,1)/SMA(最低价-VAR1和0较大值,10,1)
VAR3赋值:VAR2的10日指数移动平均
VAR4赋值:33日内最低价最低值
如果最低价<=VAR4返回VAR3否则返回0
输出主力进场:IF(VAR5>1日前的VAR5,VAR5,0),画红色,NODRAW
STICKLINE(VAR5>1日前的VAR5,0,VAR5,1,0 ),画红色
输出洗盘:IF(VAR5< 1日前的VAR5,VAR5,0),COLORBLUE,NODRAW
STICKLINE(VAR5< 1日前的VAR5,0,VAR5,1,0),COLORBLUE
VAR21:=SMA(最高价-VAR1的绝对值,13,1)/SMA(最高价-VAR1和0的较小值,10,1)
VAR31:=VAR21的10日指数移动平均
VAR41:=33日内最高价最高值
如果最高价>=VAR41返回VAR31否则返回0
输出主力拉高:IF(VAR51< 1日前的VAR51,VAR51,0),COLORMAGENTA,NODRAW
STICKLINE(VAR51< 1日前的VAR51,0,VAR51,1,0),COLORMAGENTA
输出出货:IF(VAR51>1日前的VAR51,VAR51,0),画绿色,NODRAW
STICKLINE(VAR51>1日前的VAR51,0,VAR51,1,0 ),画绿色
逃顶赋值:IF(82上穿RSI,50,0),画红色,LINETHICK1
D1赋值:(C+L+H)/3
D2赋值:D1的6日指数移动平均
D3赋值:D2的5日指数移动平均
BBUY赋值:D2上穿D3
VARR1赋值:SMA(收盘价-1日前的C和0较大值,6,1)/SMA(收盘价-1日前的C的绝对值,6,1)*100
DRAWTEXT(82上穿VARR1,35,'--出'),画红色
趋势线赋值:3*SMA((收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值)*100,5,1)-2*SMA(SMA((收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值)*100,5,1),3,1)
抄底赋值:IF(趋势线上穿6,50,0),COLORBLUE,LINETHICK1
DRAWTEXT(抄底的10过滤=1,35,'--抄'),COLORBLUE,LINETHICK1
A1赋值:(收盘价-15日内最低价最低值)/(15日内最高价最高值-15日内最低价最低值)*100
A1的3.1日[1日权重]移动平均
A2的3.1日[1日权重]移动平均
出击赋值:3*A2-2*A3,画黄色, 线宽为2
底部吸筹指标赋值:((((收盘价 - 收盘价的20日简单移动平均) / 收盘价的20日简单移动平均) * 100))
A赋值:(((((((((((((59 - 59) + 66) - 44) + 20) + 2) + (24 * 100000000)) + 5) - 5) + 1700000) + 1580) + 3) - 3) - 44)
B赋值:((((6 * 100000000) + 23578500) + 92) + 3)
输出线:IF((((底部吸筹指标 < 0) && ( A)) && ( B)),(底部吸筹指标 * 4),0),COLORBLUE,NODRAW
DRAWICON(出击上穿5,5,25)