通达信【雷霆OBV】副图指标 分辨主力真实意图 源码附图

{突破游资主图源码如下}
擒牛:=MEMA(EMA((((C-O)*2)+O),20),10) ;

捉妖:=MEMA(MEMA((((C-O)*2)+O),3),10);

DRAWBAND(擒牛 ,RGB(0,0,255),捉妖 ,RGB(255,100,228));



趋势多:CROSS(捉妖,擒牛) ,NODRAW,COLORRED;



趋势空:CROSS(擒牛,捉妖) ,NODRAW,COLORGREEN;



DRAWTEXT(趋势空,擒牛,'趋势空'),COLORGREEN;



DRAWTEXT(趋势多,擒牛,'趋势多'),COLORRED;



短线看红涨绿跌:EMA((MA(C,5)),3) ,LINETHICK3,COLORGREEN;



IF(短线看红涨绿跌 > REF(短线看红涨绿跌,3),短线看红涨绿跌,DRAWNULL),LINETHICK3,COLORRED;



IF(短线看红涨绿跌 < REF(短线看红涨绿跌,3),短线看红涨绿跌,DRAWNULL),LINETHICK3,COLORGREEN;

共振:=EMA(C,5) ;



金叉:=EMA(SLOPE(C,21)*20+C,42);



BU:=CROSS(共振,金叉) ;



SEL:=CROSS(金叉,共振) ;



DRAWTEXT(BU,LOW,'B'),COLORRED,LINETHICK4;



DRAWTEXT(SEL,H,'S'),COLORGREEN,LINETHICK4;



B信号:BU,NODRAW,COLORRED;S信号:SEL,NODRAW,COLORGREEN;



STICKLINE(共振>=金叉 AND O>0,C,OPEN,3,1),COLORRED;



STICKLINE(共振>=金叉 AND O>0,(IF(OPEN>C,C,OPEN)),LOW,0,0),COLORRED;



STICKLINE(共振>=金叉,(IF(OPEN<C,C,OPEN)),H,0,0),COLORRED;



STICKLINE(共振<金叉,C,OPEN,3,0),COLOR00FF00;



STICKLINE(共振<金叉,LOW,H,0,1),COLOR00FF00;



STICKLINE(CROSS(共振,金叉) AND O>0,OPEN,C,3,0),COLORRED;



STICKLINE(CROSS(金叉,共振) AND O>0,OPEN,C,3,0),COLORGREEN;



A77:=((C - (MA(C,13))) / (MA(C,13))) * -100;



A78:=((C - (LLV(LOW,13))) / ((HHV(H,13)) - (LLV(LOW,13)))) * 100 ;



A79:=SMA(A78,3,2);



A80:=SMA(A79 ,3,2);



A81:=SMA(A80 ,5,1);



抄底黑马:=(((REF(A77,1)) >= 16) AND (((REF(A77,1)) / A77) >= 1.23)) AND (CROSS(A80,A81));



DRAWTEXT(抄底黑马,LOW,'★抄底黑马'),COLORWHITE;



N1:=MA(C,41)+MA(C,41)*10/100;



N2:=MA(C,23)+MA(C,23)*5/100;



N3:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;



N4:=C>REF(C,1)*1.05 ;



DRAWTEXT(CROSS(N3,N2) AND N4,LOW*0.98,'启动上涨'),LINETHICK2,COLORMAGENTA;



STICKLINE((CROSS(N3,N2) AND N4),OPEN,C,3,0),COLORMAGENTA;



DRAWTEXT(CROSS(N3,N1) AND N4,LOW,'涨成牛妖'),LINETHICK2,COLORRED;



STICKLINE((CROSS(N3,N1) AND N4),OPEN,C,3,0),COLORRED;



WR1:=100*(HHV(H,21)-C)/(HHV(H,21)-LLV(LOW,21));



WR2:=100*(HHV(H,42)-C)/(HHV(H,42)-LLV(LOW,42));



MACD:=((EMA(C,12)-EMA(C,26))-(EMA((EMA(C,12)-EMA(C,26)),9)))*2;



TYP:=(H+LOW+C)/3 ;



CC:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));



NOSEL:=IF((CROSS(WR1,20) AND CROSS(WR2,20)),0,1);



CCI买点:=CROSS(CC,250) AND CCI>REF(CCI,1) AND MACD>0 AND NOSEL AND C>EMA(C,200);



突破线:=SMA(H,14,2)*1.08;



接力涨:FILTER((CCI买点 AND C>突破线) OR (REF(CCI买点,1) AND C>突破线),3),NODRAW,COLORYELLOW;



DRAWTEXT(接力涨,L*0.99,' 接力涨'),LINETHICK2,COLORYELLOW;



STICKLINE(接力涨,C,OPEN,3,0),COLORYELLOW,LINETHICK4;






A62:=((C - (LLV(LOW,36))) / ((HHV(H,36)) - (LLV(LOW,36)))) * 100 ;



A63:=SMA(A62 ,3,1);



A64:=SMA(A63 ,3,1);



A65:=SMA(A64 ,3,1);



A67:=CROSS(A65,A64) AND A64>80;



DRAWTEXT(((FILTER(A67,5)) = 1),H,'减仓或卖出'),LINETHICK2,COLORGREEN;



STICKLINE(((FILTER(A67,5)) = 1),OPEN,C,3,0),COLORGREEN;

获利盘:=WINNER(C)*100;
近邻筹码:=(WINNER(C*1.07)-WINNER(C*0.93))*85;
换手率:=V/CAPITAL*100;
锁仓:=获利盘>=85 AND 近邻筹码<30 AND 换手率<5 STICK;
DRAWTEXT(锁仓,(L*0.99),'锁'),COLORWHITE;













高度控盘1:=EMA(WINNER(C)*70,3);

高度控盘2:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,3);



高度控盘3:=高度控盘2/(高度控盘1+高度控盘2)*100;





高度控盘4:=高度控盘1/(高度控盘1+高度控盘2)*100;



高度控盘5:=MA(高度控盘1+高度控盘2,13);



高度控盘6:=BARSLAST(高度控盘3<90 AND REF(高度控盘3,1)>90);



高度控盘7:=EMA(高度控盘3,89);



高度控盘8:=EMA(高度控盘4,89);



高度控盘9:=INTPART(高度控盘4-高度控盘8);



主力控盘:=EMA(高度控盘3,8);



游资控盘:=IF(高度控盘4-REF(高度控盘4,1)>高度控盘3-REF(高度控盘3,1),1,0);



操盘线:MA(C,5),COLORWHITE,LINETHICK1 DOTLINE;



生命线:MA(C,10)LINETHICK1 ;



散户套牢系数:=INTPART(高度控盘3),COLORYELLOW;



主力控盘系数:=INTPART(高度控盘4),COLORCYAN;



资金流入强度:=高度控盘9,LINETHICK2,COLORRED;



市场筹码总量:=INTPART(高度控盘5),COLORWHITE,NODRAW;



轴:=50,COLORGREEN,DOTLINE,LINETHICK1;







DRAWICON(CROSS(主力控盘系数,轴),L,9);



STICKLINE(CROSS(主力控盘系数,轴),OPEN,C,1,0),COLORYELLOW;



DRAWTEXT(CROSS(主力控盘系数,轴),L,'↖高度控盘'),COLORMAGENTA;



{突破游资接力源码如下}

NN1:=10;

M1:=5;



M2:=5;

筹码突破R2:=(C-LLV(LOW,NN1))/(HHV(H,NN1)-LLV(LOW,NN1))*100;



筹码突破R3:=SMA(筹码突破R2,M1,1);



筹码突破R4:=SMA(筹码突破R3,M2,1);



底部进场:=(CROSS(筹码突破R3,筹码突破R4) AND 筹码突破R4<20) OR (筹码突破R4<15 AND 筹码突破R3<11);



近期低点:REF(底部进场,1.5)-底部进场=1,NODRAW,COLORWHITE;



STICKLINE(近期低点,0,25,3,0),LINETHICK4,COLORWHITE;



DRAWTEXT(近期低点,20,'↙近期低点'),COLORWHITE;

A77:=((C - (MA(C,13))) / (MA(C,13))) * -100;



A78:=((C - (LLV(LOW,13))) / ((HHV(H,13)) - (LLV(LOW,13)))) * 100;



A79:=SMA(A78 ,3,2);



A80:=SMA(A79 ,3,2);



A81:=SMA(A80 ,5,1);



抄底黑马:=(((REF(A77,1)) >= 16) AND (((REF(A77,1)) / A77) >= 1.23)) AND (CROSS(A80,A81));



DRAWTEXT(抄底黑马,46,' ★抄底黑马'),COLORWHITE;



STICKLINE((抄底黑马 > 0),0,50,3,0),LINETHICK3,COLORWHITE;

WR1:=100*(HHV(H,21)-C)/(HHV(H,21)-LLV(LOW,21));



WR2:=100*(HHV(H,42)-C)/(HHV(H,42)-LLV(LOW,42));



MACD:=((EMA(C,12)-EMA(C,26))-(EMA((EMA(C,12)-EMA(C,26)),9)))*2;



TYP:=(H+LOW+C)/3 ;



CC:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));



NOSEL:=IF((CROSS(WR1,20) AND CROSS(WR2,20)),0,1);



CCI买点:=CROSS(CC,250) AND CCI>REF(CCI,1) AND MACD>0 AND NOSEL AND C>EMA(C,200);



{DRAWTEXT(CCI买点,25,'CCI买点'),COLORWHITE;



STICKLINE(CCI买点,0,10,3,0),LINETHICK3,COLORWHITE;}



CCI卖点:=((CROSS(WR1,20) AND CROSS(WR2,20)) OR (CROSS(WR1,25) AND CROSS(WR2,25)) OR (CROSS(WR1,10) AND CROSS(WR2,10))) AND ( CROSS(600,CC) OR CROSS(350,CC) OR CROSS(200,CC) OR CROSS(100,CC));



DRAWTEXT(CCI卖点,85,'S'),COLORGREEN;



STICKLINE(CCI卖点,90,100,3,0),LINETHICK3,COLORGREEN;



突破线:=SMA(H,14,2)*1.08 ;



接力涨:FILTER((CCI买点 AND C>突破线) OR (REF(CCI买点,1) AND C>突破线),3),COLORYELLOW;



DRAWTEXT(接力涨,30,' ★接力涨'),COLORYELLOW;



STICKLINE(接力涨,0,40,3,0),LINETHICK3,COLORYELLOW;

N1:=MA(C,41)+MA(C,41)*10/100;



N2:=MA(C,23)+MA(C,23)*5/100;



N3:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;



N4:=C>REF(C,1)*1.05 ;



启动上涨:CROSS(N3,N2) AND N4,COLORMAGENTA;



STICKLINE(启动上涨,0,60,2,0),LINETHICK3,COLORMAGENTA;



DRAWTEXT(启动上涨,56,' ★启动上涨'),COLORMAGENTA;



涨成牛妖:CROSS(N3,N1) AND N4,COLORRED;



STICKLINE(涨成牛妖,0,80,2,0),LINETHICK3,COLORRED;



DRAWTEXT(涨成牛妖,76,' ★ 涨成牛妖'),COLORRED;

A62:=((C - (LLV(LOW,36))) / ((HHV(H,36)) - (LLV(LOW,36)))) * 100;



A63:=SMA(A62,3,1) ;



A64:=SMA(A63,3,1) ;



A65:=SMA(A64,3,1) ;



A67:=CROSS(A65,A64) AND A64>80;



减仓或卖出:IF(FILTER(A67 ,5) = 1,88,100),COLORGREEN;



DRAWTEXT(((FILTER(A67 ,5)) = 1),85,' 减仓或卖出'),COLORGREEN;



未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图