股票怎么配资 精品量化公式——“操盘线”,超好用的辅助看盘指标
发布日期:2024-11-22 13:08 点击次数:112
不多说股票怎么配资,直接上效果如图:
全国范围内的股票配资机会包括但不限于以下几种形式:
► 日线表现
图片
图片
图片
代码评估
图片
技术指标代码评估:红线、蓝线、参照其它指标、综合判断操作:这些部分主要设定了几种颜色编码,但没有具体的计算逻辑。A, VARA, QQ, 行情线:计算和处理成交量相关数据。使用EMA(指数移动平均)和MA(移动平均)等公式处理数据。重心、【操盘线】、【黄金线】、【空仓线】:这些是关于股价的复杂计算,涉及到当前和历史价格。用于确定市场趋势和操盘策略。顶底信号、BBI、UPR、DWN、安全:这些公式用于计算市场的潜在高点和低点,以及安全交易区间。RSI, A7, 操作:涉及相对强弱指数(RSI)的计算和其它交易信号的生成。压力、支撑:计算股价的潜在支撑和阻力位。SK、SD:涉及动态指标的计算,用于判断市场动向。买、加1、卖一:这些公式生成买入、加仓和卖出信号。重心1、指导线:进一步的趋势线和重心计算,用于指导交易。反弹:计算市场反弹的可能性。这个公式集是相当复杂的,涉及多个技术指标和市场分析方法。使用技巧
该指标信号是比较多的,很多也是很有用的,适用于我们平常看盘辅助使用。
因为是看盘辅助指标,所以选股实际上是没有太大意义的,很简单,选出来的票很多,这种参考意义不大。但为了满足选股需要,这里附上一个“买”信号的选股,其它的可以自行修改编写。
粗红线上强势:0,COLORRED,NODRAW; 粗蓝线下弱势:0,COLORFF6C00,NODRAW; 参照其它指标:0,COLORWHITE,NODRAW; 综合判断操作:0,COLORYELLOW,NODRAW; A:=AMOUNT/V/100; VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5); QQ:=EMA(((VARA/10)+EMA(A,13)),0); 行情线:=MA(A,1); 重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382; 【操盘线】:EMA(((SLOPE(C,22)*20)+C),60),COLORRED,LINETHICK2; {【黄金线】:}IF(重心>=【操盘线】,【操盘线】,DRAWNULL),COLORRED,LINETHICK2; {【空仓线】:}IF(重心<【操盘线】,【操盘线】,DRAWNULL),COLORFF0000,LINETHICK2;{更多资源,请添加微信公众号:量化交易研究所,微信:FSC2012782002} {顶底信号} DA:=(EMA(H,1)+EMA(L,1)+EMA(H,1)+EMA(H,1))/4; DB:=EMA(REF(HHV(H,25),1),2),COLORGREEN,LINETHICK1; 上线:=SMA(C,6.5,1); 下线:=SMA(C,13.5,1); 上线1:=SMA(C,3,1); 下线1:=SMA(C,8,1); BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; UPR:=BBI+3*STD(BBI,13),LINETHICK2; DWN:=BBI-3*STD(BBI,13); 安全:=MA(CLOSE,60),LINETHICK2; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT(CROSS(82,RSI),HIGH*1.04,'减仓'),COLORFF9966,LINETHICK1; A7:=(2*C+H+L)/4; 操作:=MA(A7,5),COLOR00FF00,LINETHICK1; 操作1:=MA(A7,5)*1.03,LINETHICK1; 操作2:=MA(A7,5)*0.97,LINETHICK1; 压力1:HHV(A7,21),COLOR00F666; 压力2:HHV(A7,36),COLORFF6CC0; 支撑:LLV(A7,21),COLORCYAN; SK:=EMA((A7-压力1)/(支撑-压力1)*100,7); SD:=EMA(0.667*REF(SK,1)+0.333*SK,5); D:=MA(CLOSE,80)-MA(CLOSE,10)/3; DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,'抄底'),COLORYELLOW; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); E1:=BARSCOUNT(C); AH:=HHV(H,200); AL:=LLV(L,200); B0:=(AH-AL)/40; KB1:=H+B0; KB2:=L-B0; 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) AND (H-C)<(C-O) AND C>操作,LOW,'★买'),COLORRED; 加1:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18); DRAWTEXT(加1,LOW*0.98,'★加仓'),COLORCC66FF; 卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX); DRAWTEXT(FILTER(卖一=1,1),HIGH*1.025,'★卖'),COLORGREEN; {预测明天} 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),NODRAW; DRAWTEXT(AAAA,L*0.95,'下影买'),COLORRED; BBAA:=CROSS(XXS1,C); DDDD:=CROSS(C,XXS1); DRAWTEXT(COUNT(DDDD,3)>=1 AND C>【操盘线】*1.1 AND C<O,H*1.036,'顶卖'),COLORYELLOW; AA1Z:=MA(C,5); BB1Z:=MA(C,15); AF:=CROSS(AA1Z,BB1Z); AAZ:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)<REF(CLOSE,3) AND IF(REF(CLOSE,3)<REF(CLOSE,4),1,IF(REF(CLOSE,4)<REF(CLOSE,5),REF(CLOSE,1)<REF(CLOSE,4) OR (REF(CLOSE,2)<REF(CLOSE,4) AND REF(CLOSE,3)>=REF(CLOSE,5)),IF(REF(CLOSE,5)<REF(CLOSE,6),1,REF(CLOSE,6)<REF(CLOSE,7))));{更多资源,请添加微信公众号:量化交易研究所,微信:FSC2012782002} BBZ:=CLOSE<REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,1)>REF(CLOSE,3) AND IF(REF(CLOSE,3)>REF(CLOSE,4),1,IF(REF(CLOSE,4)>REF(CLOSE,5),REF(CLOSE,1)>REF(CLOSE,4) OR (REF(CLOSE,2)>REF(CLOSE,4) AND REF(CLOSE,3)<=REF(CLOSE,5)),IF(REF(CLOSE,5)>REF(CLOSE,6),1,REF(CLOSE,6)>REF(CLOSE,7)))); TYX3Z:=MA(REF(HHV((C+L+O+H)/4,30),1),3); TYX4Z:=MA((C+L+O+H)/4,13); TYX5Z:=EMA((C+L+O+H)/4,21); DRAWICON(AAZ AND CLOSE>REF(OPEN,2),0.98*LOW,1); DRAWICON(BBZ AND CLOSE<REF(CLOSE,2) AND C>【操盘线】*1.07,HIGH*1.01,2); {修正价格} 重心1:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,COLORYELLOW,LINETHICK1; GAO:=HHV(C,60)-LLV(C,60); RSIZ:=SMA(MAX(重心1-REF(重心1,1),0),5,1)/SMA(ABS(重心1-REF(重心1,1)),5,1); 指导线:=重心1+GAO*(RSIZ-0.5),COLORMAGENTA,LINETHICK1; STICKLINE(CROSS(RSIZ,0.1),L*0.99,L*0.98,4,0),COLORYELLOW; STICKLINE(CROSS(0.9,RSIZ),H*1.01,H*1.02,4,0),COLORBLUE; C6:=REF(C,1); {涨跌停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; 涨停:=IF((C-C6)*100/C6>=(10-0.01*100/C6),1,0); STICKLINE(涨停,OPEN,CLOSE,2,0),COLORMAGENTA; STICKLINE(涨停,H,L,0,0),COLORLIRED; DRAWTEXT(AAZ AND CLOSE>REF(OPEN,2) AND C>MA(C,6),LOW*0.95,'三平底'),COLORYELLOW; DRAWTEXT(BBZ AND CLOSE<REF(CLOSE,2) AND C>【操盘线】*1.07,HIGH*1.05,'三平顶'),COLORCYAN; {反弹} JJ:=(H+L+C)/3; QJ0:=VOL/IF(H=L,4,H-L); JB:="KDJ.J"; QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(C,O)),QJ0*(MIN(O,C)-L)); QJ2:=IF(CAPITAL=0,QJ0*(MIN(O,C)-L),QJ0*(JJ-MIN(C,O))); QJ3:=QJ0*(H-MAX(O,C)); QJ4:=QJ0*(MAX(C,O)-JJ); QJ5:=QJ1+QJ2;QJ6:=QJ3+QJ4; DDB:=(QJ5-QJ6)/(QJ5+QJ6)*100; DDX:=((QJ1+QJ2)-(QJ3+QJ4))/SUM(VOL,10)*100; DDZ:=DDB*17; DDY:=((QJ2+QJ4)-(QJ1+QJ3))/SUM(VOL,10)*100; 反弹:=CROSS(JB,0) AND ((DDX>0 AND DDY>0) OR DDZ>400); DRAWICON(反弹,L*0.98,11); 公众号:DRAWNULL,COLOR00FF00; 量化交易研究所:DRAWNULL,COLORRED; DRAWTEXT(CROSS(JB,0) AND ((DDX>0 AND DDY>0) OR DDZ>400),L*0.985,'反弹'),COLORRED;本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。