{公式名称: 超跌起爆
公式描述: 仿指南针超跌起爆&同花顺资金抄底
无参数
公式类型: 技术指标公式-能量型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
DRAWTEXT_FIX(ISLASTBAR,0,0,0,45),COLORRED;
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);