首页 > 编程语言 >通达信牛股强势异动指标公式源码

通达信牛股强势异动指标公式源码

时间:2024-03-10 11:22:20浏览次数:26  
标签:COUNT MA VAR68 牛股 HIGH 通达信 源码 CLOSE REF

{ 通达信牛股强势异动指标公式源码 }

VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,60);
VAR4:=MA(CLOSE,120);
VAR7:=EMA(HHV(HIGH,1),8);
VAR8:=EMA(CLOSE,8);
VAR9:=VAR8<ref(var8,1) and="" close<var8;<br=""> VAR10:=IF(VAR7<ref(var7,1) or="" var9,1,0);<br=""> VAR11:=(COUNT(VAR10=1,4)=3 AND VAR10=0)*89;
VAR12:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
VAR13:=IF(CLOSE>OPEN,VAR12*(HIGH-LOW),IF(CLOSE<open,var12*(high-open+close-low),vol 2))+if(close="">OPEN,0-VAR12*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<open,0-var12*(high-low),0-vol 2));<br=""> VAR14:=VAR13/20/1.15;
VAR15:=VAR14*0.55+REF(VAR14,1)*0.33+REF(VAR14,2)*0.22;
VAR16:=EMA(VAR15,3);
VAR17:=VAR16<100;
VAR18:=COUNT(VAR17,9)<2;
VAR19:=CLOSE/REF(CLOSE,1)>1.09;
VAR20:=CLOSE=HIGH;
VAR21:=REF(VAR19,1) AND REF(VAR20,1);
VAR22:=COUNT(VAR21,11)>0;
VAR23:=MA(CLOSE,3);
VAR24:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR25:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR26:=REF(HHV(VOL,10),1);
VAR27:=MA(CLOSE,20);
VAR28:=(VAR23+VAR1)/2;
VAR29:=COUNT(COUNT(VAR24>9.9 AND CLOSE=HIGH,1)>=1,30)>0;
VAR30:=COUNT(COUNT(VAR24>9.9 AND CLOSE=HIGH,1)>=1,60)>0;
VAR31:=VAR27>REF(VAR27,1) AND VOL3 AND OPEN<=VAR1 AND CLOSE>VAR1 AND (COUNT(VAR28>REF(VAR28,1),3)>=3 OR COUNT(VAR1>REF(VAR1,1),3)>=3) AND COUNT(VAR27>REF(VAR27,1),25)>=16;
VAR32:=(CLOSE-OPEN)/OPEN*100;
VAR33:=VAR30 AND VOL<1.3*REF(VOL,1) AND COUNT(VAR32>0.5,6)>=5 AND COUNT(VAR23>VAR1,5)>=5 AND COUNT(HIGH>REF(HIGH,1),6)>=5 AND VAR25>4.5 AND OPEN<=VAR23 AND CLOSE>VAR23 AND OPEN>VAR1;
VAR34:=VAR31 OR VAR33;
VAR35:=VAR34=1 AND COUNT(VAR34,15)=1;
VAR36:=AMOUNT/VOL/7;
VAR37:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR38:=SUM(AMOUNT,10)/VAR36/7;
VAR39:=DMA(VAR37,VOL/VAR38);
VAR40:=(CLOSE-VAR39)/VAR39*100;
VAR41:=-VAR40;
VAR42:=VAR40>VAR41;
VAR43:=crOSS(VAR40,0.6) AND VAR42;
VAR44:=EMA(CLOSE/REF(CLOSE,1),5);
VAR45:=EMA(CLOSE/REF(CLOSE,1),10);
VAR46:=CROSS(VAR44,VAR45);
VAR47:=VAR43 AND VAR46;
VAR48:=VAR47 AND VAR35;
VAR49:=COUNT(VAR35,10)>0;
VAR50:=VAR47 AND VAR49 AND VAR22;
VAR51:=VAR47 AND VAR22 AND VAR11;
VAR52:=VAR48 AND VAR22;
VAR53:=VAR50 OR VAR52 OR VAR51;
VAR59:=EMA(EMA(EMA(CLOSE,12),12),12);
VAR60:=(VAR59-REF(VAR59,1))/REF(VAR59,1)*100;
VAR61:=MA(VAR60,9);
VAR62:=VAR60>VAR61;
VAR63:=CLOSE/REF(CLOSE,1)>1.09;
VAR64:=CLOSE=HIGH;
VAR65:=REF(VAR63,1) AND REF(VAR64,1);
VAR66:=COUNT(VAR65,4)>0;
VAR68:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR69:=(20*VAR68+19*REF(VAR68,1)+18*REF(VAR68,2)+17*REF(VAR68,3)+16*REF(VAR68,4)+15*REF(VAR68,5)+14*REF(VAR68,6)+13*REF(VAR68,7)+12*REF(VAR68,8)+11*REF(VAR68,9)+10*REF(VAR68,10)+9*REF(VAR68,11)+8*REF(VAR68,12)+7*REF(VAR68,13)+6*REF(VAR68,14)+5*REF(VAR68,15)+4*REF(VAR68,16)+3*REF(VAR68,17)+2*REF(VAR68,18)+REF(VAR68,20))/210;
VAR70:=MA(VAR69,6);
VAR71:=VAR69>VAR70;
VAR72:=CLOSE>1.02*REF(CLOSE,1);
VAR73:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<(-6);
VAR75:=REF(CLOSE,1)<(REF(CLOSE,BArslAST(VAR73))+REF(CLOSE,BARSLAST(VAR73)+1))/2 AND CLOSE>(REF(CLOSE,BARSLAST(VAR73))+REF(CLOSE,BARSLAST(VAR73)+1))/2;
VAR76:=BARSLAST(VAR73)<=7 AND VAR72 AND VAR75 AND COUNT(VAR72,BARSLAST(VAR73))=1 AND NOT(HIGH=LOW) AND REF(NOT(HIGH=LOW),BARSLAST(VAR73))=1;
VAR78:=((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004;
VAR79:=CROSS(CLOSE,VAR78) AND VAR78>REF(VAR78,1);
VAR80:=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;
VAR81:=CROSS(CLOSE,VAR80) AND VAR80>REF(VAR80,1);
VAR82:=VAR79 AND VAR81 AND VAR76 AND VAR71 AND VAR62;
VAR83:=VAR66 AND VAR76 AND VAR71 AND VAR62;
VAR84:=VAR82 OR VAR83;
VAR85:=VAR18 AND VAR53;
VAR86:=VAR84 OR VAR85;
STICKLINE(VAR86,0,20.6,8,0),COLORGREEN;
STICKLINE(VAR86,20.6,38.200001,6,0),COLORYELLOW;
STICKLINE(VAR86,38.200001,61.799999,5,0),COLORLIMAGENTA;
DRAWTEXT(VAR86,58.799999,4),COLORLIMAGENTA,LINETHICK4;
DRAWICON(VAR86,61.799999,13);

 

标签:COUNT,MA,VAR68,牛股,HIGH,通达信,源码,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/18063884

相关文章

  • 通达信波浪风险系数指标公式源码
    {通达信波浪风险系数指标公式源码}VAR13:=IF(YEAR>=2018ANDMONTH>=11ANDDAY>=1,0,1);AA:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;BB:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;CC:=EMA(AA,2);DD:=EMA(BB,5);VAR14:=MAX(EMA(AA,2)-EMA(BB,5),0)*1.2;VAR......
  • 通达信中波01号指标公式源码副图
    {通达信中波01号指标公式源码副图}X_1:=(MA(AMOUNT,5)/MA(vol,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100);X_2:=MA((LLV(LOW,28)-CLOSE)/(HHV(HIGH,28)-LLV(LOW,28))*100,5);X_3:=IF(NAMELIKE(1),0,1)ANDIF(NAMELIKE(2),0,1);X_4:=(CLOSE-MA(......
  • 通达信买入翻倍指标公式源码副图
    {通达信买入翻倍指标公式源码副图}{指标介绍:当多空线上穿0轴以后并且沿着45度向上运行时可视为有效突破,此时的信号可视为有效信号。信号出现在平台盘整期间,或者是小多头回调之后向上拉升之际,此时的信号最为有效,其它时间的信号要仔细辨别,下跌趋势中信号或者是高位钝化中的信号......
  • 通达信九转主图指标公式源码主图
    {通达信九转主图指标公式源码主图}买线:=EMA(C,1);卖线:=EMA(SLOPE(C,10)*10+C,20);STICKLINE(买线>=卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR442233;STICKLINE(买线<卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR224056;DRAWKL......
  • 通达信平台支撑线主图指标公式源码
    {通达信平台支撑线主图指标公式源码}N日平台:=20;所属板块:=STRCAT('【所属板块】',STRCAT(STRCAT(STRCAT('【行业】',HYBLOCK),STRCAT('【概念】',GNBLOCK)),STRCAT('【地区】',DYBLOCK)));DRAWTEXT_FIX(ISLASTBAR,0.00,0.0,0,所属板块),COLORBLUE;MA5:MA(CLOSE,5),COLORD......
  • 通达信突破追涨副图指标公式
    {通达信突破追涨副图指标公式}T1:=BARSLAST(EMA(CLOSE,5)<ref(ema(close,5),1))=1;<br="">C1:=MAX(C,O);GAO1:=MAX(REF(C1,1),REF(C1,2));GAO2:=MAX(GAO1,REF(C1,3));GAO3:=MAX(GAO2,REF(C1,4));GAO4:=MAX(GAO3,REF(C1,5));GAO5:=MAX(GAO4,REF(C1,6));GAO6......
  • 通达信三线合一主图,抓住老鼠仓源码
    {通达信三线合一主图,抓住老鼠仓源码}源码参数数量:2参数1:N,最小:0,最大:1000,缺省:6参数2:M,最小:0,最大:1000,缺省:3公式类型:技术指标公式-其他类型画线方法:主图叠加公式版本:0显示小数:缺省位数坐标线位置:自动额外Y轴分界:无参......
  • 通达信牛股平台突破,副图指标公式
    {通达信牛股平台突破,副图指标公式}MA10A:=MA(CLOSE,10);MA54A:=MA(CLOSE,54);HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;HJ_9:=FILTER(HJ_8,10);HJ_10:=BArslAST(HJ_9);HJ_11:=REF(HIGH,HJ_10+2);HJ_12:=REF(HIGH,HJ_10+1);HJ_13:=REF(HIGH,HJ_10);HJ_14:=MAX(......
  • 通达信涨停阴阳绝杀主图源码
    {通达信涨停阴阳绝杀主图源码} DRAWGBK(C>0,RGB(20,10,60),RGB(350,60,150),0,'1',0);DRAWKLINE(H,O,L,C);涨停:=IF((C-REF(C,1))/REF(C,1)>0.097,1,0);STICKLINE(涨停,OPEN,CLOSE,3,0),COLORMAGENTA;BL:=MA(CLOSE,10);UB:=BL+2*STD(CLOSE,10);LB:=BL-2*STD(CLOSE,......
  • 通达信精进3号主图,清楚显示支撑压力位置源码
    {通达信精进3号主图,清楚显示支撑压力位置源码}清楚显示支撑压力位置用法:1、当天进出价位均用白色线显示,(只显示当天和变盘的那一天),其余时间表示趋势未变。向上突破白色线进入,向下破位白色线必出,必须严格执行;2、当天发生变盘分别用黄K线和绿色K线提示;3、进出价位分别用红......