1.分时追涨公式
2.次日必涨停的追涨资金指标选股指标公式
3.通达信指标分时追涨停指标公式,分时爆量点买入(分时指标副图)
4.懂牛共振追涨指标公式源码?
5.一阳擒涨停指标公式
分时追涨公式
四个分时指标公式:
★分时雄起!公式分时走势上部主图专用!源码
ma5:ma(c,追涨资金指标5);
ma:ma(c,);
ma:ma(c,);
ma:ma(c,);
ma:ma(c,);
ma:ma(c,);
fa:=barslast(cross(ma,ma5)) and cross(ma5,ma);
fb:=fa and ma5>ma and ma>ma and ma>ref(ma,1);
STICKLINE(fb,l,l-0.,4,0),COLORYELLOW;
DRAWTEXT(fb,l-0.,'雄起'),COLORYELLOW;
fa2:=barslast(cross(ma,ma)) and cross(ma,ma);
fb2:=fa2 and ma>ma and ma>ma and ma>ref(ma,1);
STICKLINE(fb2,l,l-0.,4,0),COLORYELLOW;
DRAWTEXT(fb2,l-0.,'雄起'),COLORYELLOW;
★实战分时!下部专用!公式可做进一步简化处理!源码下载源码android studio
input:LONG(,追涨资金指标1,),SHORT(,1,),M(9,1,),p1(,1,),p2(,1,);
DIF:EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA:=EMA(DIF,M);
MACD:=2*(DIF-DEA);
MACD2:2*(DEA-DIF),COLORFFB2,DOTLINE;
MA5:=MA(CLOSE,5);
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
突破线:=MIN(MA*1.1,MA*1.3);
差幅:=C/MIN(MA*1.1,MA*1.3)-1;
均线流:=(MA5>MA AND MA>MA AND MA>MA AND MA5<MA)*0.3;
PL1:=(CLOSE - MA) / MA < 0.1;
PL2:=(CLOSE - MA) / MA < 0.3;
偏离率:(PL1 = 1 AND PL2 = 1) * 0.2,STICK,COLORFFFF,LINETHICK2;
MACD超跌:=COUNT((DIF<DEA),)=;
MACD1:MACD超跌 * "MACD.MACD"(LONG,SHORT,M)*(-1),COLOR,LINETHICK2;
目标:IF(均线流=0.3 AND MACD超跌 AND 偏离率=0.2 ,0.8,0),COLORFF,LINETHICK2;
MBSJ:=BARSLAST(目标 = 0.8);
放量上涨:=V/REF(V,1) >= 1.1 AND C/REF(C,1) >= 1.;
SZSJ:=BARSLAST(放量上涨 = 1);
MACD雄起:=CROSS(DIF,DEA);
JCSJ:=BARSLAST(MACD雄起 = 1);
关注:(MACD雄起 AND REF(MACD1,1) < 0)*-0.1,COLORFF;
启动:(MBSJ <= AND SZSJ <= 1 AND JCSJ <= 1) * 1,COLORFFFF,LINETHICK2;
突破:(偏离率 = 0 AND REF(COUNT(偏离率 = 0.2,) = ,1) = 1) * -0.1,COLORRED;
STICKLINE(偏离率 = 0.2,0,0.2,1,0),colorFFFF;
DRAWTEXT(关注=-0.1,-0.,'关●注'),colorff;
DRAWTEXT(启动,0.8,'★买'),colorFFFF;
DRAWTEXT(突破=-0.1,-0.,'突●破'),colorred;
NHIGH:=REF(HIGH,);
N1LOW:=REF(LOW,1);
FF:=(((NHIGH - N1LOW) / N1LOW) > 0.);
DRAWICON((((((CROSS(MA(CLOSE,P1),MA(CLOSE,P2)) > 0) AND (((NHIGH - N1LOW) / N1LOW) <
0.)) AND (OPEN >= MA(CLOSE,P1))) AND (CLOSE >= MA(CLOSE,P1))) AND (LOW <= MA
(CLOSE,P1))),0.5,1);
DRAWTEXT((((((CROSS(MA(CLOSE,P1),MA(CLOSE,P2)) > 0) AND (((NHIGH - N1LOW) / N1LOW) <
0.)) AND (OPEN >= MA(CLOSE,P1))) AND (CLOSE >= MA(CLOSE,P1))) AND (LOW <= MA
(CLOSE,P1))),0.5,'★^回头望月'),colorCC;
低位雄起:CROSS(DIF,DEA) AND DIF<-0.1,colorwhite;
STICKLINE(低位雄起,0,0.,6,0),COLORwhite;
DRAWTEXT(低位雄起,低位雄起-1.5,' 低位雄起'),COLORWHITE;
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
雄起:CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,)=1,coloryellow;
STICKLINE(雄起,0,0.,6,0),ColorFFFF;
DRAWICON(雄起,dea*1.,1) ;
DRAWTEXT(雄起,0.5,' 雄起'),ColorYELLOW;
if(dif<0,dif,0),coloryellow,linethick2;
if(dif<0,0,dif),colorred,linethick2;
if(dif<dea,dif,dea),COLORWHITE,linethick2;
if(dif>dea,dea,dea),COLORFF{ colorffff},linethick2;
操盘:STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,4,1),COLORRED{ COLORFF};
减仓:STICKLINE(MACD>=0 AND MACD< REF(MACD,1),0,MACD,4,0),COLORblue{ COLORFF};
反弹:STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,4,1),COLORYELLOW{ COLORFFFF};
寻底:STICKLINE(MACD<0 AND MACD< REF(MACD,1),0,MACD,4,0),COLORFFFF;
空仓:0,COLORWHITE;
★分时机密!下部专用!公式可做进一步简化处理!源码多用于开盘就抓涨!追涨资金指标
V1:=(C*2+H+L)/4*;
V2:=EMA(V1,公式)-EMA(V1,);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
庄秘撤: IF(V4<=0,V4,0),COLORFF,LINETHICK2;
庄秘进: IF(V4>=0,V4,0),COLORFFFF,LINETHICK2;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,)-EMA(V8,);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大筹金进场: IF(VB>=0,VB,0),COLORYELLOW,LINETHICK2;
大筹金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;
aa:=WINNER(CLOSE+CLOSE*/)*;
bb:=WINNER(CLOSE+CLOSE*0/)*;
cc:=aa-bb;
dd:=(WINNER(CLOSE-CLOSE*0.1/)-WINNER(CLOSE-CLOSE*/))*;
ee:=cc<3 and dd<0.5 and OPEN<>LOW;
a1:=DYNAINFO(6);
a2:=IF(LOW>a1,0,IF(HIGH<a1,1,(a1-LOW+0.)/(HIGH-LOW+0.)));
a3:=VOL/WINNER(LOW);
a4:=REF(HHV(CLOSE,),1);
a5:=REF(LLV(CLOSE,),1);
a6:=*(CLOSE-a5)/(a4-a5);
a7:=a2>0 or a2=1;
a8:=a7 and a3/REF(a3,3)>=3 and a6<;
a9:=REF(a8,1) or REF(a8,2) or REF(a8,3) or REF(a8,4);
a:=a8 and a9;
a:=IF(FILTER(a8,3),5,0);
a:=IF(FILTER(a,3) or ee,,0);
筹码进场日:IF(a,8,0),LINETHICK0;
STICKLINE(a,0,,5,0),colorffff;
筹码加仓日:IF(a,,0),LINETHICK0;
STICKLINE(a,0,,5,0),colorffff;
STICKLINE(a,0,5,5,0),colorff;
STICKLINE(a,0,5,4.5,0),colorff;
STICKLINE(a,0,5,4,0),colorff;
STICKLINE(a,0,5,3.5,0),colorffaa;
STICKLINE(a,0,5,3,0),colorffbb;
STICKLINE(a,0,5,2.5,0),colorffcc;
STICKLINE(a,0,5,2,0),colorffdd;
STICKLINE(a,0,5,1,0),colorffee;
STICKLINE(a,0,,4.5,0),color;
STICKLINE(a,0,,4,0),coloraa;
STICKLINE(a,0,,3.5,0),colorbb;
STICKLINE(a,0,,3,0),colorcc;
STICKLINE(a,0,,2.5,0),colordd;
STICKLINE(a,0,,2,0),coloree;
STICKLINE(a,0,,1,0),colorff;
DRAWTEXT(a,8,'筹码进场');
DRAWTEXT(a,,'筹码加仓');
Var1:=REF(LOW,1);
Var2:=SMA(ABS(LOW-Var1),,1)/SMA(MAX(LOW-Var1,0),,1)*4;
Var3:=EMA(Var2,);
Var4:=LLV(LOW,);
Var5:=EMA(IF(LOW<=Var4,Var3,0),3);
主力进场:
STICKLINE(Var5>REF(Var5,1),0,Var5,7,0 ),COLORRED;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,LINETHICK2;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2,1),COLORGREEN;
Var6:=-3*SMA((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,,1)+2*SMA(SMA((CLOSE-
LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,,1),,1);
Var7:=-3*SMA((OPEN-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,,1)+2*SMA(SMA((OPEN-LLV
(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,,1),,1);
Var8:=Var6<REF(Var7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(Var8 AND COUNT(Var8,)=1,,'★注意有筹码进场迹象');
★分时作为!(专门监视庄家行动变化)同时也可用于买入信号观注点!源码
Var1:=EMA(EMA(CLOSE,追涨资金指标上传mv网站源码),);
作为:=(Var1-REF(Var1,1))/REF(Var1,1)*;
无庄作为:STICKLINE(作为<0,作为,0,4,0),colorwhite;
有庄作为:STICKLINE(作为>REF(作为,1) AND 作为>0,作为,0,4,1),colorred;
Var2:=*WINNER(CLOSE*0.);
出货作为:STICKLINE(作为<REF(作为,1) AND 作为>0,作为,0,4,0),colorff;
高度作为:STICKLINE(Var2> AND COST()<CLOSE AND 作为>0,作为,0,4,0),colorffff;
a:=CROSS(作为,0);
开始作为:if(a,6,0),coloryellow;
★分时实战
input:LONG(,1,),SHORT(,1,),M(6,1,),N(6,1,);
MA5:=MA(CLOSE,5);
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
DIF:EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA:EMA(DIF,M);
MACD:=2*(DIF-DEA);
Q:2*(DEA-DIF),COLORFF;
MACD超跌:=COUNT((DIF<DEA),)=;
Q1:MACD超跌 * "MACD.MACD"(LONG,SHORT,M),COLORFFFF,LINETHICK2;
{ 本行中,大智慧版本选择*(-1);飞弧版本选择*(1)}
MACD金叉:=CROSS(DIF,公式DEA);
DTPL:=MA>MA AND MA>MA AND MA>REF(MA,1);
关注:=(MACD金叉 AND REF(Q1,1) < 0)*-0.1;
均线:(DTPL AND MA5>MA AND MA5<MA)*-0.,colorFFB2,LINETHICK1,PRECIS2,DOTLINE;
偏离:(C<MIN(MA*1.,MA*1.1) AND C>MA)*0.,COLOR,LINETHICK1,PRECIS2,DOTLINE;
DRAWTEXT(关注,-0.,'GZ'),colorff,align1;
BDGD:=C=HHV(C,);
GDSJ:=BARSLAST(BDGD);
目标:IF(均线 AND 偏离 AND GDSJ>=N,0.5,0),COLORffff,POINTDOT,PRECIS1,LINETHICK3;
MBSJ:=BARSLAST(目标);
MAV5:=EMA(V,5);
MAV:=EMA(V,);
LNMACD:=((V-MAV5)/MAV5*2+(V-MAV)/MAV)*;
量坑:=LNMACD<=-;
优选:=目标 AND COUNT(量坑,3)>=1;
DRAWICON(优选,-0.2,);
NHIGH:=REF(HIGH,6);
N1LOW:=REF(LOW,1);
DRAWTEXT((((((CROSS(MA(CLOSE,),MA(CLOSE,)) > 0) AND (((NHIGH - N1LOW) / N1LOW) <
0.)) AND (OPEN >= MA(CLOSE,))) AND (CLOSE >= MA(CLOSE,))) AND (LOW <= MA
(CLOSE,))),0.5,'^回头望月'),colorCC;
低位金叉:=CROSS(DIF,DEA) AND DIF<-0.1;
STICKLINE(低位金叉,0,0.,6,1),COLORwhite;
DRAWTEXT(低位金叉,低位金叉-1.3,' 低金'),COLORWHITE;
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,)=1;
STICKLINE(二次金叉,0,0.2,4,0),ColorFFFF;
DRAWTEXT(二次金叉,0.4,' 二金'),ColorYELLOW;
A4:=BARSLAST(ref(cross(dif,dea),1));
B1:=ref(c,A4+1)>c and ref(dif,A4+1)<dif and cross(dif,dea);
DRAWTEXT(FILTER(B1>0,5),dif+0.2,'背离'),COLORyellow;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,3,0),COLORRED{ COLORFF};
STICKLINE(MACD>=0 AND MACD< REF(MACD,1),0,MACD,3,0),COLORblue{ COLORFF};
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,3,0),COLOR4ABEFF{ COLORFFFF};
STICKLINE(MACD<0 AND MACD< REF(MACD,1),0,MACD,3,0),COLORFFFF;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
周K:=MA(".K#WEEK"(9,3,3) ,5);
周D:=MA(".D#WEEK"(9,3,3) ,5);
周J:=MA(".J#WEEK"(9,3,3) ,5);
DRAWICON(k< and cross(k,d),MACD,1),align2;
周金RAWTEXT(CROSS(".K#WEEK"(9,3,3),".D#WEEK"(9,3,3)) ,MACD,'▲'),align2,COLORred;
周死RAWTEXT(CROSS(".d#WEEK"(9,3,3),".k#WEEK"(9,3,3))
,macd*1.5,'▼'),align2,COLORgreen;
月金RAWTEXT(CROSS(".K#MONTH"(9,3,3),".D#MONTH"(9,3,3))
,MACD,'▲'),align2,COLORMAGENTA;
月死:DRAWTEXT(CROSS(".D#MONTH"(9,3,3),".K#MONTH"(9,3,3))
,macd*1.5,'▼'),align2,COLOR3fbb8b;
if(dif<0,dif,0),coloryellow,linethick2;
if(dif<0,0,dif),colorred,linethick2;
if(dif<dea,dif,dea),COLORWHITE,linethick2;
if(dif>dea,dea,dea),COLORgreen{ colorffff},linethick2;
HH:=MA(CLOSE,);
GG:=MA(CLOSE,);
上:=ema((MA(HIGH,3) * 1.),);
下:=ema((MA(LOW,3) * 0.),);
决战:STICKLINE((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND
(DIF < 0)),DIF,0.3,1,0),colorFF;
{ DRAWICON((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF
< 0)),0.4,0);}
DRAWTEXT((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF
<= 0)),0.3,'DIF金叉'),colorFF;
STICKLINE(FILTER(((((MACD >= REF(MACD,5)) AND ((下 - REF(下,1)) > 0)) AND (MACD <= 0)) AND
((GG - REF(GG,1)) >= 0)),3),0,0.4,1,0),colorFF;
{ DRAWICON(FILTER(((((MACD >= REF(MACD,5)) AND ((下 - REF(下,1)) > 0)) AND (MACD <= 0)) AND
((GG - REF(GG,1)) >= 0)),3),0.5,0);}
DRAWTEXT(FILTER(((((MACD >= REF(MACD,5)) AND ((下 - REF(下,1)) > 0)) AND (MACD <= 0)) AND
((GG - REF(GG,1)) >= 0)),3),0.4,'绝佳买入'),colorFF;
次日必涨停的选股指标公式
以下是一种次日可能上涨的选股指标公式,适用于尾盘买入策略:
1. 首先计算VAR1值,源码公式为VAR1 = (今日收盘价 - 日低点 / (日最高价 - 日低点)) * ;
2. 然后计算VAR2,VAR2 = 3日移动平均(VAR1);
3. 继续VAR3,VAR3 = 3日移动平均(VAR2);
4. 接下来VAR4 = 3 * VAR2 - 2 * VAR3;
5. VAR5和VAR6分别表示5日内的最低价和最高价,VAR5 = 5日低点,VAR6 = 5日最高价;
6. 计算VAR7,VAR7 = 4日指数移动平均((今日收盘价 - VAR5) / (VAR6 - VAR5) * ) * 2;
在实际操作中,尾盘买入策略依赖于股票在收盘前的走势。如果当日价格跌破支撑位,通常不建议买入,因为第二天可能会继续探底。gcc源码包编译相反,如果股价突破压力位后回踩并站稳,尾盘买入可能会有较大获利机会,因为上涨惯性可能推动第二天的股价上涨。不过,过早追涨可能面临剩余交易时间的风险,最好在早盘动能持续或平开震荡时买入。
对于突破后回踩确认的情况,盘中追涨买入也可能有利可图,但要注意确认突破的真假,避免假突破后的回调。对于下跌趋势中的qtcore源码下载地址回踩,要特别谨慎,因为跌破支撑位可能导致进一步下跌。在抄底或补仓时,切记等待趋势明朗再行动,避免盲目追跌。
总的来说,选股时要综合考虑位置、趋势、市场环境和风险,不能仅凭短期涨幅决策。选择合适的时机和股票组合,才能提高投资成功的诸侯点将录源码概率。
通达信指标分时追涨停指标公式,分时爆量点买入(分时指标副图)
第一部分 指标介绍
通达信分时追涨停副图指标,专为分时图设计,集多种买入信号于一体。信号包括起涨潜伏买点、确定买点、追涨买点与爆量买入点。适用于盘中分时参考买入,使用者反馈效果不错。
使用策略上,低位起涨时采用红色三角信号进行潜伏买入,采用小仓位操作。红色钻石信号表明主力力量爆发,是明确的买入机会。追涨信号出现时,可追涨至涨停板。若速度过快无法买入,选择打板介入,通常第二天能快速获得利润。
该指标适用于电脑版通达信软件。
第二部分 公式源码
指标公式包含多个关键参数,用于计算买入时机。
买方力度由前一周期的收盘价与成交量决定,表示买方力量。
卖方力度则反映卖方力量。
主力买入量级由交易量与平均交易量比值决定。
主力追涨与主力涨停的买入量级分别为主力买入量级的两倍与五倍。
一系列逻辑判断用于识别买入信号。
当成交量大于主力买入量级,且价格高于短期最高价,且成交量动态信息大于1.,且价格高于前一周期最高价,发出起涨潜伏买点信号。
当成交量大于主力追涨量级,且价格同样满足前述条件,发出追涨信号。
若成交量大于主力涨停量级,且价格高于短期最高价,且满足特定逻辑条件,发出爆量买入点信号。
整个指标通过精确计算与逻辑判断,为投资者提供分时买入的决策依据。
懂牛共振追涨指标公式源码?
牛共振追涨指标是一种用于股票分析的技术指标,可以用来判断股票价格的涨跌趋势和市场热度。其计算公式如下:
牛共振追涨指标 = (收盘价 - N日前的最低价) / (N日前的最高价 - N日前的最低价) *
其中,N代表计算周期,收盘价为当日收盘价,N日前的最高价和最低价分别为过去N天中的最高价和最低价。
以下是使用Python语言实现牛共振追涨指标的源码:
def get_bull_resonance(df, n):
"""
计算牛共振追涨指标
:param df: 包含股票收盘价的数据框
:param n: 计算周期
:return: 牛共振追涨指标
"""
df['min_price'] = df['close'].rolling(n).min() # 计算N日内的最低价
df['max_price'] = df['close'].rolling(n).max() # 计算N日内的最高价
df['bull_resonance'] = (df['close'] - df['min_price']) / (df['max_price'] - df['min_price']) * # 计算牛共振追涨指标
return df['bull_resonance']
使用该代码可以计算股票的牛共振追涨指标,其中参数df为包含股票收盘价的数据框,n为计算周期。函数返回值为牛共振追涨指标。
一阳擒涨停指标公式
1. 涨停指标公式为:REF(C/REF(C,1)=1.,1)AND CREF(C,1)。
2. 在整个板块启动时,应追求率先涨停的股票,即板块内的领头羊。在牛市或极度强势的市场中,更应如此,选择第一个涨停的股票进行追涨。
3. 盘中应及时搜索涨幅排行榜,对接近涨停的股票进行查看,包括其当前价格、前期走势及流通盘大小,以确定其是否适合作为介入对象。
4. 当涨幅达到9%以上时,应做好买入准备,以防主力大单封涨停而错过买入机会。
2024-11-30 06:45
2024-11-30 06:22
2024-11-30 06:14
2024-11-30 05:53
2024-11-30 05:24
2024-11-30 05:14
2024-11-30 04:18
2024-11-30 04:16