通达信超短战法之【尾盘掘金-神奇两点半】套装指标 尾盘选股确认的信号
{尾盘掘金副图源码如下}
AAV:=VOL/((H-L)*2-ABS(C-O));
ABC1:=IF(C>OPEN,AAV*(HIGH-LOW),IF(C< OPEN,AAV*((HIGH-OPEN)+(C-LOW)),VOL/2));
ABC2:=IF(C>OPEN,0-AAV*((HIGH-C)+(OPEN-LOW)),IF(C< OPEN,0-AAV*(HIGH-LOW),0-VOL/2));
JLR:=(ABC1+ABC2)/99;
ABC3:=(C/REF(C,1)-1)*100;
LTP:=CAPITAL;
LTSZY:=FINANCE(40)/100000000>=100;
LTSZY1:=FINANCE(40)/100000000<=350;
QXSB:=NOT(CODELIKE('4'));
QKCB:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
YYDS:=QXSB AND QST AND QKCB AND QXX AND QBJ;
XG1:=LTSZY AND LTSZY1 AND YYDS AND C< 50;
HS:=DYNAINFO(39);
LB:=DYNAINFO(20);
XG:=HS>4 AND LB>0.5;
尾盘掘金:BARSLASTCOUNT(JLR>=200 AND ABC3>=3)=1 AND O/REF(C,1)<=1.05 AND XG AND XG1 COLORYELLOW;
DRAWTEXT(尾盘掘金,0.6,'★尾盘掘金'),COLORYELLOW;
DRAWICON(尾盘掘金 ,1,9);
{尾盘掘金主图源码如下}
MA5:MA(C,5);
MA10:MA(C,10);
DRAWTEXT_FIX(ISLASTBAR,0.4,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.45,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,GNBLOCK),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.4,0.03,0,FGBLOCK),COLORMAGENTA;
STICKLINE(C/REF(C,1)>=1.097 AND H>L AND H=C,C,O,2,0),COLORLIMAGENTA ;
STICKLINE(REF(C,1)/C>=1.097 AND H>L AND H=C,C,O,2,0),COLORLIBLUE;
STICKLINE(H/REF(C,1)>=1.097 AND H>C AND H=C,H,C,0,0),COLORMAGENTA;
STICKLINE(REF(C,1)/L>=1.097 AND H>L AND H=C,C,L,0,0),COLORLIBLUE;
AAV:=VOL/((H-L)*2-ABS(C-O));
ABC1:=IF(C>OPEN,AAV*(HIGH-LOW),IF(C< OPEN,AAV*((HIGH-OPEN)+(C-LOW)),VOL/2));
ABC2:=IF(C>OPEN,0-AAV*((HIGH-C)+(OPEN-LOW)),IF(C< OPEN,0-AAV*(HIGH-LOW),0-VOL/2));
JLR:=(ABC1+ABC2)/99;
ABC3:=(C/REF(C,1)-1)*100;
LTP:=CAPITAL;
LTSZY:=FINANCE(40)/100000000>=100;
LTSZY1:=FINANCE(40)/100000000<=350;
QXSB:=NOT(CODELIKE('4'));
QKCB:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
YYDS:=QXSB AND QST AND QKCB AND QXX AND QBJ;
XG1:=LTSZY AND LTSZY1 AND YYDS AND C< 50;
HS:=DYNAINFO(39);
LB:=DYNAINFO(20);
XG:=HS>4 AND LB>0.5;
尾盘掘金:=BARSLASTCOUNT(JLR>=200 AND ABC3>=3)=1 AND O/REF(C,1)<=1.05 AND XG AND XG1;
STICKLINE(尾盘掘金,C,O,2,0),COLORYELLOW;
DRAWICON(尾盘掘金 ,L,9);
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
{尾盘掘金副图源码如下}AAV赋值:成交量/((H-L)*2-C-O的绝对值)
ABC1赋值:IF(C>开盘价,AAV*(最高价-最低价),IF(C< 开盘价,AAV*((最高价-开盘价)+(C-最低价)),成交量/2))
ABC2赋值:IF(C>开盘价,0-AAV*((最高价-C)+(开盘价-最低价)),IF(C< 开盘价,0-AAV*(最高价-最低价),0-成交量/2))
JLR赋值:(ABC1+ABC2)/99
ABC3赋值:(C/1日前的C-1)*100
LTP赋值:当前流通股本
LTSZY赋值:FINANCE(40)/100000000>=100
LTSZY1:=FINANCE(40)/100000000<=350
QXSB赋值:NOT(CODELIKE('4'))
QKCB赋值:NOT(CODELIKE('688'))
QST赋值:IF(NAMELIKE('S'),0,1)
QXX赋值:IF(NAMELIKE('*'),0,1)
QBJ赋值:NOT(CODELIKE('8'))
YYDS赋值:QXSB AND QST AND QKCB AND QXX AND QBJ
XG1赋值:LTSZY AND LTSZY1 AND YYDS AND C< 50
HS赋值:DYNAINFO(39)
LB赋值:DYNAINFO(20)
XG赋值:HS>4 AND LB>0.5
输出尾盘掘金:BARSLASTCOUNT(JLR>=200 AND ABC3>=3)=1 AND O/1日前的C<=1.05 AND XG AND XG1 画黄色
当满足条件尾盘掘金时,在0.6和'★尾盘掘金'位置书写文字
当满足条件尾盘掘金 时,在1和9之间画图标
{尾盘掘金主图源码如下}MA5:C的5日简单移动平均
输出MA10:C的10日简单移动平均
当满足条件ISLASTBAR时,在横轴0.4纵轴0位置书写文字
当满足条件ISLASTBAR时,在横轴0.45纵轴0位置书写文字
当满足条件ISLASTBAR时,在横轴0.5纵轴0位置书写文字
当满足条件ISLASTBAR时,在横轴0.4纵轴0.03位置书写文字
STICKLINE(C/1日前的C>=1.097 AND H>L AND H=C,C,O,2,0),COLORLIMAGENTA
STICKLINE(1日前的C/C>=1.097 AND H>L AND H=C,C,O,2,0),COLORLIBLUE
STICKLINE(H/1日前的C>=1.097 AND H>C AND H=C,H,C,0,0),画洋红色
STICKLINE(1日前的C/L>=1.097 AND H>L AND H=C,C,L,0,0),COLORLIBLUE
AAV赋值:成交量/((H-L)*2-C-O的绝对值)
ABC1赋值:IF(C>开盘价,AAV*(最高价-最低价),IF(C< 开盘价,AAV*((最高价-开盘价)+(C-最低价)),成交量/2))
ABC2赋值:IF(C>开盘价,0-AAV*((最高价-C)+(开盘价-最低价)),IF(C< 开盘价,0-AAV*(最高价-最低价),0-成交量/2))
JLR赋值:(ABC1+ABC2)/99
ABC3赋值:(C/1日前的C-1)*100
LTP赋值:当前流通股本
LTSZY赋值:FINANCE(40)/100000000>=100
LTSZY1:=FINANCE(40)/100000000<=350
QXSB赋值:NOT(CODELIKE('4'))
QKCB赋值:NOT(CODELIKE('688'))
QST赋值:IF(NAMELIKE('S'),0,1)
QXX赋值:IF(NAMELIKE('*'),0,1)
QBJ赋值:NOT(CODELIKE('8'))
YYDS赋值:QXSB AND QST AND QKCB AND QXX AND QBJ
XG1赋值:LTSZY AND LTSZY1 AND YYDS AND C< 50
HS赋值:DYNAINFO(39)
LB赋值:DYNAINFO(20)
XG赋值:HS>4 AND LB>0.5
尾盘掘金赋值:BARSLASTCOUNT(JLR>=200 AND ABC3>=3)=1 AND O/1日前的C<=1.05 AND XG AND XG1
当满足条件尾盘掘金时,在C和O之间画柱状线
当满足条件尾盘掘金 时,在L和9之间画图标