金蝴蝶波段底 和谐通达信公式源码

买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,30);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWICON(SEL,H+0.1,2);
STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORLIRED;
STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORGREEN;
STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORLIBLUE;
M:=EMA(CLOSE,5);
S:=EMA(M,34),COLORYELLOW,LINETHICK2;
Y:=HHV(MA(HIGH,3),2),COLORGREEN,LINETHICK2;
D:LLV(MA(HIGH,3),1),COLORFF00FF,LINETHICK1;
QA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
QB:=EMA(0.667*REF(QA,1)+0.333*QA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(QA>=QB AND QA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'←买'),COLOR0000FF;
QC:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),6,1))*100;
Q1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
Q2:=REF(Q1,1);
Q3:=(SMA(MAX(Q1-Q2,0),10,1))/(SMA(ABS(Q1-Q2),10,1))*100;
Q4:=FILTER(IF((COUNT(Q3<20,5))>=1 AND (COUNT(Q1=LLV(Q1,10),10))>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0),5);
Q5:=FILTER(S>REF(S,1) AND Y<REF(Y,1) AND CLOSE>REF(CLOSE,1),11);
Q6:=REF(CLOSE,1);
Q7:=(SMA(MAX(CLOSE-Q6,0),6,1))/(SMA(ABS(CLOSE-Q6),6,1))*100;
{WWW.}
VAR2:=REF(LOW,1); 
VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100; 
VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13); 
VAR5:=LLV(LOW,34); 
VAR6:=HHV(VAR4,34); 
VAR7:=IF(LLV(LOW,55),1,0); 
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; 
XL1:=MA(LOW,2)*0.96; 
XL2:=MA(LOW,26)*0.85; 
XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2); 
启动:=IF(XL3,0,VAR8*3); 
DRAWICON(启动>10&&(XLPL.NOTEXT吸<1 AND REF(XLPL.NOTEXT落,0.5)),L,29);


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

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

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

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