分时源码
㈠ 通达信分时指标图里的分时白线、分时均线黄线源码谁有
你要这个源码一点用都没有。
㈡ 通达信分时图中 分时均价线黄线的源码怎么写
均价:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK2;
IF(均价<=REF(均价,1),均价,DRAWNULL),COLORGREEN,LINETHICK3;
IF(均价>=REF(均价,1),均价,DRAWNULL),COLORYELLOW,LINETHICK3;
DRAWTEXT(CURRBARSCOUNT=4,均价,'均'),COLORYELLOW,LINETHICK3;
DRAWNUMBER(CURRBARSCOUNT=2,均价,均价),COLORYELLOW,LINETHICK3;
(2)分时源码扩展阅读:
分时均线的原理:
与K线图上以每天收盘价作为统计依据的均线不同,均价是以盘口总成交额除以盘口总成交量的运算方式测算当前每一股的平均成交价,十分精确地统计出当前所有参与者的综合持仓成本。因此,有了这条均价线,我们就可以在盘面做一些简单的推理:
1.当股价持续在均价线上方运行时,表明市场预期较好,买盘踊跃,当天介入的大部分投资者都能赚钱,这是盘口强势特征;
2.当股价持续在均价线下方运行时,表明市场预期较差,卖盘踊跃,当天介入的大部分投资者都亏钱,属弱势特征;
3.当均价线从低位持续上扬时,表明市场预期提高,投资者纷纷入场推进股价上涨,综合持仓成本不断抬高,对股价形成支撑;
4.当均价线从高位持续下挫时,表明市场预期较差,投资者纷纷离场迫使股价下跌,综合持仓成本不断下降,对股价形成压制。
一般来说,昨天收盘价是今天盘口多空力量的分水岭,如果开盘后半小时内均价线在昨天收盘价上方持续上扬,那么,该股属极强势且当天收出中长阳的概率较大;开盘后半小时内均价线在昨天收盘价下方持续创新低,该股属极弱势且当天收出中长阴的概率较大。
均价线是超级短线实战的一个重要研判工具,它与分时走势交叉错落,如影随形,临盘运用因人而异,特别当一轮极端炒作的主升浪行将结束之时,盘口拉高的股价突然一改强势上攻个性,击穿均价线后大幅回落,此后如果均价线失而复得,得而复失,则是超短线出局信号。
参考资料:网络-分时均线
㈢ 跪求通达信决战分时指标源码 (见下面效果图)分不够还可追加
这种指标是没有实战意义的。真正有意义的指标不能局限于某个具体的数据。可以搜索"cainong11"视频,共同探讨
㈣ 求通达信分时“买卖力道”源码
通达信分时买卖力道指标公式股票软件源码如下:
A1:=(VOL/CLOSE)/3;
A2:=SUM((IF(((A1>0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A1>0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A4:=SUM((IF(((A1<0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A1<0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((ISLASTBAR=1),((100*A2)/A6),0);
A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0)));
A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0)));
A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0)));
机构买盘:(A2),LINETHICK0;
机构卖盘:(A3),LINETHICK0;
散户买盘:(A4),LINETHICK0;
散户卖盘:(A5),LINETHICK0;
STICKLINE(机构买盘>0 AND 机构买盘>=机构卖盘 AND 机构买盘>=REF(机构买盘,1),20,20+100,1,0),COLORRED;
STICKLINE(机构卖盘>0 AND 机构卖盘>=机构买盘 AND 机构卖盘>=REF(机构卖盘,1),20,20+100,1,0),COLORWHITE;
STICKLINE(散户买盘>0 AND 散户买盘>=散户卖盘 AND 散户买盘>=REF(散户买盘,1),-20,-20-100,1,0),COLORLIMAGENTA;
STICKLINE(散户卖盘>0 AND 散户卖盘>=散户买盘 AND 散户卖盘>=REF(散户卖盘,1),-20,-20-100,1,0),COLORCYAN;
VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;
买卖力道: SMA(VAR2,3,1),COLORLIGRAY;
VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR4:=(IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE<OPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE<OPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2)));
VAR5:=AMOUNT/(100*VOL);
VAR6:=MA(VAR5,40);
VAR7:=100*(CLOSE-VAR6)/VAR6;
底部追击:= IF(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08,300,200),COLORGREEN;
STICKLINE(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08,1200,200,10,0) , COLORGREEN;
VAR8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VAR9:=SMA(VAR8,3,1);
VARA:=SMA(VAR9,3,1);
D: SMA(VARA,5,1)*20, COLORCYAN;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:= EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
BB:(趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10);
买入股票:= (趋势线<=13 AND V12>13),COLORRED;
CCC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
清仓:=FILTER(趋势线>=90 AND V12 AND CROSS(D,买卖力道),5),COLORYELLOW;
卖出区: 清仓+1800,COLORYELLOW;
中:(0+卖出区)/2, COLORGREEN;
{股旁网-股票公式网站 www.gupang.com}
STICKLINE(买卖力道>=中 AND 买卖力道>=REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORMAGENTA;
STICKLINE(买卖力道>=中 AND 买卖力道< REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORBROWN;
STICKLINE(买卖力道<中 AND 买卖力道>=REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORGREEN;
STICKLINE(买卖力道<中 AND 买卖力道< REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORBLUE;
DRAWICON(买入股票,中,15);
DRAWTEXT (BB,0,'买股'),COLORYELLOW;
DRAWTEXT(清仓,买卖力道,'顶'),COLORYELLOW;
STICKLINE(清仓,买卖力道,买卖力道+0.01,2,0),COLORBLUE;
DRAWICON(CROSS(D,中),中,13);
DRAWICON(CROSS(中,买卖力道),买卖力道,2);
DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));
DEA:=(EMA(DIF,6));
MACD:=(DIF-DEA)*3;
红线:=IF(MACD>=0 AND MACD>REF(MACD,1),中,DRAWNULL);
青线:=IF(MACD>=0 AND MACD< REF(MACD,1),中,DRAWNULL);
粉线:=IF(MACD<0 AND MACD>=REF(MACD,1),中,DRAWNULL);
蓝线:=IF(MACD<0 AND MACD< REF(MACD,1),中,DRAWNULL);
STICKLINE(红线,200,250,1,0),COLORRED,LINETHICK1;
STICKLINE(青线,200,250,1,0),COLORCYAN,LINETHICK1;
STICKLINE(粉线,200,250,1,0),COLORMAGENTA,LINETHICK1;
STICKLINE(蓝线,200,250,1,0),COLORBLUE,LINETHICK1;
DRAWICON(CROSS((A2),(A3)),200,23);
㈤ 求通达信分时的 买卖力道 指标 公式 源码
你要索取的是通达信系统自带的分时的“买卖力道”源码,还是自己编制的分时的“买卖力道”公式?
㈥ 请高手将此通达信分时公式源码改成通达信预警公式!
{预警买点}
AA:=((C-LLV(L,40))/(HHV(H,40)-LLV(L,40)))*100;
XX:=(MA(3*SMA(AA,6,1)-2*SMA(SMA(AA,5,1),5,1),2));
XG:CROSS(XX,10);
{预警卖点}
AA:=((C-LLV(L,40))/(HHV(H,40)-LLV(L,40)))*100;
XX:=(MA(3*SMA(AA,6,1)-2*SMA(SMA(AA,5,1),5,1),2));
XG:CROSS(90,XX);
修改成预警公式这个容易,但通达信预警应该只能在日线级别预警吧,不能再分时线级别预警,我不知道切换到一分k先能用不能用,你可以试试.
㈦ 求分时均价线,通达信指标的源码,
均价:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK2;
IF(均价<=REF(均价,1),均价,DRAWNULL),COLORGREEN,LINETHICK3;
IF(均价>=REF(均价,1),均价,DRAWNULL),COLORYELLOW,LINETHICK3;
DRAWTEXT(CURRBARSCOUNT=4,均价,'均'),COLORYELLOW,LINETHICK3;
DRAWNUMBER(CURRBARSCOUNT=2,均价,均价),COLORYELLOW,LINETHICK3;
简单一点就是
均价:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK2;