通达信拐点模型指标和共振用法图解 周期乖离轨迹与跟着资金走指标详解

N:=13;
盘:CAPITAL/1000000,NODRAW,COLORFF9933;
益:FINANCE(33),NODRAW,COLORFF9933;
资:FINANCE(34),NODRAW,COLORFF9933;
换手率:=VOL/CAPITAL;
长阳:=(WINNER(C)-WINNER(O))>=0.15 AND 换手率<=0.04;
缩量长阳:IF(长阳,(WINNER(C)-WINNER(O))*100,0),STICK,COLOR6EA4FF;
VAR1:=(C-REF(C,1))/REF(C,1);
VAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
个股:=EMA(SUM(VAR1,20),5);
大盘:=EMA(SUM(VAR2,20),5);
领涨:=(个股-大盘)>=0;
VAR3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;
VAR4:=SMA(VAR3,72,1);
VAR5:=SMA(VAR4,34,1);
中线趋势:=3*VAR4-2*VAR5;
中线趋势升:=(中线趋势-REF(中线趋势,1))>=0;
均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;
均十升:=(MA(C,10)-REF(MA(C,10),1))>=0;
领涨大盘:IF(均五升 AND 均十升 AND 中线趋势升 AND 领涨,4,0),COLORFF99FF;
DRAWTEXT_FIX(1,0.980,20,1,''),COLOR666666;
VAR6:=(2*C+H+L)/4;
VAR7:=LLV(L,N);
VAR8:=HHV(H,N);
攀登:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13)-50,LINETHICK0,COLORRED;
金山:EMA(0.618*REF(攀登,1)+0.382*攀登,3),COLORYELLOW,LINETHICK1;
强弱界:0,COLORCYAN;
DRAWICON(攀登>=金山 AND 均五升 AND 均十升 AND 中线趋势升,金山,1);
运动员:=IF(攀登>=金山 AND 均五升 AND 均十升 AND 中线趋势升 AND 金山<0,1,0);
起攀:IF(运动员=1 AND COUNT(运动员=1,5)=1,8,0),COLORCYAN,LINETHICK1;
DRAWTEXT(起攀=8,金山,'←起攀'),COLORWHITE;
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
准备:STICKLINE(乖离<-6 AND 乖离>=-12,-6,0,2,1 ),COLOR33FFCC;
抄底一:IF(乖离<-12 AND 乖离>=-18,-12,0),COLOR33CCCC,STICK;
STICKLINE(乖离<-12 AND 乖离>=-18,-12,0,2,0) ,COLOR33CCCC;
抄底二:IF(乖离<-18,-18,0),COLOR3399CC,STICK;
STICKLINE(乖离<-18,-18,0,2,0) ,COLOR3399CC;
DRAWTEXT_FIX(C>O,0.01,0.01,0,''),COLORYELLOW;
必抄底:IF(起攀=8 AND COUNT(乖离<-12,10)>=1,10,0),NODRAW,COLORRED;
DRAWTEXT(必抄底=10,10,'←必抄底'),COLORRED;
STICKLINE(必抄底=10,10,0,5,1),COLORRED;
IF(均五升 AND 均十升 AND 中线趋势升,0,DRAWNULL),COLORCYAN,LINETHICK3;
IF(攀登>金山 AND 攀登>=REF(攀登,1),攀登,DRAWNULL),COLORRED,LINETHICK2;
IF(攀登>金山 AND 攀登<REF(攀登,1),攀登,DRAWNULL),COLORWHITE,LINETHICK2;
IF(攀登>=金山,金山,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(攀登<金山,金山,DRAWNULL),COLORCYAN,LINETHICK1;



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

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

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