操盘利器Z有进场加仓减仓的操盘全过程通达信公式 主图 源码附图

字:=STRCAT(STRCAT(STRCAT('名称: ',STKNAME),' 代码: '),CODE);
DRAWTEXT_FIX(ISLASTBAR,0.8,0,0,字),COLORYELLOW;
更多精准指标:INDEXADV,COLORMAGENTA ,NODRAW; 联系:INDEXADV,COLORYELLOW,NODRAW; 股票指标网:INDEXADV,COLORMAGENTA ,NODRAW;
STICKLINE(C>O,C,O,2,1),COLORRED ;STICKLINE(C>O,H,L,0,0),COLORRED;
STICKLINE(C<O,C,O,2,1),COLORCYAN;STICKLINE(C<O,H,L,0,0),COLORCYAN;
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
N:=0.01; N1:=12;Q:=12; M1:=12; SHORT:=12; LONG:=12; M:=12; MID:=12;
AA05:MA(C,5),COLORWHITE ;
五日乖离率:=(C-AA05)/AA05*100,;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3),LINETHICK0;
STICKLINE(BB05>30 AND AA05>REF(AA05,1),
AA05,REF(AA05,1),1,0),COLORMAGENTA ;
AA10:MA(C,10)COLORCYAN  ,LINETHICK2,;
AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416,;
 STICKLINE(BB05<0 AND AA05<REF(AA05,1),
 AA05,REF(AA05,1),3,1), NODRAW ;
 AA30:MA(C,30),COLORWHITE,NODRAW  ;
三拾日乖离率:=(C-AA30)/AA30*100;{30日绿线}
 VAR1:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1);
 VAR2:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1);
 BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
 STICKLINE(BB30>15 AND AA30>REF(AA30,1), AA30,REF(AA30,1),3,1),NODRAW  ;
强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);
加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND
 AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND
 AA10>REF(AA10,1) AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10),;
清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>AA30 OR O>AA30) AND
 AA05<REF(AA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND AA10<REF(AA10,1),10);
 DRAWTEXT(加仓,LOW*0.98,'←加仓'),COLORWHITE ;
 JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND
 AA10>REF(AA10,1), ;
减仓:=FILTER(JC,10);
 MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;
买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.02,'减'),COLORCYAN;
DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;
 DRAWTEXT(清仓,HIGH*1.02,'清'),COLORGREEN;
 DRAWTEXT(强势狙击,LOW*0.98,'←强势'),COLORYELLOW;
 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;
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,NODRAW;
操作线:分水岭-(EMA(C,3)-分水岭),COLORGREEN ,  ;
DRAWTEXT(ISLASTBAR,操作线,'  ←拐点线'),COLORGREEN  ;
{================超牛==========股票指标网=====}
转强:=100*(C-REF(C,12))/REF(C,12);
超强:=((H+L+C)/3-MA((H+L+C)/3,88))/(0.015*AVEDEV((H+L+C)/3,88));
通道:=1.07*DMA(C,ABS((2*C+H+L)/4-MA(C,26))/MA(C,26));
趋势:=MA(ATAN(通道-REF(通道,1)),3);
QS1:=IF((C>O OR C<O) AND H>=REF(C,1),ATAN(MA(H,5)*1.02-REF(MA(C,5)*1.02,1)),0);
QS2:=IF((C>O OR C<O) AND H<REF(C,1),-ATAN(REF(MA(C,5)*1.02,1)-MA(H,5)*1.02),0);
分界:=MA(REF((QS1+QS2),1),26);
强势:=趋势>分界 AND 趋势>REF(趋势,1);
超级牛股:=强势 AND 超强>200 AND  转强>20  AND C>REF(C,1);
DRAWTEXT(超级牛股,L*0.95,'↖龙'),COLORYELLOW  ,LINETHICK2; 
A0:=((L+H+C*2)/4);
上:EMA(A0,14)*1.1382,COLORCYAN,NODRAW  ;
一涨停:=EVERY(C/REF(C,1)>=1.097 AND C=H,1) AND C>L;
角度:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3;
持有:=EXIST(一涨停,5) AND 角度>75 AND C>上 AND C>REF(C,1) AND C>上;
DRAWTEXT(持有,LOW,'↖龙'),COLORYELLOW;
VAAR1:=DMA(AMOUNT/V/100,V/CAPITAL);
筹码线:VAAR1*1.1, NODRAW ;
AA:EMA((EMA(C,1)+EMA(C,3)+EMA(C,5))/3,3),COLORYELLOW;
DRAWTEXT(ISLASTBAR,AA,'  ←上买下卖'),COLORYELLOW ;
 
 



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

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

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