筹码锁定上涨不止通达信公式 副图 源码附图
HJ_1:=MA(CLOSE,13);
HJ_2:=100-ABS((CLOSE-HJ_1)/HJ_1*100);
HJ_3:=MA(WINNER(CLOSE*0.95)*100,1);
HJ_4:=HJ_3>HJ_2;
DRAWNUMBER(HJ_4 AND HJ_2>REF(HJ_2,1) AND REF(HJ_4,1)>0,HJ_2+20,ROUND(HJ_2)),COLORCYAN;
DRAWNUMBER(HJ_4,HJ_2+20,ROUND(HJ_2)),COLORCYAN;
STICKLINE(HJ_4,HJ_2,0,3.2,0),COLOR117777;
STICKLINE(HJ_4,HJ_2,0,2.6,0),COLOR119999;
STICKLINE(HJ_4,HJ_2,0,1.9,0),COLOR11BBBB;
STICKLINE(HJ_4,HJ_2,0,1.1,0),COLOR11DDDD;
STICKLINE(HJ_4,HJ_2,0,0.3,0),COLORYELLOW;
STICKLINE(HJ_4 AND HJ_2>REF(HJ_2,1) AND REF(HJ_4,1)>0,HJ_2,0,3.2,0),COLOR990099;
STICKLINE(HJ_4 AND HJ_2>REF(HJ_2,1) AND REF(HJ_4,1)>0,HJ_2,0,2.6,0),COLOR990099;
STICKLINE(HJ_4 AND HJ_2>REF(HJ_2,1) AND REF(HJ_4,1)>0,HJ_2,0,1.9,0),COLORBB00BB;
STICKLINE(HJ_4 AND HJ_2>REF(HJ_2,1) AND REF(HJ_4,1)>0,HJ_2,0,1.1,0),COLORDD00DD;
STICKLINE(HJ_4 AND HJ_2>REF(HJ_2,1) AND REF(HJ_4,1)>0,HJ_2,0,0.3,0),COLORMAGENTA;
DRAWTEXT(HJ_4 AND HJ_2>REF(HJ_2,1) AND REF(HJ_4,1)>0,HJ_2+30,11553),COLORMAGENTA;
{-----------------------------------};
未来函数检测结果如下:
该公式包含未来函数:WINNER
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
HJ_1赋值:收盘价的13日简单移动平均
HJ_2赋值:100-(收盘价-HJ_1的绝对值/HJ_1*100)
HJ_3赋值:MA(收盘价*0.95计算的获利盘比例*100,1)
HJ_4赋值:HJ_3>HJ_2
DRAWNUMBER(HJ_4 AND HJ_2>1日前的HJ_2 AND 1日前的HJ_4>0,HJ_2+20,ROUND(HJ_2)),画青色
DRAWNUMBER(HJ_4,HJ_2+20,ROUND(HJ_2)),画青色
当满足条件HJ_4时,在HJ_2和0之间画柱状线
当满足条件HJ_4时,在HJ_2和0之间画柱状线
当满足条件HJ_4时,在HJ_2和0之间画柱状线
当满足条件HJ_4时,在HJ_2和0之间画柱状线
当满足条件HJ_4时,在HJ_2和0之间画柱状线
STICKLINE(HJ_4 AND HJ_2>1日前的HJ_2 AND 1日前的HJ_4>0,HJ_2,0,3.2,0),COLOR990099
STICKLINE(HJ_4 AND HJ_2>1日前的HJ_2 AND 1日前的HJ_4>0,HJ_2,0,2.6,0),COLOR990099
STICKLINE(HJ_4 AND HJ_2>1日前的HJ_2 AND 1日前的HJ_4>0,HJ_2,0,1.9,0),COLORBB00BB
STICKLINE(HJ_4 AND HJ_2>1日前的HJ_2 AND 1日前的HJ_4>0,HJ_2,0,1.1,0),COLORDD00DD
STICKLINE(HJ_4 AND HJ_2>1日前的HJ_2 AND 1日前的HJ_4>0,HJ_2,0,0.3,0),画洋红色
DRAWTEXT(HJ_4 AND HJ_2>1日前的HJ_2 AND 1日前的HJ_4>0,HJ_2+30,11553),画洋红色
{-----------------------------------}