超跌起爆仿指南针超跌起爆&同花顺资金抄底
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
相关股票指标公式
原理解析:
VAR1赋值:成交量/((最高价-最低价)*2-收盘价-开盘价的绝对值)
VAR2赋值:IF(收盘价>开盘价,VAR1*(最高价-最低价),IF(收盘价<开盘价,VAR1*(最高价-开盘价+(收盘价-最低价)),成交量/2))
VAR3赋值:IF(收盘价>开盘价,0-VAR1*(最高价-收盘价+(开盘价-最低价)),IF(收盘价<开盘价,0-VAR1*(最高价-最低价),0-成交量/2))
VAR4赋值:(VAR2+VAR3)*10000/FINANCE(7)
VAR5赋值:5的VAR4日累和
VAR6赋值:(2*收盘价+最高价+最低价+开盘价)/5
VAR7赋值:VAR6的4日指数移动平均,4),4)
VAR8赋值:(VAR7-1日前的VAR7)/1日前的VAR7*100
VAR9赋值:VAR8的2日简单移动平均
VAR10:=VAR8的1日简单移动平均
VAR11:=VAR8-VAR9
VAR12:=(开盘价+最高价+最低价+收盘价)/4
VAR13:=IF(IF(收盘价>VAR12和最高价的较小值 AND 收盘价
VAR14:=IF(IF(收盘价>VAR12和最低价的较小值 AND 收盘价如果VAR13 AND VAR14返回0否则返回成交量/3
VAR16:=10*(VAR13-(VAR14+VAR15))/IF(当前流通股本<1,13的成交量日累和,当前流通股本)
VAR17:=VAR16
{股票指标网}
VAR18:=成交量/((最高价-最低价)*2-收盘价-开盘价的绝对值)
VAR19:=IF(收盘价>开盘价,VAR18*(最高价-最低价),IF(收盘价<开盘价,VAR18*(最高价-开盘价+(收盘价-最低价)),成交量/2))
VAR20:=IF(收盘价>开盘价,0-VAR18*(最高价-收盘价+(开盘价-最低价)),IF(收盘价<开盘价,0-VAR18*(最高价-最低价),0-成交量/2))
VAR21:=VAR19+VAR20
VAR22:=VAR5>0 OR VAR11>0 OR VAR17>0 OR VAR21>0
VAR23:=1日前的收盘价
VAR24:=SMA(收盘价-VAR23和0较大值,3,1)/SMA(收盘价-VAR23的绝对值,3,1)*100
VAR25:=SMA(收盘价-VAR23和0较大值,5,1)/SMA(收盘价-VAR23的绝对值,5,1)*100
VAR26:=SMA(收盘价-VAR23和0较大值,8,1)/SMA(收盘价-VAR23的绝对值,8,1)*100
VAR27:=0.5*VAR24+0.31*VAR25+0.19*VAR26
VAR28:=SMA(100*(收盘价-8日内最低价最低值)/(8日内最高价最高值-8日内最低价最低值),3,1)
VAR29:=SMA(100*(收盘价-8日内最低价最低值)/(8日内最高价最高值-8日内最低价最低值),5,1)
VAR30:=SMA(100*(收盘价-8日内最低价最低值)/(8日内最高价最高值-8日内最低价最低值),8,1)
VAR31:=0.5*VAR28+0.31*VAR29+0.19*VAR30
输出超跌:VAR31的7日指数移动平均,画绿色, 线宽为2
VAR32:=0.5*VAR27+0.5*VAR31
输出起爆:EXPVAR32的3日平滑移动平均,画红色, 线宽为2
如果VAR32<20 AND 收盘价>开盘价 AND VAR22>0返回1否则返回0
VAR34:=IF(VAR32<20 AND 最低价>=1日前的最低价 AND 收盘价>最低价 AND VAR22>0,1,0)
VAR35:=IF(1日前的VAR32<20 AND VAR32>1日前的VAR32,1,0)
VAR36:=VAR33=1 OR VAR34=1 OR VAR35=1
超跌输出起爆:VAR36 AND 统计3日满足VAR36的天数=1,NODRAW
当满足条件超跌起爆时,在20和23之间画图标