通达信高抛低吸副图指标 数值是当天强度值 监控庄筹集中 源码 附图
STICKLINE(KDJ.J>REF(KDJ.J,1),KDJ.J,REF(KDJ.J,1),3,0),COLOR000080;
STICKLINE(KDJ.J>REF(KDJ.J,1),KDJ.J,REF(KDJ.J,1),2,0),COLOR0000AA;
STICKLINE(KDJ.J>REF(KDJ.J,1),KDJ.J,REF(KDJ.J,1),1,0),COLOR0000D5;
STICKLINE(KDJ.J>REF(KDJ.J,1),KDJ.J,REF(KDJ.J,1),0.1,0),COLOR0000FF;
STICKLINE(KDJ.J<REF(KDJ.J,1),KDJ.J,REF(KDJ.J,1),3,0),COLOR008000;
STICKLINE(KDJ.J<REF(KDJ.J,1),KDJ.J,REF(KDJ.J,1),2,0),COLOR00AA00;
STICKLINE(KDJ.J<REF(KDJ.J,1),KDJ.J,REF(KDJ.J,1),1,0),COLOR00D500;
STICKLINE(KDJ.J<REF(KDJ.J,1),KDJ.J,REF(KDJ.J,1),0.1,0),COLOR00FF00;
DRAWTEXT(KDJ.J>0,KDJ.J,VARCAT(VARCAT(SIGNALS_USER(10000,0),VAR2STR(KDJ.J-REF(KDJ.J,1),0)),'') ),COLOR00FFFF;
DRAWTEXT(KDJ.J<0,KDJ.J,VARCAT(VARCAT(SIGNALS_USER(10000,0),VAR2STR(KDJ.J-REF(KDJ.J,1),0)),'') ),COLORFFFFFF;
KDJA:=BARSLAST(FILTERX(KDJ.J=HHV(KDJ.J,BARSLAST(KDJ.J<0)),BARSLAST(KDJ.J<0)));
KDJB:=REF(KDJ.J,KDJA);
STICKLINE(KDJA,KDJB*0.99,KDJB*0.99,1,0),COLOR00FFFF;
KDJA1:=BARSLAST(FILTERX(KDJ.J=LLV(KDJ.J,BARSLAST(KDJ.J>0)),BARSLAST(KDJ.J>0)));
KDJB1:=REF(KDJ.J,KDJA1);
STICKLINE(KDJA1,KDJB1*0.99,KDJB1,1,0),COLORFFFFFF;
顶:100;
主持仓:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),9);
庄筹集中度:=EMA(主持仓,1);
庄筹集中监控线:EMA(庄筹集中度,1),COLORRED,LINETHICK3;
庄筹集中警戒线:=EMA(庄筹集中监控线,3);
庄筹集中生命线:EMA(庄筹集中警戒线,20),COLORFF00C5,LINETHICK3;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
STICKLINE(KDJ.J>1日前的KDJ.J,KDJ.J,1日前的KDJ.J,3,0),COLOR000080
STICKLINE(KDJ.J>1日前的KDJ.J,KDJ.J,1日前的KDJ.J,2,0),COLOR0000AA
STICKLINE(KDJ.J>1日前的KDJ.J,KDJ.J,1日前的KDJ.J,1,0),COLOR0000D5
STICKLINE(KDJ.J>1日前的KDJ.J,KDJ.J,1日前的KDJ.J,0.1,0),COLOR0000FF
STICKLINE(KDJ.J<1日前的KDJ.J,KDJ.J,1日前的KDJ.J,3,0),COLOR008000
STICKLINE(KDJ.J<1日前的KDJ.J,KDJ.J,1日前的KDJ.J,2,0),COLOR00AA00
STICKLINE(KDJ.J<1日前的KDJ.J,KDJ.J,1日前的KDJ.J,1,0),COLOR00D500
STICKLINE(KDJ.J<1日前的KDJ.J,KDJ.J,1日前的KDJ.J,0.1,0),COLOR00FF00
DRAWTEXT(KDJ.J>0,KDJ.J,VARCAT(VARCAT(SIGNALS_USER(10000,0),VAR2STR(KDJ.J-1日前的KDJ.J,0)),'') ),COLOR00FFFF
DRAWTEXT(KDJ.J<0,KDJ.J,VARCAT(VARCAT(SIGNALS_USER(10000,0),VAR2STR(KDJ.J-1日前的KDJ.J,0)),'') ),COLORFFFFFF
KDJA赋值:上次FILTERX(KDJ.J=HHV(KDJ.J,BARSLAST(KDJ.J<0距今天数),BARSLAST(KDJ.J<0)))
KDJB赋值:KDJA日前的KDJ.J
当满足条件KDJA时,在KDJB*0.99和KDJB*0.99之间画柱状线
KDJA1:=上次FILTERX(KDJ.J=LLV(KDJ.J,BARSLAST(KDJ.J>0距今天数),BARSLAST(KDJ.J>0)))
KDJB1:=KDJA1日前的KDJ.J
当满足条件KDJA1时,在KDJB1*0.99和KDJB1之间画柱状线
输出顶:100
主持仓赋值:EMA(100*(收盘价-30日内最低价最低值)/(30日内最高价最高值-30日内最低价最低值),9)
庄筹集中度赋值:主持仓的1日指数移动平均
输出庄筹集中监控线:庄筹集中度的1日指数移动平均,画红色, 线宽为3
庄筹集中警戒线赋值:庄筹集中监控线的3日指数移动平均
输出庄筹集中生命线:庄筹集中警戒线的20日指数移动平均,COLORFF00C5, 线宽为3