经传平均股价牛熊线指标公式
牛熊点指标
牛熊点指标
牛熊点指标是一种用于分析股票市场的技术指标,通常由一系列数据点和线组成,用于帮助交易者识别股票市场的牛市和熊市趋势,并做出相应的交易决策。
具体来说:
1.在股票市场处于牛市时,该指标通常会呈现上升趋势,交易者
可以考虑买入股票以赚取利润。
2.当股票市场处于熊市时,该指标通常会呈现下降趋势,交易者
可以考虑卖出股票以避免损失。
使用牛熊点指标时,交易者需要注意以下几点:
1.该指标并不能完全预测股票市场的走势,交易者需要结合其他
技术指标和基本面分析做出决策。
2.不同的股票和市场可能会有不同的牛熊点指标,交易者需要根
据具体情况进行调整和优化。
以上信息仅供参考,建议咨询专业金融人士获取更全面准确的信息。
经传超级单指标公式
经传超级单指标公式经传公式指标如下:一.SB战法COUNT(CROSS(智能交易.止损价,CLOSE),2)>0and CROSS(CLOSE,智能交易.止损价)=1;二.流动资金三天翻红KP:=流动资金.活跃度;A1:=REF(KP,1);A2:=REF(KP,2);A3:=REF(KP,3);COUNT(KP>A1,1) and A1>A2 and A2>A3;三.海洋寻底金叉cross(海洋寻底.牛线,海洋寻底.马线);四.捕捞季节强势金叉CROSS(捕捞季节.X2,捕捞季节.X1) AND 捕捞季节.X2>0 AND捕捞季节.X2<=1 AND 捕捞季节.X1>0;五.上升通道CROSS(智能辅助.HHJSJDB,智能辅助.HHJSJDC);LOW>智能辅助.HHJSJDB and 智能辅助.HHJSJDB>智能辅助.HHJSJDC;六.增仓回档 KP:=主力统计.主力统计;A1:=REF(KP,1);A2:=智能辅助.HHJSJDB;A3:=智能辅助.HHJSJDC;COUNT(KP>A1,1) and CLOSE<REF(OPEN,1) and LOW>A3 and CLOSE<(A2*1.06) and 主力创新高.ZL>ref(主力创新高.ZL,1);七.智能辅助线金叉CROSS(智能辅助.HHJSJDB,智能辅助.HHJSJDC);八.主力控盘五日增加 KP:=主力控盘.控盘程度;A1:=REF(KP,1);A2:=REF(KP,2);A3:=REF(KP,3);A4:=REF(KP,4);A5:=REF(KP,5);COUNT(KP>A1,1) and A1>A2 and A2>A3 and A3>A4 and A4>A5;九.主力统计5日加仓VAR1:=SMA(AMOUNT,10,1)/10000;VAR3:=SMA(AMOUNT,10,1)/10000;VAR2:=REF(VAR1,1);COUNT(VAR1>VAR2,1);KP:=主力统计.主力统计;A1:=REF(KP,1);A2:=REF(KP,2);A3:=REF(KP,3);COUNT(KP>A1,1) and A1>A2 and A2>A3 and A3>A4;十.主力追踪向上主力追踪.#选股指标>ref (主力追踪.#选股指标,1);十一.涨停板变色的设置公式如下:STICKLINE((C-REF(C,1))/REF(C,1)>0.095,C,O,10,0),COLORMAGENTA;十二.13天2个涨停板公式如下:ZTTJ:=(C-REF(C,1))*100/REF(C,1)>=9.5; COUNT(ZTTJ,N)>=涨停天数;十三:捕捞季节彩柱WY1001:=(2*CLOSE+HIGH+LOW)/4;WY1002:=EMA(WY1001,4);WY1003:=EMA(WY1002,4);WY1004:=EMA(WY1003,4);XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;STICKLINE(XYS0>=0,XYS0,0,8,0),COLORRED;STICKLINE(XYS0<0,XYS0,0,8,0),COLORGREEN;PJGJ:=AMOUNT/VOL/100;SSRYDJX:=MA(PJGJ,13);SSRCJL:=EMA(VOL,13);SSRCJE:=EMA(AMOUNT,13);SSRCBJX:=SSRCJE/SSRCJL/100;CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;XYSHSL:=EMA(VOL/CAPITAL*100,13);ZZX:0,COLORWHITE;STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,8 ,0 ),COLORGREEN;STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,8 ,0 ),COLORYELLOW; STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,8 ,0 ),COLORCYAN; STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,8 ,0 ),COLORBLUE;EMA(VOL/CAPITAL*100,13)>1.8 and (CLOSE_SSRCBJX)/SSRCBJX*100>5.。
牛熊超准选股公式指标
牛熊超准选股公式指标全文共四篇示例,供读者参考第一篇示例:牛熊超准选股公式指标是一种量化选股方法,通过运用数学模型和统计分析技术来挖掘股市的投资机会。
该指标的主要目的是预测股票价格的涨跌趋势,帮助投资者及时把握市场行情,获取更高的收益率。
我们需要了解什么是牛市和熊市。
牛市是指整体市场处于上涨趋势,投资者以买入为主导操作方式,股价不断上涨,市场氛围乐观;而熊市则相反,市场处于下跌趋势,投资者以卖出为主导操作方式,股价不断下跌,市场氛围悲观。
在牛熊超准选股公式指标中,我们可以利用以下几个关键指标来判断市场的行情并进行选股:1. 相对强弱指标(RSI):RSI是一种在0到100之间波动的指标,用来衡量股票价格在一定时期内的涨跌幅度和强度。
一般来说,当RSI 值大于70时,说明市场处于超买状态,行情可能会调整;当RSI值小于30时,说明市场处于超卖状态,可能会出现反弹。
投资者可以根据RSI指标来判断市场的超买超卖情况,并根据趋势来调整自己的投资策略。
2. 换手率:换手率是指某只股票在一定时间内成交量与流通股总数的比率。
高换手率通常表示市场交易活跃,投资者对该股票的信心较高;低换手率则可能表示市场交易较为冷清,投资者对该股票的兴趣较低。
通过观察换手率,我们可以了解市场的热度以及投资者对该股票的情绪,从而做出更准确的投资决策。
3. 均线系统:均线系统是一种通过计算股票价格的不同平均值来判断市场走势的技术分析方法。
常见的均线包括5日均线、10日均线、20日均线等。
当股价上穿均线时,说明市场处于上涨趋势;当股价下穿均线时,说明市场可能会走低。
投资者可以根据均线系统来判断市场的短期和长期趋势,并做出相应的操作。
4. MACD指标:MACD指标是一种趋势跟踪指标,通过短期和长期指数的差值来判断市场的走势。
当MACD指标上升时,说明市场处于上涨趋势;当MACD指标下降时,说明市场可能会下跌。
投资者可以通过MACD指标来判断市场的动量和趋势,并据此做出投资决策。
牛熊变线通达信指标公式源码
M60:=MA(C,60);M120:=MA(C,120);DRAWBAND(M60,RGB(90,0,0),M120,RGB(0,90,0));{牛熊变线}变线:=EMA(MA(CLOSE,30),5),LINETHICK0;{20 或30 或35}STICKLINE(C>=变线AND C>=O,H,L,0,0),COLORRED;STICKLINE(C>=变线AND C>=O,C,O,2.7,1),COLORRED;STICKLINE(C>变线AND C<=O,H,L,0,1),COLORCYAN;STICKLINE(C>变线AND C<=O,C,O,3,0),COLORCYAN;STICKLINE(C<变线AND C<=O,H,L,0,1),COLORCYAN;STICKLINE(C<变线AND C<=O,C,O,3,0),COLORCYAN;STICKLINE(C<变线AND C<=O,H,L,0,1),COLORGRAY;STICKLINE(C<变线AND C>O,H,L,0,1),COLORGRAY;STICKLINE(C<变线AND C>O,C,O,3,1),COLORGRAY;STICKLINE(C<变线AND C<=O,C,O,3,1),COLORGRAY;{分水岭操作线}PM:MA(C,5),COLORGRAY,LINETHICK1;{可用13}IF(PM<REF(PM,1),PM,DRAWNULL),COLORGRAY,LINETHICK0;IF(PM>=REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;A:=MA(CLOSE,12)+ABS(MA(CLOSE,12)-REF(MA(CLOSE,12),1));{原公式为17,最终确定为12}B:=MA(CLOSE,12)+MA(CLOSE,12)-REF(MA(CLOSE,12),1);分水岭:=IF(MA(CLOSE,12)<B,B,MA(CLOSE,12));操作线:=分水岭-(EMA(C,3)-分水岭);AA:=CROSS(分水岭,操作线);STICKLINE(AA,C,O,3,0),COLOR0000AA;STICKLINE(AA,C,O,2,0),COLOR0033CC;STICKLINE(AA,C,O,1,0),COLOR0055EE;STICKLINE(AA,C,O,0.3,0),COLOR0099FF;STICKLINE(AA,H,L,0,1),COLOR0099FF;RR:=CROSS((MA(VOL,5)),(MA(VOL,10))) AND MA(C,2)>=MA(C,4); {ANDVOL>=REF(VOL,1)}STICKLINE(RR,C,O,3,0),COLOR0000AA;STICKLINE(RR,C,O,2,0),COLOR0033CC;STICKLINE(RR,C,O,1,0),COLOR0055EE;STICKLINE(RR,C,O,0.3,0),COLOR0099EE;STICKLINE(RR,H,L,0,1),COLOR0099FF;MAA5:MA(CLOSE,5),NODRAW;{MAA10:MA(CLOSE,10),COLORCC66FF;MAA20:MA(CLOSE,20),COLORFFCC66;}MA60:MA(CLOSE,60),COLOR00FF99,LINETHICK2;MA120:MA(C,120),COLORGRAY;DRAWTEXT(CROSS(MA60,MA120),MA60,'牛'),COLORYELLOW,LINETHICK4; DRAWTEXT(CROSS(MA120,MA60),MA60,'熊'),COLORWHITE,LINETHICK2;N1:=3;N2:=6;N3:=12;N4:=24;BBI:(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4,COLORMAGENT A,LINETHICK2;BB:=BBI<REF(BBI,1);IF(BB,BBI,DRAWNULL)COLORGREEN,LINETHICK2;DRAWTEXT("KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043AND EXPMA(C,12)>EXPMA(C,50),L*0.95,'起爆'),COLORRED;星板:=ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03&&CLOSE/OPEN>1.03&&CLOSE>REF(CLOSE,2) AND C/REF(C,1)>1.071;DRAWTEXT(星板,L*0.950,'主升'),COLORMAGENTA;DRAWICON(星板,L*0.97,1);A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A4:=SMA(A3,3,1);A5:=SMA(A4,3,1);A6:=3*A4-2*A5;A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);买K:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)); DRAWTEXT(FILTER(买K=1,5),LOW-0.05,'↖买进'),COLORYELLOW;STICKLINE(买K,OPEN,CLOSE,2,0),COLORYELLOW;流通市值:C*FINANCE(7)/100000000,COLORYELLOW,NODRAW;DRAWTEXT_FIX(ISLASTBAR,0.005,0.005,0,FGBLOCK),COLORWHITE;DRAWTEXT_FIX(ISLASTBAR,0.005,0.1,0,HYBLOCK),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.005,0.2,0,DYBLOCK),COLORWHITE;DRAWTEXT_FIX(ISLASTBAR,0.005,0.3,0,GNBLOCK),COLORWHITE;DIF:=EMA(CLOSE,8)-EMA(CLOSE,13);DEA:=EMA(DIF,6);MACD:=2*(DIF-DEA);金叉:=CROSS(DIF,DEA); 死叉:=CROSS(DEA,DIF);DIF下拐:=REF(DIF,3)<REF(DIF,2)AND REF(DIF,2)<REF(DIF,1)ANDREF(DIF,1)>DIF=REF(DIF,1);MACD下拐:=REF(DIF,3)<REF(DIF,2)AND REF(MACD,2)<REF(MACD,1)ANDREF(MACD,1)>MACD=REF(MACD,1);下拐:=MAX(DIF下拐,MACD下拐);GD1:=EVERY(DIF>REF(DIF,1),BARSLASTCOUNT(DIF>DEA))AND DIF>DEA;GD2:=EVERY(MACD>REF(MACD,1),BARSLASTCOUNT(DIF>DEA))AND DIF>DEA; GD:=MAX(GD1,GD2);高点1:=REF(MAX(C,O),BARSLAST(GD1)+1);高点2:=REF(MAX(C,O),BARSLAST(GD2)+1);高点:=IF(高点2>=高点1,高点2,高点1);AA1:=HHV(IF(C>O,C,MAX(C,O)),BARSLASTCOUNT(高点)+1)=HHV(IF(C>O,C,MAX(C,O)),BARSLASTCOUNT(BBI>REF(BBI,1)AND C>BBI));压力:DRAWLINE(BARSLAST(AA1)=0,IF(C>O,C,MAX(C,O)),BARSNEXT(AA1),REF(IF(C>O,C, MAX(C,O)),BARSLAST(AA1)),1),DOTLINE,COLORYELLOW;。
公式指标:牛熊操盘线---主图
公式指标:牛熊操盘线---主图指标转自(超然博客),指标只是看盘工具,想在股市赚钱,要综合:实战经验、投资理念、良好的心态......动力线:MA(C,5),LINETHICK3,COLOR00CCFF;牛熊线:MA(C,13),CIRCLEDOT,COLORYELLOW;生命线:MA(C,34),CIRCLEDOT,COLORMAGENTA;MA05:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);五日乖离率:=(C-MA05)/MA05*100;BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED;BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;IF(BB05<0 AND MA05<REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORGREEN;三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) AND MA30<REF(MA30,1);BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 ANDMA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05<REF(MA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10<REF(MA10,1),10);DRAWTEXT(加仓 ,LO W*0.98,'◆加二'),COLORYELLOW;JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10>REF(MA10,1) ;减仓:=FILTER(JC,10);MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30;买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.02,'◆风险'),COLORCYAN;DRAWTEXT(买入,LOW*0.96,'◆买二'),COLORYELLOW;DRAWTEXT(清仓,HIGH*1.00,'◆清仓'),COLORGREEN;VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;{彩色K线}TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);TYX4:=MA((C+L+O+H)/4,13);TYX5:=EMA((C+L+O+H)/4,21);{空心红}STICKLINE(C<TYX5 AND C>O,H,L,0,0),COLORRED;STICKLINE(C<TYX5 AND C>O,C,O,3,1),COLORRED;{深绿}STICKLINE(C<TYX5 AND C<O,H,L,0,0),COLOR007700; STICKLINE(C<TYX5 AND C<O,C,O,3,0),COLOR005500; STICKLINE(C<TYX5 AND C<O,C,O,2,0),COLOR006600; STICKLINE(C<TYX5 AND C<O,C,O,1,0),COLOR007700; {蓝}STICKLINE(C>TYX5 AND C<O,H,L,0,0),COLORFFDD44; STICKLINE(C>TYX5 AND C<O,C,O,3,0 ),COLORFF7700; STICKLINE(C>TYX5 AND C<O,C,O,2,0 ),COLORFFAA22; STICKLINE(C>TYX5 AND C<O,C,O,1 ,0 ),COLORFFDD44; {黄}STICKLINE(C>TYX5 AND C>O,H,L,0,0 ),COLOR00EEFF; STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00AAFF; STICKLINE(C>TYX5 AND C>O,C,O,2,0 ),COLOR00CCFF; STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00EEFF; {粉红}STICKLINE(C>TYX4 AND C>O,H,L,0,0),COLORFF66AA; STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF11FF; STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF44FF; STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF66FF; {亮灰}STICKLINE(C>TYX4 AND C<O,H,L,0,0),COLOR999999; STICKLINE(C>TYX4 AND C<O,C,O,3,0),COLOR555555; STICKLINE(C>TYX4 AND C<O,C,O,2,0),COLOR777777; STICKLINE(C>TYX4 AND C<O,C,O,1,0),COLOR999999; {深红}STICKLINE(C>TYX3 AND C>O,H,L,0,0),COLOR0000DD; STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR000099; STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000BB; STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000DD;{涨跌停K线}STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (CLOSE/REF(CLOSE,1))>1.048,HIGH,LOW,3,0) ,COLORRED;STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (REF(CLOSE,1)/CLOSE)>1.048,HIGH,LOW,3,0) ,COLOR00FF00;{突破}STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O,C,O,1,0),COLOR00CCFF;{买卖主图}MA18:=MA(CLOSE,18);MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));DRAWTEXT(FILTER(买=1,5),LOW,'★买一'),COLORRED;加1:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18);DRAWTEXT(加1,LOW*0.99,'★加一'),COLORCC66FF;卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);DRAWTEXT(FILTER(卖一=1,1),HIGH*1.01,'★卖一'),COLORGREEN;{牛熊通吃}AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,LOW*0.99,'老鼠仓'),COLOR4080FF;{预测明天}XXS:=MA(LOW,5)*(1-5/100);XXS1:=MA(HIGH,5)*(1+5/100);均线:=C,COLORGREEN;AAAA:=CLOSE/REF(CLOSE,3)<=0.85 AND CROSS(C,XXS) AND C>REF(C,1),LINETHICK0 ;DRAWTEXT(AAAA,L*0.95,'下影买'),COLORRED;BBAA:=CROSS(XXS1,C);DRAWTEXT(CROSS(XXS1,C),H,'开盘逃'),COLORWHITE;DDDD:=CROSS(C,XXS1);DRAWTEXT(DDDD,H,'明日走'),COLORYELLOW;{兄弟指标}AAA:=MA(LOW,5)*(1-5/100);BBB:=(HHV(AAA,5)+LLV(AAA,5))/2;DRAWTEXT(CROSS(BBB,L) AND BBB>REF(BBB,1),L*0.98,'←兄弟回马枪'),COLORWHITE;{天河指标}DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);DRAWTEXT(REF(CROSS(DEA,DIF),1) AND CROSS(DIF,DEA),L*0.97,'←天河回马抢'),COLORMAGENTA;{见好就收}VSR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;。
判大势的“牛熊时段”通达信指标公式源码
判大势的“牛熊时段”思路是K线叠加。
通过颜色的变化体现大趋势的强弱度。
源码:MA120:=MA(C,120);MA250:=MA(C,250);STICKLINE(C>=O,H,L,0,1),COLORCYAN;STICKLINE(C>=O,C,O,3,1),COLORCYAN;STICKLINE(C<O,H,L,0,0 ),COLORCYAN;STICKLINE(C<O,C,O,3,0 ),COLORCYAN;STICKLINE(C>MA120 AND C>O,H,C,0,0 ),COLORRED;STICKLINE(C>MA120 AND C>O,L,O,0,0 ),COLORRED;STICKLINE(C>MA120 AND C>O,O,C,3,1),COLORRED;STICKLINE(C>MA120 AND C<=O,H,L,0,0 ),COLORRED;STICKLINE(C>MA120 AND C<=O,O,C,3,0),COLORRED;STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,H,C,0,0),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,L,0,0),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,C,3,1),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,H,L,0,0),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,O,C,3,0),COLORRED; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN; STICKLINE(MA120>MA250 AND C>MA120 AND C>O,H,C,0,0),COLORRED; STICKLINE(MA120>MA250 AND C>MA120 AND C>O,O,L,0,0),COLORRED; STICKLINE(MA120>MA250 AND C>MA120 AND C>O,O,C,3,1),COLORRED; STICKLINE(MA120>MA250 AND C>MA120 AND C<=O,H,L,0,0),COLORRED; STICKLINE(MA120>MA250 AND C>MA120 AND C<=O,O,C,3,0),COLORRED; STICKLINE(MA120>MA250 AND C<MA120 AND C>O,H,C,0,0),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,L,0,0),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,C,3,1),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,H,L,0,0),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,O,C,3,0),COLORGREEN; STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC>O,H,C,0,0),COLORCYAN;STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC>O,O,L,0,0),COLORCYAN;STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC>O,O,C,3,1),COLORCYAN;STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC<=O,H,L,0,0),COLORCYAN;STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC<=O,O,C,3,0),COLORCYAN;STICKLINE(C<MA250 AND C>O,H,C,0,0),COLORBLUE;STICKLINE(C<MA250 AND C>O,O,L,0,0),COLORBLUE;STICKLINE(C<MA250 AND C>O,O,C,3,1),COLORBLUE;STICKLINE(C<MA250 AND C<=O,H,L,0,0),COLORBLUE;STICKLINE(C<MA250 AND C<=O,O,C,3,0),COLORBLUE;STICKLINE(C>MA120 AND MA120<MA250 AND C>O,H,C,0,0),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,L,0,0),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,C,3,1),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,H,L,0,0),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,O,C,3,0),COLORYELLOW;。
牛熊时空转换指标 -回复
牛熊时空转换指标-回复什么是牛熊时空转换指标?如何计算和使用这个指标?本文将为您一步一步解答这些问题。
首先,让我们来了解"牛熊时空转换指标"的含义。
牛熊市是金融市场中常用的两个术语,指的是市场的上涨和下跌趋势。
而时空转换指标则是指用于判断牛熊市转换的技术指标。
本指标通过计算过去一段时间内市场的变化情况,来预测未来市场的趋势转换。
接下来,我们将详细介绍如何计算牛熊时空转换指标。
首先,需要选择一个时间窗口,例如过去20个交易日。
然后计算每个交易日的收盘价与开盘价的差值,即收盘价减去开盘价。
将这些差值进行累加,并除以时间窗口的总交易日数,得到平均差值。
最后,将平均差值与零线进行比较,如果大于零线,则为牛市,如果小于零线,则为熊市。
现在,我们来看一个具体的例子来帮助理解。
假设某股票过去20个交易日的收盘价和开盘价如下:日期开盘价收盘价收盘价-开盘价- - -第1天100 110 10第2天110 120 10第3天120 130 10...第20天180 190 10按照上述计算方法,我们可以得到收盘价-开盘价的平均值为10,因为所有交易日的差值都是10。
由于平均差值为正数,大于零线,因此可以判断当前市场处于牛市状态。
牛熊时空转换指标的计算需要注意以下几点。
首先,选择合适的时间窗口非常重要,它会影响指标的准确性。
一般来说,较短的时间窗口可以更敏感地捕捉市场的短期转折,而较长的时间窗口则能更准确地判断市场的长期趋势。
其次,计算指标时需要选择合适的价格数据,如开盘价、收盘价或当日最高价、最低价。
不同的价格数据会影响到指标的计算结果。
计算出牛熊时空转换指标后,我们可以用来指导投资决策。
当指标显示市场处于牛市状态时,投资者可以倾向于买入股票或其他资产,以追求更高的收益。
而当指标显示市场处于熊市状态时,投资者可以倾向于卖出股票或其他资产,或者持有现金来规避风险。
然而,需要强调的是,牛熊时空转换指标并非是绝对准确的预测工具,它只是一种辅助分析的手段。
经传指标公式及使用说明解析
经传指标公式及使用说明解析经传指标公式XXX提供了一套完整的指标公式组,包括分时买卖、水手突破、主力追踪、捕捞季节、海洋寻底、海洋追涨、智能辅助1和智能辅助2.这些指标的总价值超过1万多元。
下面介绍其中的一个指标——水手突破。
该指标包括上趋势、次上趋势、次下趋势和下趋势等四个部分。
指标的计算公式如下:上趋势:MA(LOW,20)*1.2,color0080ff,hick2;次上趋势:MA(LOW,20)*1.1,COLORYELLOW;次下趋势:MA(HIGH,20)*0.9,COLORWHITE;下趋势:MA(HIGH,20)*0.8,COLORGREEN,hick2;ZD:=(C-REF(C,1))/REF(C,1)*100;HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势AND C<次上趋势,2,IF(C<下趋势,0,1)));STICKLINE(趋势强度=0,H,L,6,1),COLORBLUE;STICKLINE(趋势强度=1,H,L,6,1),COLORGREEN;STICKLINE(趋势强度=2,H,L,6,1),COLORGRAY;STICKLINE(趋势强度=3,H,L,6,1),COLORYELLOW;STICKLINE(趋势强度=4,H,L,6,1),COLORMAGENTA;STICKLINE(趋势强度=0,C,O,5,0),COLORBLUE;STICKLINE(趋势强度=1,C,O,5,0),COLORGREEN;STICKLINE(趋势强度=2,C,O,5,0),COLORGRAY;STICKLINE(趋势强度=3,C,O,5,0),COLORYELLOW;STICKLINE(趋势强度=4,C,O,5,0),COLORMAGENTA;此外,还有另一个指标——智能辅助线1.该指标在主图上,计算公式如下:MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;以上就是XXX提供的部分指标公式,希望对投资者有所帮助。
通达信牛熊线买卖点主图指标公式
通达信牛熊线买卖点主图指标公式动力线:MA(C,5),LINETHICK3,COLOR00CCFF;牛熊线:MA(C,13),CIRCLEDOT,COLORYELLOW;生命线:MA(C,34),CIRCLEDOT,COLORMAGENTA;MA05:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);五日乖离率:=(C-MA05)/MA05*100;BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED;BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;IF(BB05<0 AND MA05<REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORGREEN;三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) AND MA30<REF(MA30,1);BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05<REF(MA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10<REF(MA10,1),10);DRAWTEXT(加仓,LOW*0.98,'◆加二'),COLORYELLOW;JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10>REF(MA10,1) ;减仓:=FILTER(JC,10);MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30;买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.02,'◆风险'),COLORCYAN;DRAWTEXT(买入,LOW*0.96,'◆买二'),COLORYELLOW;DRAWTEXT(清仓,HIGH*1.00,'◆清仓'),COLORGREEN;VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;{彩色K线}TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);TYX4:=MA((C+L+O+H)/4,13);TYX5:=EMA((C+L+O+H)/4,21);{空心红}STICKLINE(C<TYX5 AND C>O,H,L,0,0),COLORRED;STICKLINE(C<TYX5 AND C>O,C,O,3,1),COLORRED;{深绿}STICKLINE(C<TYX5 AND C<O,H,L,0,0),COLOR007700;STICKLINE(C<TYX5 AND C<O,C,O,3,0),COLOR005500; STICKLINE(C<TYX5 AND C<O,C,O,2,0),COLOR006600; STICKLINE(C<TYX5 AND C<O,C,O,1,0),COLOR007700; {蓝}STICKLINE(C>TYX5 AND C<O,H,L,0,0),COLORFFDD44; STICKLINE(C>TYX5 AND C<O,C,O,3,0 ),COLORFF7700; STICKLINE(C>TYX5 AND C<O,C,O,2,0 ),COLORFFAA22; STICKLINE(C>TYX5 AND C<O,C,O,1 ,0 ),COLORFFDD44; {黄}STICKLINE(C>TYX5 AND C>O,H,L,0,0 ),COLOR00EEFF; STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00AAFF; STICKLINE(C>TYX5 AND C>O,C,O,2,0 ),COLOR00CCFF; STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00EEFF;{粉红}STICKLINE(C>TYX4 AND C>O,H,L,0,0),COLORFF66AA; STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF11FF; STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF44FF; STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF66FF;{亮灰}STICKLINE(C>TYX4 AND C<O,H,L,0,0),COLOR999999; STICKLINE(C>TYX4 AND C<O,C,O,3,0),COLOR555555; STICKLINE(C>TYX4 AND C<O,C,O,2,0),COLOR777777; STICKLINE(C>TYX4 AND C<O,C,O,1,0),COLOR999999;{深红}STICKLINE(C>TYX3 AND C>O,H,L,0,0),COLOR0000DD; STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR000099; STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000BB; STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000DD;{涨跌停K线}STICKLINE(HIGH=LOW AND CLOSE=OPEN AND(CLOSE/REF(CLOSE,1))>1.048,HIGH,LOW,3,0) ,COLORRED;STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (REF(CLOSE,1)/CLOSE)>1.048,HIGH,LOW,3,0) ,COLOR00FF00;{突破}STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O,C,O,1,0),COLOR00CCFF;{买卖主图}MA18:=MA(CLOSE,18);MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));DRAWTEXT(FILTER(买=1,5),LOW,'★买一'),COLORRED;加1:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18);DRAWTEXT(加1,LOW*0.99,'★加一'),COLORCC66FF;卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);DRAWTEXT(FILTER(卖一=1,1),HIGH*1.01,'★卖一'),COLORGREEN;{牛熊通吃}AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,LOW*0.99,'老鼠仓'),COLOR4080FF;{预测明天}XXS:=MA(LOW,5)*(1-5/100);XXS1:=MA(HIGH,5)*(1+5/100);均线:=C,COLORGREEN;AAAA:=CLOSE/REF(CLOSE,3)<=0.85 AND CROSS(C,XXS) AND C>REF(C,1),LINETHICK0 ;DRAWTEXT(AAAA,L*0.95,'下影买'),COLORRED;BBAA:=CROSS(XXS1,C);DRAWTEXT(CROSS(XXS1,C),H,'开盘逃'),COLORWHITE;DDDD:=CROSS(C,XXS1);DRAWTEXT(DDDD,H,'明日走'),COLORYELLOW;{兄弟指标}AAA:=MA(LOW,5)*(1-5/100);BBB:=(HHV(AAA,5)+LLV(AAA,5))/2;DRAWTEXT(CROSS(BBB,L) AND BBB>REF(BBB,1),L*0.98,'←兄弟回马枪'),COLORWHITE;{天河指标}DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);DRAWTEXT(REF(CROSS(DEA,DIF),1) AND CROSS(DIF,DEA),L*0.97,'←天河回马抢'),COLORMAGENTA;{见好就收}VSR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VSR3:=SMA(VSR2,4,1);VSR4:=SMA(VSR3,2,1);DRAWTEXT(VSR4>82 AND VSR3>89,HHV(C,30)*1.02,'收'),COLORGREEN;。
经传软件指标公式
经传软件指标公式捕捞季节公式WY1001:=(2*CLOSE+HIGH+LOW)/4;WY1002:=EMA(WY1001,2);WY1003:=EMA(WY1002,2);WY1004:=EMA(WY1003,2);XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;STICKLINE(XYS0>=0,XYS0,0,2,0),COLORRED;STICKLINE(XYS0<0,XYS0,0,2,0),COLORGREEN;PJGJ:=AMOUNT/VOL/100;SSRYDJX:=MA(PJGJ,13);SSRCJL:=EMA(VOL,13);SSRCJE:=EMA(AMOUNT,13);SSRCBJX:=SSRCJE/SSRCJL/100;CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;XYSHSL:=EMA(VOL/CAPITAL*100,13);ZZX:0,COLORWHITE;STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2,0 ),COLORGREEN; STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW; STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2,0 ),COLORCYAN; STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2,0 ),COLORBLUE;XYS1:EMA(XYS0,1);XYS2:EMA(XYS0,2);水手突破指标上趋势:MA(LOW,20)*1.2,COLORMAGENTA,CROSSDOT;次上趋势:MA(LOW,20)*1.1,COLORYELLOW;次下趋势:MA(HIGH,20)*0.9,COLORWHITE;下趋势:MA(HIGH,20)*0.8,COLORGREEN,CROSSDOT;ZD:=(C-REF(C,1))/REF(C,1)*100;HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势AND C<次上趋势,2,IF(C<下趋势,0,1)));STICKLINE(趋势强度=0,H,L,3,1),COLORBLUE;STICKLINE(趋势强度=1,H,L,3,1),COLORGREEN;STICKLINE(趋势强度=2,H,L,3,1),COLORGRAY;STICKLINE(趋势强度=3,H,L,3,1),COLORYELLOW;STICKLINE(趋势强度=4,H,L,3,1),COLORMAGENTA;STICKLINE(趋势强度=0,C,O,2,0),COLORBLUE;STICKLINE(趋势强度=1,C,O,2,0),COLORGREEN;STICKLINE(趋势强度=2,C,O,2,0),COLORGRAY;STICKLINE(趋势强度=3,C,O,2,0),COLORYELLOW;STICKLINE(趋势强度=4,C,O,2,0),COLORMAGENTA;智能辅助线HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;HHJSJDB:(20*HHJsjda+19*REF(HHJsjda,1)+18*REF(HHJsjda,2)+17*REF(HHJsjda,3)+16*RE F(HHJsjda,4)+15*REF(HHJsjda,5)+14*REF(HHJsjda,6)+13*REF(HHJsjda,7)+12*REF(HHJsjda,8)+11*REF(HHJsjda,9)+10*REF(HHJsjda,10)+9*REF( HHJsjda,11)+8*REF(HHJsjda,12)+7*REF(HHJsjda,13)+6*REF(HHJsjda,14)+5*REF(HHJsjda,15)+4*REF(HHJsjda,16)+3*REF(H HJsjda,17)+2*REF(HHJsjda,18)+REF(HHJsjda,20))/210,coloryellow;HHJSJDC:MA(HHJSJDB,5),colorred;流动资金公式:V AR1:=SMA(AMOUNT/10,10,1)/10000; V AR2:=REF(V AR1,1); V AR3:=SMA(AMOUNT/10,10,1)/10000; 资金运转: STICKLINE(V AR1>V AR2,V AR1,V AR2,8,0),COLORRED; 资金流失: STICKLINE(V AR1< V AR2,V AR1,V AR2,8,0),COLORGREEN;经传软件主力追踪MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;主力:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF( MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID, 10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+ 4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;。
【股票指标公式下载】-【大智慧】牛熊力度(突破线、均线流、差幅、偏离率)
【大智慧】牛熊力度(突破线、均线流、差幅、偏离率)-指标公式源码input:LONG(26,1,100),SHORT(12,1,100),M(9,1,100),p1(19,1,100),p2(120,1 ,250);DIF:EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);DEA:=EMA(DIF,M);MACD:=2*(DIF-DEA);MACD2:2*(DEA-DIF),COLORFF89B2,DOTLINE;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);MA65:=MA(CLOSE,65);MA250:=MA(CLOSE,250);突破线:=MIN(MA60*1.1,MA250*1.3);差幅:=C/MIN(MA60*1.1,MA250*1.3)-1;均线流:=(MA5>MA65 AND MA10>MA65 AND MA30>MA65 AND MA5<MA30)*0.3;PL1:=(CLOSE - MA60) / MA60 < 0.1;PL2:=(CLOSE - MA250) / MA250 < 0.3;偏离率:(PL1 = 1 AND PL2 = 1) * 0.2,STICK,COLORFF00FF,LINETHICK2; MACD超跌:=COUNT((DIF<DEA),10)=10;MACD1:MACD超跌 *"MACD.MACD"(LONG,SHORT,M)*(-1),COLOR009900,LINETHICK2;目标:IF(均线流=0.3 AND MACD超跌 AND 偏离率=0.2 ,0.8,0),COLOR7070FF,LINETHICK2;MBSJ:=BARSLAST(目标 = 0.8);放量上涨:=V/REF(V,1) >= 1.1 AND C/REF(C,1) >= 1.01;SZSJ:=BARSLAST(放量上涨 = 1);MACD雄起:=CROSS(DIF,DEA);JCSJ:=BARSLAST(MACD雄起 = 1);关注:(MACD雄起 AND REF(MACD1,1) < 0)*-0.1,COLOR00FF00;启动:(MBSJ <= 20 AND SZSJ <= 1 AND JCSJ <= 1) * 1,COLORFFFF00,LINETHICK2; 突破:(偏离率 = 0 AND REF(COUNT(偏离率 = 0.2,10) = 10,1) = 1) *-0.1,COLORRED;STICKLINE(偏离率 = 0.2,0,0.2,1,0),colorFF00FF;DRAWTEXT(关注=-0.1,-0.01,'关●注'),color00ff00;DRAWTEXT(启动,0.8,'★买'),colorFFFF00;DRAWTEXT(突破=-0.1,-0.01,'突●破'),colorred;N15HIGH:=REF(HIGH,15);N1LOW:=REF(LOW,1);FF:=(((N15HIGH - N1LOW) / N1LOW) > 0.15);DRAWICON((((((CROSS(MA(CLOSE,P1),MA(CLOSE,P2)) > 0) AND (((N15HIGH - N1LOW) / N1LOW) < 0.15)) AND (OPEN >= MA(CLOSE,P1))) AND (CLOSE >= MA(CLOSE,P1))) AND (LOW <= MA(CLOSE,P1))),0.5,1);DRAWTEXT((((((CROSS(MA(CLOSE,P1),MA(CLOSE,P2)) > 0) AND (((N15HIGH - N1LOW) / N1LOW) < 0.15)) AND (OPEN >= MA(CLOSE,P1))) AND (CLOSE >= MA(CLOSE,P1))) AND (LOW <= MA(CLOSE,P1))),0.5,'★^回头望月'),color0099CC;JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));if(dif<0,dif,0),coloryellow,linethick2;if(dif<0,0,dif),colorred,linethick2;if(dif<dea,dif,dea),COLORWHITE,linethick2;if(dif>dea,dea,dea),COLORFF9933{colorff00ff},linethick2;操盘:STICKLINE(MACD>=0 ANDMACD>=REF(MACD,1),0,MACD,4,1),COLORRED{COLOR6058FF};减仓:STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,4,0),COLORblue{COLOR6058FF};反弹:STICKLINE(MACD<0 ANDMACD>=REF(MACD,1),0,MACD,4,1),COLORYELLOW{COLORFFFF00};寻底:STICKLINE(MACD<0 AND MACD< REF(MACD,1),0,MACD,4,0),COLORFFFF00; 空仓:0,COLORWHITE;【大智慧】牛熊力度(突破线、均线流、差幅、偏离率)-指标公式效果图(文档来源:若水财经社区)。
飞狐指标——牛熊指标(副图)
飞狐指标——牛熊指标(副图)h0:=v/capital;h1:=V/700000000;h2:=IF(h0=0,h1,h0);M5:=1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1);M6:=2.5*MAX(H2,M5);DK:=DMA(C,M6);QR:=SMA(20*(DK/REF(DK,1)-1),2,1);QR1:=EMA(QR,2);x0:=0.06;x1:=0.24;c4:=c>=ref(c,1);c5:=c<=ref(c,1);牛:if(qr>x0 and QR1>=0.005 AND c4,1,0),stick,LINETHICK4,COLOR0077bb;疯牛:if(qr>x1 and QR1>=0.005 AND c4,1,0),stick,LINETHICK4,COLOR44bbff;熊:if(qr<-1*x0 and QR1<=-0.005 AND c5,-1,0),stick,LINETHICK4,COLORbbbb99;疯熊:if(qr<-1*x1 and QR1<=-0.005 AND c5,-1,0),stick,LINETHICK4,COLORffffdd;STICKLINE(qr1>=0.003,-0.05,0.05,10,0),COLOR00EE00;STICKLINE(BETWEEN(qr1,0.003,-0.003),-0.05,0.05,10,0),COLOR00EEEE;STICKLINE(qr1<=-0.003,-0.05,0.05,10,0),COLOR0000EE;DRAWTEXT(CROSS(疯牛,0.5) AND COUNT(疯牛>0.5,10)=1,-0.4,'疯牛'),COLOR44bbff;DRAWTEXT(CROSS(-0.5,疯熊) AND COUNT(疯熊<-0.5,10)=1,0.4,'疯熊'),COLORffffdd;H0赋值:成交量(手)/当前流通股本(手)H1赋值:成交量(手)/700000000H2赋值:如果H0=0,返回H1,否则返回H0M5赋值:1.1*(最高价和昨收的较大值/最低价和昨收的较小值-1) M6赋值:2.5*H2和M5的较大值DK赋值:以M6为权重收盘价的动态移动平均QR赋值:20*(DK/昨日DK-1)的2日[1日权重]移动平均QR1赋值:QR的2日指数移动平均X0赋值:0.06X1赋值:0.24C4赋值:收盘价>=昨收C5赋值:收盘价<=昨收输出牛:如果QR>X0ANDQR1>=0.005ANDC4,返回1,否则返回0,STICK,线宽为4,COLOR0077BB输出疯牛:如果QR>X1ANDQR1>=0.005ANDC4,返回1,否则返回0,STICK,线宽为4,COLOR44BBFF输出熊:如果QR<-1*X0ANDQR1<=-0.005ANDC5,返回-1,否则返回0,STICK,线宽为4,COLORBBBB99输出疯熊:如果QR<-1*X1ANDQR1<=-0.005ANDC5,返回-1,否则返回0,STICK,线宽为4,COLORFFFFDD当满足条件QR1>=0.003时,在-0.05和0.05位置之间画柱状线,宽度为10,0不为0则画空心柱.,COLOR00EE00当满足条件QR1位于0.003和-0.003之间时,在-0.05和0.05位置之间画柱状线,宽度为10,0不为0则画空心柱.,COLOR00EEEE 当满足条件QR1<=-0.003时,在-0.05和0.05位置之间画柱状线,宽度为10,0不为0则画空心柱.,COLOR0000EE当满足条件疯牛上穿0.5ANDCOUNT(疯牛>0.5,10)=1时,在-0.4位置书写文字,COLOR44BBFF当满足条件-0.5上穿疯熊ANDCOUNT(疯熊<-0.5,10)=1时,在0.4位置书写文字,COLORFFFFDD。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
经传平均股价牛熊线指标公式
经传平均股价牛熊线指标的计算公式如下:
1. 计算经传平均股价
经传平均股价 = (最高价 + 最低价 + 收盘价) / 3
2. 计算经传平均股价的5日平均值
经传平均股价的5日平均值 = (今日经传平均股价 + 前4日经传平均股价) / 5
3. 计算牛熊线
牛熊线 = 今日经传平均股价的5日平均值 - 昨日经传平均股价的5日平均值
4. 计算牛熊线的5日平均值
牛熊线的5日平均值 = (今日牛熊线 + 前4日牛熊线) / 5
注:其中,最高价为当日最高价,最低价为当日最低价,收盘价为当日收盘价。