霸气逼人~玩死庄~看透主力~
OK:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF,LINETHICK2;
RSI2:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF,LINETHICK0;
RSI3:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF,LINETHICK0;
RSI4:=SMA(RSI3,7,1),LINETHICK0,COLOR00CD00;
趋势A:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF,LINETHICK0;
趋势B:=MA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD,LINETHICK0;
趋势C:EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORMAGENTA,DOTLINE;
W1:=MA(趋势A,7)*1.372,COLORRED,LINETHICK0;
W2:=W1*1.0887;
W3:(1.5*(趋势B+RSI4)-(W2+W1))+12,COLORGREEN;
VAR1:=COST(89)-COST(11);
VAR2:=COST(99.9)-COST(0.1);
单峰:(1-VAR1/VAR2)*100,COLORLIGRAY;
低密:=(COST(90)-COST(60))/VAR2*100,COLORYELLOW,POINTDOT,LINETHICK4;
高密:=(COST(40)-COST(1))/VAR2*100,COLORRED,POINTDOT,LINETHICK4;
赢利:SMA(WINNER(AMOUNT/VOL/99)*100,2,1),COLORYELLOW,NODRAW;
DRAWICON(CROSS(赢利,5),5,1);
IF(W3>单峰,W3,DRAWNULL),COLORRED,LINETHICK3;
W: (SMA(WINNER(CLOSE),3,1) * 100),COLORYELLOW,LINETHICK2;
Z:(SMA(WINNER(CLOSE),10,1) * 100),COLORBLUE,LINETHICK2;
20,COLORWHITE;50,DOTLINE,COLORWHITE;80,COLORWHITE;
收盘价获利比:=WINNER(C)*100,LINETHICK0;
主力筹码估算:EMA(WINNER(CLOSE)*70,3),NODRAW;
散户筹码估算:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;
散户套牢比率:散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
市场总量:=MA(主力筹码估算+散户筹码估算,13),COLORGREEN,LINETHICK2;
散户警戒:EMA(散户套牢比率,89),NODRAW;
主力警戒:EMA(主力控盘比率,89),NODRAW;
筹码总量:=IF(市场总量>REF(市场总量,1),市场总量,DRAWNULL),COLOR0066FF,LINETHICK2;
DRAWRECTREL(0,60,240,950,RGB(80,00,100));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.10,0, '主力筹码估算:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.18,0.10,0,' %'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.12,0.10,0,主力筹码估算),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.20,0, '主力控盘比率:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.18,0.20,0,' %'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.12,0.20,0,主力控盘比率),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.30,0, '散户套牢比率:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.18,0.30,0, '%'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.12,0.30,0,散户套牢比率),COLORRED;
DRAWTEXT_FIX(收盘价获利比>=0,0.0,1-0.61,0,' 收盘价获利比:'),COLORYELLOW;
DRAWNUMBER_FIX(收盘价获利比>=0,0.12,1-0.61,0,收盘价获利比),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.45,0, '锁定因子:锁定筹码和解锁筹码'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.50,0, '的相对速度,不直接监测锁定筹'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.55,0, '码多少,但可监测筹码。'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.60,0,'主流资金:可监控筹码资金的'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.65,0,'背离,做决策'),COLORYELLOW;
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
OK赋值:1日前的收盘价
RSI1赋值:SMA(收盘价-OK和0较大值,7,1)/SMA(收盘价-OK的绝对值,7,1)*100,COLORFFFFFF, 线宽为2
RSI2赋值:SMA(收盘价-OK和0较大值,7,1)/SMA(收盘价-OK的绝对值,7,1)*100,COLORFFFFFF,LINETHICK0
RSI3赋值:SMA(收盘价-OK和0较大值,7,1)/SMA(收盘价-OK的绝对值,7,1)*100,COLORFFFFFF,LINETHICK0
RSI3的7日[1日权重]移动平均
趋势A赋值:MA(((收盘价-48日内最低价最低值)/(48日内最高价最高值-48日内最低价最低值)*50),17)+9,COLORFFFFFF,LINETHICK0
趋势B赋值:MA(((收盘价-53日内最低价最低值)/(53日内最高价最高值-53日内最低价最低值)*50),17)+9,COLOR3377DD,LINETHICK0
输出
趋势C:EMA(((收盘价-38日内最低价最低值)/(38日内最高价最高值-38日内最低价最低值)*50),17)+18,画洋红色,DOTLINE
W1赋值:趋势A的7日简单移动平均*1.372,画红色,LINETHICK0
W2赋值:W1*1.0887
输出
W3:(1.5*(趋势B+RSI4)-(W2+W1))+12,画绿色
VAR1赋值:获利盘为89%的成本分布-COST(11)
VAR2赋值:获利盘为99.9%的成本分布-COST(0.1)
输出
单峰:(1-VAR1/VAR2)*100,COLORLIGRAY
低密赋值:(获利盘为90%的成本分布-COST(60))/VAR2*100,画黄色,POINTDOT,LINETHICK4
高密赋值:(获利盘为40%的成本分布-COST(1))/VAR2*100,画红色,POINTDOT,LINETHICK4
输出
赢利:SMA(成交额/成交量/99计算的获利盘比例*100,2,1),画黄色,NODRAW
DRAWICON(赢利上穿5,5,1)
如果W3>单峰返回W3否则返回DRAWNULL
输出
W: (SMA(收盘价计算的获利盘比例,3,1) * 100),画黄色, 线宽为2
输出
Z:(SMA(收盘价计算的获利盘比例,10,1) * 100), 画蓝色, 线宽为2
20,画白色
50,DOTLINE,画白色
80,画白色
收盘价获利比赋值:C计算的获利盘比例*100,LINETHICK0
输出
主力筹码估算:EMA(收盘价计算的获利盘比例*70,3),NODRAW
输出
散户筹码估算:EMA((收盘价*1.1计算的获利盘比例-WINNER(收盘价*0.9))*80,3),NODRAW
输出
散户套牢比率:散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW
输出
主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW
市场总量赋值:主力筹码估算+散户筹码估算的13日简单移动平均,画绿色, 线宽为2
输出
散户警戒:散户套牢比率的89日指数移动平均,NODRAW
输出
主力警戒:主力控盘比率的89日指数移动平均,NODRAW
筹码总量赋值:IF(市场总量>1日前的市场总量,市场总量,DRAWNULL),COLOR0066FF, 线宽为2
DRAWRECTREL(0,60,240,950,RGB(80,00,100))
当满足条件 到最后交易的周期=1时,在横轴0.01纵轴0.10位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.18纵轴0.10位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.12纵轴0.10位置书写数字
当满足条件 到最后交易的周期=1时,在横轴0.01纵轴0.20位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.18纵轴0.20位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.12纵轴0.20位置书写数字
当满足条件 到最后交易的周期=1时,在横轴0.01纵轴0.30位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.18纵轴0.30位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.12纵轴0.30位置书写数字
当满足条件收盘价获利比>=0时,在横轴0.0纵轴1-0.61位置书写文字
当满足条件收盘价获利比>=0时,在横轴0.12纵轴1-0.61位置书写数字
当满足条件 到最后交易的周期=1时,在横轴0.00纵轴0.45位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.00纵轴0.50位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.00纵轴0.55位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.00纵轴0.60位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.00纵轴0.65位置书写文字