雄鹰出巢通达信指标 副图 源码 测试图

N:=10;
95,COLORGREEN,LINETHICK1;
预警线:18,COLORGREEN;
趋势线:EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100,COLORGRAY,LINETHICK1;
STICKLINE(CROSS(18,趋势线),18,65,3,0),COLORRED;
DRAWTEXT(CROSS(18,趋势线),60,'-准备买'),COLORYELLOW;
STICKLINE(CROSS(趋势线,95),95,70,3,0),COLORGREEN;
M20:=MA(C,20);
M120:=MA(C,120);
M250:=MA(C,250);
T:=BARSLAST(CROSS(C,M120));
TT:=BARSLAST(T<10 AND CROSS(M20,M120));
TJ:=MAX(L,M20)/MIN(L,M20)<1.005;
TJ1:=M20>=REF(M20,1) AND M120>=REF(M120,1) AND M250>=REF(M250,1);
TJ2:=M20>M120 AND M120>M250;
TJ3:=M20/M250<1.35 AND M20/M120<1.11;
XG:=COUNT(TJ,TT+1)=1 AND TJ AND EVERY(TJ1 AND TJ2,TT) AND TJ3;
STICKLINE(XG,18,50,1,0),COLORMAGENTA;
DRAWTEXT(XG,50,'-盘旋'),COLORYELLOW;
VARQ1:=AMOUNT/VOL/7;
VARQ2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:=SUM(AMOUNT,N)/VARQ1/7;
VAR4:=DMA(VARQ2,VOL/VAR3);
关注:(CLOSE-VAR4)/VAR4*100,NODRAW,COLORMAGENTA;
STICKLINE(CROSS(-7.0,关注),34,50,3,0),COLORCYAN;
STICKLINE(CROSS(-7.0,关注),18,34,3,0),COLORMAGENTA;
DRAWTEXT(CROSS(-7.0,关注),40,'-关注'),COLORYELLOW;
A1:=C*1.2<MA(C,60);
A2:=C/REF(C,1)>1.03;
抄底2:=A1 AND A2;
STICKLINE(抄底2,18,40,2,0),COLORWHITE;
DRAWTEXT(抄底2,40,'-抄底'),COLORWHITE;
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);
X1:=LLV(Q_2,2)=LLV(Q_2,7) ;
X2:=COUNT(Q_2<0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
X4:=REF(Q_B,1)<REF(Q_B,2);
X5:=Q_A>REF(Q_B,1);
买进:=(X1 AND X2 AND X3) AND X4 AND X5;
RTJ:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
XXG:=REF(RTJ,1)=0 AND RTJ>=1;
STICKLINE(XXG,60,80,1,0),COLORCYAN;
STICKLINE(XXG,39,60,1,0),COLORMAGENTA;
STICKLINE(XXG,18,39,1,0),COLORRED;
DRAWTEXT(XXG,80,'-出巢'),COLORYELLOW;
 


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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