分时买入指标包含上车信号为买入信号起爆信号
GSCH1:=MA(((SLOPE(C,20)*5)+C),10);
GSCH2:=EMA(CLOSE,12)-EMA(CLOSE,26);
GSCH3:=EMA(GSCH2,9);
GSCH4:=(GSCH2-GSCH3)*2;
GSCH5:=GSCH4>00 AND GSCH2>0 AND GSCH3>0;
GSCH6:=HOUR=10 AND MINUTE=0;
GSCH7:=HHV(H,30);
GSCH8:=BARSLAST(GSCH6);
GSCH9:=REF(GSCH7,GSCH8);
GSCH10:=CONST(GSCH9);
GSCH11:=CLOSE>GSCH10 AND REF(C<=GSCH10,1) AND CLOSE>GSCH1;
GSCH12:=FILTER(GSCH11,100);
GSCH13:=DYNAINFO(3);
GSCH14:=CLOSE<=GSCH13*1.04 AND CLOSE>GSCH13;
量比:=V/REF(MA(V,5),1);
XG:=GSCH5 AND GSCH12 AND GSCH14 AND GSCH9>GSCH13 AND 量比>=1;
CZS2:=MAX(DYNAINFO(3),DYNAINFO(5));
CZS3:=MIN(DYNAINFO(3),DYNAINFO(6));
CZS4:=CZS2-CZS3;
阻力:=CZS3+CZS4*8/9,COLORLIRED,DOTLINE;
支撑:=CZS3+CZS4*0.5/9,COLORGREEN,DOTLINE;
WA1:=V*C/100;
WA2:=SUM((IF(((WA1/8>20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);
WA3:=SUM((IF(((WA1/8>20) AND (CLOSE< (REF(CLOSE,1)))),WA1,0)),0);
WA4:=SUM((IF(((WA1/8< 20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);
WA5:=SUM((IF(((WA1/8< 20) AND (CLOSE< (REF(CLOSE,1)))),WA1,0)),0);
机构买盘:=(WA2);
机构卖盘:=(WA3);
散户买盘:=(WA4);
散户卖盘:=(WA5);
BU:=BARSLAST(CLOSE=HHV(CLOSE,60));
SE:=BARSLAST(CLOSE=LLV(CLOSE,60));
KK1:=SE;
KK2:=BU;
LM1:=SE;
LM2:=BU;
OK:=KK1>KK2 AND LM1>LM2;
OK1:=KK1>KK2 AND LM1< LM2;
NOK:=KK2>KK1 AND LM2>LM1;
NOK1:=KK2>KK1 AND LM2< LM1;
DRAWICON(FILTER(CROSS(KK1,KK2),60),OPEN*1,9);
DRAWTEXT(FILTER(CROSS(KK1,KK2),60) ,OPEN*0.995,'←上车'),COLORRED;
DRAWTEXT_FIX(1,0,0.07,0,'股票指标网70822.COM'),COLORMAGENTA,LINETHICK4;
TT1:=BARSCOUNT(C);
均价黄:=SUM(C*V,TT1)/SUM(V,TT1);
量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
价上岗量破5:=C>均价黄 AND V>MA(V,5);
量起爆:=V>=REF(V,1)*1;
价创新高:=C>=HHV(C,0);
量创新高:=V>=HHV(V,0);
对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=2.50;
每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅;
VV:=BARSSINCE(每日一点)+1;
首次起爆价:=REF(C,VV-1),NODRAW;
起爆收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;
流通盘:=CAPITAL*100/100000000,NODRAW;
起爆时间:=REF(TIME/10000,VV),NODRAW;
已爆分钟:=VV-1,NODRAW;
DRAWICON(每日一点,C,13);
DRAWTEXT(每日一点,L-0.01,'←日内起爆'),COLORYELLOW;
ACX:=FILTER(CROSS(KK1,KK2),60);
ACX1:=BARSSINCE(ACX)+1;
首次抓板价:=REF(C,ACX1-1),NODRAW;
抓板收益:(DYNAINFO(7)-首次抓板价)/首次抓板价*100,NODRAW;
STB:=IF(INBLOCK('ST板块'),1,0);
TSB:=IF(INBLOCK('ST板块')AND CODELIKE('30') AND DATE>1200823,1,0);
BK:=IF(CODELIKE('68'),0.2,IF(CODELIKE('30')AND DATE>1200823,0.2 ,IF(CODELIKE('43') OR CODELIKE('83') OR CODELIKE('47'),0.3,IF(TSB,0.2,IF(STB,0.05,0.1)))));
ZTJ:=ZTPRICE(DYNAINFO(3),BK);
DTJ:=DTPRICE(DYNAINFO(3),BK);
上:=IF( FINANCE(42) >5,IF(DYNAINFO(7)*1.02< ZTJ,DYNAINFO(7)*1.02-0.01,ZTJ),DYNAINFO(7)*1.02-0.01);
下:=IF( FINANCE(42) >5,IF(DYNAINFO(7)*0.98>DTJ,DYNAINFO(7)*0.98+0.01,DTJ),DYNAINFO(7)*0.98+0.01);
DRAWTEXT_FIX(1,0.93,0.053,0,STRCAT('上: ',VAR2STR(上,2)))COLORRED;
DRAWTEXT_FIX(1,0.93,0.093,0,STRCAT('下: ',VAR2STR(下,2)))COLORGREEN;
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
GSCH1赋值:MA(((SLOPE(C,20)*5)+C),10)
GSCH2赋值:CLOSE的12日指数移动平均-CLOSE的26日指数移动平均
GSCH3赋值:GSCH2的9日指数移动平均
GSCH4赋值:(GSCH2-GSCH3)*2
GSCH5赋值:GSCH4>00 AND GSCH2>0 AND GSCH3>0
GSCH6赋值:HOUR=10 AND MINUTE=0
GSCH7赋值:30日内H最高值
GSCH8赋值:上次GSCH6距今天数
GSCH9赋值:GSCH8日前的GSCH7
GSCH10:=CONST(GSCH9)
GSCH11:=CLOSE>GSCH10 AND 1日前的C<=GSCH10 AND CLOSE>GSCH1
GSCH12:=GSCH11的100过滤
GSCH13:=DYNAINFO(3)
GSCH14:=CLOSE<=GSCH13*1.04 AND CLOSE>GSCH13
量比赋值:V/REF(V的5日简单移动平均,1)
XG赋值:GSCH5 AND GSCH12 AND GSCH14 AND GSCH9>GSCH13 AND 量比>=1
CZS2赋值:MAX(DYNAINFO(3),DYNAINFO(5))
CZS3赋值:MIN(DYNAINFO(3),DYNAINFO(6))
CZS4赋值:CZS2-CZS3
阻力赋值:CZS3+CZS4*8/9,COLORLIRED,DOTLINE
支撑赋值:CZS3+CZS4*0.5/9,画绿色,DOTLINE
WA1赋值:V*C/100
WA2赋值:SUM((IF(((WA1/8>20) AND (CLOSE>(1日前的CLOSE))),WA1,0)),0)
WA3赋值:SUM((IF(((WA1/8>20) AND (CLOSE< (1日前的CLOSE))),WA1,0)),0)
WA4赋值:SUM((IF(((WA1/8< 20) AND (CLOSE>(1日前的CLOSE))),WA1,0)),0)
WA5赋值:SUM((IF(((WA1/8< 20) AND (CLOSE< (1日前的CLOSE))),WA1,0)),0)
机构买盘赋值:(WA2)
机构卖盘赋值:(WA3)
散户买盘赋值:(WA4)
散户卖盘赋值:(WA5)
BU赋值:上次CLOSE=60日内CLOSE最高值距今天数
SE赋值:上次CLOSE=60日内CLOSE最低值距今天数
KK1赋值:SE
KK2赋值:BU
LM1赋值:SE
LM2赋值:BU
OK赋值:KK1>KK2 AND LM1>LM2
OK1:=KK1>KK2 AND LM1< LM2
NOK赋值:KK2>KK1 AND LM2>LM1
NOK1:=KK2>KK1 AND LM2< LM1
DRAWICON(FILTER(KK1上穿KK2,60),开盘价*1,9)
DRAWTEXT(FILTER(KK1上穿KK2,60) ,开盘价*0.995,'←上车'),画红色
当满足条件1时,在横轴0纵轴0.07位置书写文字
TT1赋值:C的有效数据周期数
均价黄赋值:TT1的C*V日累和/TT1的V日累和
量两步赋值:V的5日简单移动平均>REF(V的5日简单移动平均,1) AND REF(V的5日简单移动平均,1)>REF(V的5日简单移动平均,2)
价两步赋值: C>=1日前的C AND 1日前的C>2日前的C
价上岗量破5赋值:C>均价黄 AND V>V的5日简单移动平均
量起爆赋值:V>=1日前的V*1
价创新高赋值:C>=0日内C最高值
量创新高赋值:V>=0日内V最高值
对昨日涨幅赋值:(C/DYNAINFO(3)-1)*100<=2.50
每日一点赋值:量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅
VV赋值:BARSSINCE(每日一点)+1
首次起爆价赋值:VV-1日前的C,NODRAW
输出起爆收益:(现价-首次起爆价)/首次起爆价*100,NODRAW
流通盘赋值:当前流通股本*100/100000000,NODRAW
起爆时间赋值:VV日前的TIME/10000,NODRAW
已爆分钟赋值:VV-1,NODRAW
当满足条件每日一点时,在C和13之间画图标
当满足条件每日一点时,在L-0.01和'←日内起爆'位置书写文字
ACX赋值:FILTER(KK1上穿KK2,60)
ACX1:=BARSSINCE(ACX)+1
首次抓板价赋值:ACX1-1日前的C,NODRAW
输出抓板收益:(现价-首次抓板价)/首次抓板价*100,NODRAW
STB赋值:IF(INBLOCK('ST板块'),1,0)
TSB赋值:IF(INBLOCK('ST板块')AND CODELIKE('30') AND DATE>1200823,1,0)
BK赋值:IF(CODELIKE('68'),0.2,IF(CODELIKE('30')AND DATE>1200823,0.2 ,IF(CODELIKE('43') OR CODELIKE('83') OR CODELIKE('47'),0.3,IF(TSB,0.2,IF(STB,0.05,0.1)))))
ZTJ赋值:ZTPRICE(DYNAINFO(3),BK)
DTJ赋值:DTPRICE(DYNAINFO(3),BK)
上赋值:IF( FINANCE(42) >5,IF(现价*1.02< ZTJ,现价*1.02-0.01,ZTJ),现价*1.02-0.01)
下赋值:IF( FINANCE(42) >5,IF(现价*0.98>DTJ,现价*0.98+0.01,DTJ),现价*0.98+0.01)
DRAWTEXT_FIX(1,0.93,0.053,0,STRCAT('输出上: ',VAR2STR(上,2)))画红色
DRAWTEXT_FIX(1,0.93,0.093,0,STRCAT('输出下: ',VAR2STR(下,2)))画绿色