【倍量驯龙】主图+选股指标找寻起爆之由用法详解
VAR1:=EMA(CLOSE,IF(PERIOD=7,7,IF(PERIOD=6,14,30)));
VAR2:=EMA(CLOSE,IF(PERIOD=7,8,IF(PERIOD=6,16,35)));
VAR3:=EMA(CLOSE,IF(PERIOD=7,9,IF(PERIOD=6,18,40)));
VAR4:=EMA(CLOSE,IF(PERIOD=7,10,IF(PERIOD=6,20,45)));
VAR5:=EMA(CLOSE,IF(PERIOD=7,11,IF(PERIOD=6,22,50)));
VAR6:=EMA(CLOSE,IF(PERIOD=7,12,IF(PERIOD=6,24,55)));
VAR7:=IF(1<1,0,IF(CAPITAL>0 AND CLOSE<500,0,1));
VAR8:=FILTER(REF(HIGH,5)=HHV(HIGH,2*5+1),5);
VAR9:=REF(MAX(CLOSE,OPEN),5)=HHV(MAX(CLOSE,OPEN),2*5+1);
VAR10:=FILTER(BACKSET(FILTER(VAR9,5),5+1),5);
VAR11:=REF(MAX(CLOSE,OPEN),BARSLAST(VAR10));
VAR12:=BACKSET(FILTER(REF(LOW,5)=LLV(LOW,2*5+1),5),5+1);
VAR13:=REF(LOW,BARSLAST(FILTER(VAR12,5)));
VAR14:=REF(MIN(CLOSE,OPEN),5)=LLV(MIN(CLOSE,OPEN),2*5+1);
VAR15:=FILTER(BACKSET(FILTER(VAR14,5),5+1),5);
VAR16:=REF(MIN(CLOSE,OPEN),BARSLAST(VAR15));
VAR17:=IF(0,REF(HIGH,BARSLAST(FILTER(BACKSET(VAR8,5+1),5))),VAR11);
VAR18:=IF(0,VAR13,VAR16);{股票指标网http://}
VAR27:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
VAR28:=C>REF(C,1) AND C<REF(C,1)*1.095;
NOTEXTM1:IF(CLOSE>0 AND VAR7,VAR1,DRAWNULL),COLOR005500;
NOTEXTM2:IF(CLOSE>0 AND VAR7,VAR2,DRAWNULL),COLOR007700;
NOTEXTM3:IF(CLOSE>0 AND VAR7,VAR3,DRAWNULL),COLOR009900;
NOTEXTM4:IF(CLOSE>0 AND VAR7,VAR4,DRAWNULL),COLOR00BB00;
NOTEXTM5:IF(CLOSE>0 AND VAR7,VAR5,DRAWNULL),COLOR00DD00;
NOTEXTM6:IF(CLOSE>0 AND VAR7,VAR6,DRAWNULL),COLORGREEN;
NOTEXTM11:IF(VAR1>REF(VAR1,1) AND VAR7,VAR1,DRAWNULL),COLOR550055;
NOTEXTM22:IF(VAR2>REF(VAR2,1) AND VAR7,VAR2,DRAWNULL),COLOR770077;
NOTEXTM33:IF(VAR3>REF(VAR3,1) AND VAR7,VAR3,DRAWNULL),COLOR990099;
NOTEXTM44:IF(VAR4>REF(VAR4,1) AND VAR7,VAR4,DRAWNULL),COLORBB00BB;
NOTEXTM55:IF(VAR5>REF(VAR5,1) AND VAR7,VAR5,DRAWNULL),COLORDD00DD;
NOTEXTM66:IF(VAR6>REF(VAR6,1) AND VAR7,VAR6,DRAWNULL),COLORMAGENTA;
双倍量:REF(VAR27=1,1) AND VAR27=1,COLORMAGENTA,NODRAW;
三倍量:V>=REF(V,1)*3 AND C<10 AND VAR28 AND C<>H AND C>O,NODRAW;
STICKLINE(双倍量,O,C,3,0),COLORMAGENTA;
STICKLINE(三倍量,O,C,3,0),COLORYELLOW;
STICKLINE(VAR17=REF(VAR17,1) OR REF(VAR17,1)=REF(VAR17,2),VAR17,VAR17,4,0),COLORYELLOW;
STICKLINE(VAR18=REF(VAR18,1) OR REF(VAR18,1)=REF(VAR18,2),VAR18,VAR18,4,0),COLORCC00CC;
DRAWTEXT(双倍量,L,'←双倍量'),COLORMAGENTA;
DRAWTEXT(三倍量,L,'←三倍量'),COLORYELLOW;
未来函数检测结果如下:
该公式包含未来函数:BACKSET
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:EMA(收盘价,IF(PERIOD=7,7,IF(PERIOD=6,14,30)))
VAR2赋值:EMA(收盘价,IF(PERIOD=7,8,IF(PERIOD=6,16,35)))
VAR3赋值:EMA(收盘价,IF(PERIOD=7,9,IF(PERIOD=6,18,40)))
VAR4赋值:EMA(收盘价,IF(PERIOD=7,10,IF(PERIOD=6,20,45)))
VAR5赋值:EMA(收盘价,IF(PERIOD=7,11,IF(PERIOD=6,22,50)))
VAR6赋值:EMA(收盘价,IF(PERIOD=7,12,IF(PERIOD=6,24,55)))
VAR7赋值:IF(1<1,0,IF(当前流通股本>0 AND 收盘价<500,0,1))
VAR8赋值:FILTER(5日前的最高价=2*5+1日内最高价最高值,5)
VAR9赋值:REF(收盘价和开盘价较大值,5)=2*5+1日内收盘价和开盘价较大值最高值
VAR10:=FILTER(BACKSET(FILTER(VAR9,5),5+1),5)
VAR11:=REF(收盘价和开盘价较大值,上次VAR10距今天数)
VAR12:=BACKSET(FILTER(5日前的最低价=2*5+1日内最低价最低值,5),5+1)
VAR13:=REF(最低价,上次VAR12的5过滤距今天数)
VAR14:=REF(收盘价和开盘价的较小值,5)=2*5+1日内收盘价和开盘价的较小值最低值
VAR15:=FILTER(BACKSET(FILTER(VAR14,5),5+1),5)
VAR16:=REF(收盘价和开盘价的较小值,上次VAR15距今天数)
VAR17:=IF(0,REF(最高价,上次FILTER(BACKSET(VAR8,5+1距今天数,5))),VAR11)
如果0返回VAR13否则返回VAR16
{股票指标网HTTP://}VAR27:=成交量>=1日前的V*1.91 AND C>1日前的C*1.01
VAR28:=C>1日前的C AND C<1日前的C*1.095
如果收盘价>0 AND VAR7返回VAR1否则返回DRAWNULL
如果收盘价>0 AND VAR7返回VAR2否则返回DRAWNULL
如果收盘价>0 AND VAR7返回VAR3否则返回DRAWNULL
如果收盘价>0 AND VAR7返回VAR4否则返回DRAWNULL
如果收盘价>0 AND VAR7返回VAR5否则返回DRAWNULL
如果收盘价>0 AND VAR7返回VAR6否则返回DRAWNULL
NOTEXTM11:IF(VAR1>1日前的VAR1 AND VAR7,VAR1,DRAWNULL),COLOR550055
NOTEXTM22:IF(VAR2>1日前的VAR2 AND VAR7,VAR2,DRAWNULL),COLOR770077
NOTEXTM33:IF(VAR3>1日前的VAR3 AND VAR7,VAR3,DRAWNULL),COLOR990099
NOTEXTM44:IF(VAR4>1日前的VAR4 AND VAR7,VAR4,DRAWNULL),COLORBB00BB
NOTEXTM55:IF(VAR5>1日前的VAR5 AND VAR7,VAR5,DRAWNULL),COLORDD00DD
NOTEXTM66:IF(VAR6>1日前的VAR6 AND VAR7,VAR6,DRAWNULL),画洋红色
输出双倍量:1日前的VAR27=1 AND VAR27=1,画洋红色,NODRAW
输出三倍量:V>=1日前的V*3 AND C<10 AND VAR28 AND C<>H AND C>O,NODRAW
当满足条件双倍量时,在O和C之间画柱状线
当满足条件三倍量时,在O和C之间画柱状线
STICKLINE(VAR17=1日前的VAR17 OR 1日前的VAR17=2日前的VAR17,VAR17,VAR17,4,0),画黄色
STICKLINE(VAR18=1日前的VAR18 OR 1日前的VAR18=2日前的VAR18,VAR18,VAR18,4,0),COLORCC00CC
当满足条件双倍量时,在L和'←双倍量'位置书写文字
当满足条件三倍量时,在L和'←三倍量'位置书写文字