股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信超级无敌涨停分时副图公式


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-9 12:09:06

以下是通达信超级无敌涨停分时副图公式

通达信超级无敌涨停分时副图公式

{超级涨停1}
CC:=C;
TT:=BARSCOUNT(CC);
均价:=SUM(V*C,0)/SUM(V,0);
均:=MA(CC,TT);
时长:=TIME>93000;
涨幅:=CC/REF(C,1)>1.02;
跌幅:=CC/REF(C,1)<0.98;
横盘:=((HHV(CC,TT)-LLV(CC,TT))/CC)<0.05;
YY:=SMA(VOL,30,1);
放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.95;
涨跌幅:=涨幅 OR 跌幅;
横涨1:=涨跌幅=0 AND 横盘 AND 放量 AND CROSS(均价,均);
{分时抓涨停2}
KK1:=BARSLAST(CLOSE=HHV(CLOSE,2000));
KK2:=BARSLAST(CLOSE=LLV(CLOSE,2000));
{启动前期分时副}{可作预警3}
VAR2:=LLV(LOW,21);
VAR3:=HHV(HIGH,21);
VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,20)*0.998;
DXTD:=20;
短线:=EMA(0.667*REF(VAR4,1)+0.333*VAR4,1);

{分时涨停4-猛虎狂猎涨停板}
Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);
Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));

{分时预警公式5}
分时预警:=C/REF(C,1)>1.02 AND V*240/FROMOPEN/REF(MA(V,1),1)>=2 AND C=H AND REF(C,1)/L<1.015 AND C/REF(C,1)<1.07;
{发家分时6}
日1:=EMA(C,1),COLORFF00FF;
日:=EMA((H+L+C)/3,1);
日5:=MA(EMA((H+L+C)/3,1),5);
日10:=MA(EMA((H+L+C)/3,1),10);
对比日:=EMA(REF(日,240),1);
对比日5:=MA(EMA(REF(日,240),1),5);
对比日10:=MA(EMA(REF(日,240),1),10);
强:=日5>对比日5 AND 日10>对比日10 AND 日5-对比日5>0 AND 日10-对比日10>0;
角:=(ATAN((日10/REF(日10,5)-1)*100)*180/3.14115926)>30;
角2:=(ATAN((日10/REF(日10,5)-1)*100)*180/3.14115926)>20;
弱:=日5<对比日5 AND 日10<对比日10 AND 日5-对比日5<0 AND 日10-对比日10<0 AND 对比日5>REF(对比日5,3);

发家分时:=CROSS(日1,对比日) AND C>REF(C,240);

{获利盘7}
获利盘:=100*WINNER(CLOSE)<0.15;
{平安8}
N:=7.5;
MMA30:=EMA(CLOSE,30);
强弱界定:=IF(PERIOD=0,EMA(CLOSE,900),DRAWNULL),COLORWHITE,LINETHICK2;
分时价量线:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;
实时涨幅限制:=(C/DYNAINFO(3)-1)*100;
{买卖力度}
YD:=DYNAINFO(3);
MM:=IF(C=DYNAINFO(4)*1.1 AND L=DYNAINFO(4)*1.1,H-YD,H-REF(C,1));
M:=IF(MM>0,MM,0.0);
SS:=IF(C=DYNAINFO(4)*0.9 AND H=DYNAINFO(4)*0.9,YD-H,REF(C,1)-L);
S:=IF(SS>0,SS,0.0);
HJ:=M+S;
买入力度:=M/HJ*AMOUNT/CAPITAL;
卖出力度:=S/HJ*AMOUNT/CAPITAL;
买卖力度:=SUM((买入力度-卖出力度),0);
买卖力度比:=买卖力度/SUM((买入力度+卖出力度),0)*50;
买卖力度比设置:=买卖力度比+50;
买卖力度比限制:=IF(买卖力度比设置>80,80,IF(买卖力度比设置<20,20,买卖力度比设置));

分时力度线:=SUM(C*买卖力度比限制,240)/SUM(买卖力度比限制,240);
买卖力度参考线0:=MA(买卖力度比限制,8)*1.062;
买卖力度参考线:=MA(买卖力度比限制,8)*1.091;
买卖力度参考线2:=MA(买卖力度比限制,5)*1.191;
平安分时关注:=买卖力度参考线<50 AND CROSS(买卖力度比限制,50);
平安分时追涨:=(CROSS(买卖力度比限制,买卖力度参考线) OR (CROSS(买卖力度比限制,买卖力度参考线0) AND 买卖力度比限制>70))
AND (买卖力度比限制>50) AND (MMA30>强弱界定 OR 分时价量线>强弱界定 OR C>MAX(MMA30,强弱界定)) AND C>分时价量线
AND V>MA(V,20) AND DYNAINFO(17)>=1.2 AND 实时涨幅限制<N;
{平安关注:=FILTER(平安分时关注,20);}
平安追涨:=FILTER(平安分时追涨,20);
平安:=平安追涨;
{时间限制}
{时间限制:IF(FROMOPEN <=30,20,0);}

{买点限制}
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
支撑:=L1+P1*0.5/8;
现价:=C;
阻力:=L1+P1*7/8;

{上涨区间}
MR:=C<支撑 AND CROSS(C,REF(C,2));
上涨1:=MR=1 OR CROSS(现价,支撑);
上涨:=COUNT(上涨1,FROMOPEN);
买点限制:=IF(上涨,20,0);

{下跌区间}
MC:=C>阻力 AND CROSS(REF(C,2),C);
下跌1:=MC=1 OR CROSS(阻力,现价);
下跌:=COUNT(下跌1,FROMOPEN);
买点限制1:=IF(下跌=0,25,0);

{强势涨停}
RC:=DYNAINFO( 3);
地:=DYNAINFO(11)+(DYNAINFO(11)*0.021);
趋势涨停:=IF(DYNAINFO(7)>地,1,0);

{选阶段性底部的启动的个股,不要买己拉升了几根长阳后的高位股。切记!}
涨停1:IF(横涨1 AND 买点限制1 =25 AND 买点限制 =20 AND 趋势涨停,30,0) ,COLORYELLOW;
涨停2:IF(CROSS(KK1,KK2) AND 买点限制1 =25 AND 买点限制 =20 AND 趋势涨停,30,0),COLORLIMAGENTA;
涨停3:IF(CROSS(短线,DXTD) AND 买点限制1 =25 AND 买点限制 =20 AND 趋势涨停,30,0),COLORGREEN;
涨停4:IF(CROSS((C/Q2),1.03) AND 买点限制1 =25 AND 买点限制 =20 AND 趋势涨停,30,0),COLORLIGRAY;
涨停5:IF(分时预警 AND 买点限制1 =25 AND 买点限制 =20 AND 趋势涨停,30,0),COLORCYAN;
涨停6:IF(发家分时 AND 买点限制1 =25 AND 买点限制 =20 AND 趋势涨停,30,0),COLORLIRED;
涨停7:IF(获利盘 AND 买点限制1 =25 AND 买点限制 =20 AND 趋势涨停,30,0),COLORLIGREEN;
涨停8:IF(平安 AND 买点限制1 =25 AND 买点限制 =20 AND 趋势涨停,30,0),COLORLIMAGENTA;



回复

举报

QQ|

GMT+8, 2024-11-19 00:32

快速回复 返回顶部 返回列表