超跌起爆源码 K线图通达信公式和谐源码分享

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR2:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*(HIGH-OPEN+(CLOSE-LOW)),VOL/2));
VAR3:=IF(CLOSE>OPEN,0-VAR1*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
VAR4:=(VAR2+VAR3)*10000/FINANCE(7);
VAR5:=SUM(VAR4,5);
VAR6:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR7:=EMA(EMA(EMA(VAR6,4),4),4);
VAR8:=(VAR7-REF(VAR7,1))/REF(VAR7,1)*100;
{股票指标网}
VAR9:=MA(VAR8,2);
VAR10:=MA(VAR8,1);
VAR11:=VAR8-VAR9;
VAR12:=(OPEN+HIGH+LOW+CLOSE)/4;
VAR13:=IF(IF(CLOSE>MIN(VAR12,HIGH) AND CLOSE<MAX(VAR12,HIGH),1,0) OR CLOSE=OPEN,VOL,0);
VAR14:=IF(IF(CLOSE>MIN(VAR12,LOW) AND CLOSE<MAX(VAR12,LOW),1,0),VOL,0);
VAR15:=IF(VAR13 AND VAR14,0,VOL/3);
VAR16:=10*(VAR13-(VAR14+VAR15))/IF(CAPITAL<1,SUM(VOL,13),CAPITAL);
VAR17:=VAR16;
VAR18:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR19:=IF(CLOSE>OPEN,VAR18*(HIGH-LOW),IF(CLOSE<OPEN,VAR18*(HIGH-OPEN+(CLOSE-LOW)),VOL/2));
VAR20:=IF(CLOSE>OPEN,0-VAR18*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR18*(HIGH-LOW),0-VOL/2));
VAR21:=VAR19+VAR20;
VAR22:=VAR5>0 OR VAR11>0 OR VAR17>0 OR VAR21>0;
VAR23:=REF(CLOSE,1);
VAR24:=SMA(MAX(CLOSE-VAR23,0),3,1)/SMA(ABS(CLOSE-VAR23),3,1)*100;
VAR25:=SMA(MAX(CLOSE-VAR23,0),5,1)/SMA(ABS(CLOSE-VAR23),5,1)*100;
VAR26:=SMA(MAX(CLOSE-VAR23,0),8,1)/SMA(ABS(CLOSE-VAR23),8,1)*100;
VAR27:=0.5*VAR24+0.31*VAR25+0.19*VAR26;
VAR28:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);
VAR29:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);
VAR30:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);
VAR31:=0.5*VAR28+0.31*VAR29+0.19*VAR30;
超跌:EMA(VAR31,7),COLORGREEN,LINETHICK2;
VAR32:=0.5*VAR27+0.5*VAR31;
起爆:EXPMEMA(VAR32,3),COLORRED,LINETHICK2;
VAR33:=IF(VAR32<20 AND CLOSE>OPEN AND VAR22>0,1,0);
VAR34:=IF(VAR32<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND VAR22>0,1,0);
VAR35:=IF(REF(VAR32,1)<20 AND VAR32>REF(VAR32,1),1,0);
VAR36:=VAR33=1 OR VAR34=1 OR VAR35=1;
超跌起爆:VAR36 AND COUNT(VAR36,3)=1,NODRAW;
DRAWICON(超跌起爆,20,23);
 


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

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

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