您当前的位置:股票 > 财经资讯 > 财经频道

通达信发了小财的布林主图公式,通达信趋势线公式

2024-06-15 23:17:50 来源: 作者: admin888
分享到
关注牛市通网在线:
  • 扫描二维码

    关注√

    牛市通网微信

在线咨询:
  • 扫描或点击关注牛市通网在线客服

通达信发了小财的布林主图公式,通达信趋势线公式

通达信发了小财的布林主图公式

JL01:=ma(C,3);

LJL07:=(3*C+L+O+H)/6;

牛线:(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(LJL07,4)+15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,14)+5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,COLORRED;

马线:MA(牛线,6),COLORYELLOW,LINETHICK4,POINTDOT;

上限:马线+3*stD(CLOSE,20),COLORMAGENTA,crOSSDOT;

下限:马线-2.9*STD(CLOSE,20),COLOR2693FF,CROSSDOT;

买:马线-2*STD(CLOSE,20),LINETHICK2,COLORFF937F;

卖:马线+2*STD(CLOSE,20),LINETHICK2,COLOR00FF00;

等待:IF(JL01<=牛线,马线,DRAWNULL),COLORMAGENTA,LINETHICK4,POINTDOT;

VAR1:=(C>REF(C,1) AND C>REF(C,2));

VAR2:=(REF(VAR1,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR3:=(REF(VAR2,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR4:=(REF(VAR3,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR5:=(REF(VAR4,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR6:=(REF(VAR5,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR7:=(REF(VAR6,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR8:=(REF(VAR7,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR9:=(REF(VAR8,1) AND C>=REF(C,1) AND C<=REF(C,2));

VARA:=(REF(VAR9,1) AND C<=REF(C,1) AND C>=REF(C,2));

VARB:=(REF(VARA,1) AND C>=REF(C,1) AND C<=REF(C,2));

VARC:=(REF(VARB,1) AND C<=REF(C,1) AND C>=REF(C,2));

持股:IF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,牛线,DRAWNULL),COLORRED,LINETHICK1;

VARD:=(C

VARE:=(REF(VARD,1) AND C>=REF(C,1) AND C<=REF(C,2));

VARF:=(REF(VARE,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR10:=(REF(VARF,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR11:=(REF(VAR10,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR12:=(REF(VAR11,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR13:=(REF(VAR12,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR14:=(REF(VAR13,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR15:=(REF(VAR14,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR16:=(REF(VAR15,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR17:=(REF(VAR16,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR18:=(REF(VAR17,1) AND C>=REF(C,1) AND C<=REF(C,2));

持币:IF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,牛线,DRAWNULL),COLORGRAY,LINETHICK1;

LW05:=MA(C,5);

LW10:=MA(C,10);

LW30:=MA(C,30);

五日乖离率:=(C-LW05)/LW05*100;

三拾日乖离率:=(C-LW30)/LW30*100;

JL05:=ATAN((LW05/REF(LW05,1)-1)*100)*180/3.1416;

JL10:=ATAN((LW10/REF(LW10,1)-1)*100)*180/3.1416;

JL30:=ATAN((LW30/REF(LW30,1)-1)*100)*180/3.1416;

速度5:=SMA(ema((LW05-REF(LW05,1))/REF(LW05,1),3)*100,3,1);

加速度5:=EMA((速度5-REF(速度5,1)),3);

强势狙击:=FILTER(JL30>30 AND JL10>45 AND CROSS(JL05,60),10);

加仓:=FILTER(COUNT(CROSS(JL05,30),5)>=1 AND LW05>REF(LW05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND LW10>REF(LW10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;

清仓:=FILTER(COUNT(CROSS(30,JL05),5)>=1 AND (C>LW30 OR O>LW30) AND LW05

MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND LW05>REF(LW05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)

JL:=CROSS(0,五日乖离率) AND 三拾日乖离率REF(LW10,1) ;

减仓:=FILTER(JL,10);

买入:=FILTER(MR,10);

DRAWTEXT(减仓,HIGH*1.02,'←减仓'),COLORFF99FF;

DRAWTEXT(加仓 ,LOW*0.98,'←加仓'),COLORRED;

DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;

DRAWTEXT(清仓,HIGH*1.02,'←清仓'),COLORGREEN;

DRAWTEXT(强势狙击,LOW*0.98,'←强势狙击'),COLORYELLOW;

通达信趋势线公式

M1:=WINNER(ma(CLOSE,1))*200;

M2:=WINNER(MA(CLOSE,20))*200;

VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;

VAR2:=SMA(VAR1,3,1);

VAR3:=SMA(VAR2,3,1);

VAR4:=3*VAR2-2*VAR3;

VAR5:=LLV(LOW,5);

VAR6:=HHV(HIGH,5);

VAR7:=ema((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;

VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);

VAR9:=3*VAR7-2*VAR8;

VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);

VARB:=POW(MA(LOW,5),2)+MA(LOW,5);

VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);

VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;

VARE:=SMA(VARD,3,1)*1.5-100;

VARF:=SMA(VARE,3,1);

VAR10:=3*VARE-2*VARF;

VAR11:=(HIGH+LOW+CLOSE*2)/4;

VAR12:=EMA(VAR11,13);

VAR13:=stD(VAR11,13);

VAR14:=(VAR11-VAR12)*100/VAR13;

VAR15:=EMA(VAR14,5);

VAR17:=EMA(VAR15,13)+200-100;

VAR18:=EMA(VAR17,10);

VAR19:=3*VAR17-2*VAR18;

VAR1A:=VAR2+VAR7+VARE+VAR17;

VAR1B:=VAR3+VAR8+VARF+VAR18;

VAR1C:=VAR4+VAR9+VAR10+VAR19;

VAR1D:=(HIGH+LOW+CLOSE)/3;

VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));

VAR21:=dma(AMOUNT/vol/100,VOL/CAPITAL);

VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;

VAR23:=EMA(VAR22,24);

VAR24:=STD(VAR22,24);

VAR25:=(VAR22-VAR23)/VAR24*100;

VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));

VAR27:=EMA(VAR25,5);

VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;

VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2+VAR21;

VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;

VAR2D:=EMA(VAR2C,13);{13}

VAR2E:=(VAR2A+VAR2C)/2/1.1;

VAR28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

VAR29:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;

VAR30:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

VAR31:=REF(CLOSE,1);

VAR32:=SMA(MAX(CLOSE-VAR31,0),5,1)/SMA(Abs(CLOSE-VAR31),5,1)*100;

VAR33:=(HIGH+LOW+CLOSE)/3;

VAR34:=(VAR33-MA(VAR33,14))/(0.015*AVEDEV(VAR33,14));

VAR35:=(VAR28>=-15.8 AND VAR28<=-12.2 AND VAR29<=-20.8 AND VAR30<=-27.5 AND VAR32<=11.7 AND VAR34<=-145)*100;

多空比例:IF((M1-M2)>-0.02,M1-M2,-0.02),COLORF0F000;

超短:EMA(VAR2E,3),COLORRED ;

短线:EMA(超短,5),COLORWHITE;

趋势:EMA((VAR2B+VAR2D)/2,2) ,COLORYELLOW;

底部:0,COLORF00FF0,LINETHICK2;

界线:50,POINTDOT,COLORYELLOW;

风险:80,COLORWHITE;

顶:100,COLORBLUE;

逃命:120,COLORGREEN;

DRAWTEXT(crOSS(短线,超短) AND CROSS(趋势,超短) AND CROSS(趋势,短线),REF(超短,2)*1.2,'逃'),COLORBLUE;

DRAWICON(CROSS(超短,短线),超短,9);

DRAWICON(CROSS(短线,超短),短线,2);

DRAWICON(CROSS(超短,趋势),趋势,5);

A:=超短>REF(超短,1) AND 短线 >REF(短线,1) AND 趋势>REF(趋势,1) AND 多空比例>REF(多空比例,1);

DRAWICON(A,趋势,1);

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。

责任编辑:admin888 标签:通达信发了小财的布林主图公式,通达信趋势线公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信发了小财的布林主图公式,通达信趋势线公式

admin888

|

通达信发了小财的布林主图公式,通达信趋势线公式

通达信发了小财的布林主图公式

JL01:=ma(C,3);

LJL07:=(3*C+L+O+H)/6;

牛线:(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(LJL07,4)+15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,14)+5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,COLORRED;

马线:MA(牛线,6),COLORYELLOW,LINETHICK4,POINTDOT;

上限:马线+3*stD(CLOSE,20),COLORMAGENTA,crOSSDOT;

下限:马线-2.9*STD(CLOSE,20),COLOR2693FF,CROSSDOT;

买:马线-2*STD(CLOSE,20),LINETHICK2,COLORFF937F;

卖:马线+2*STD(CLOSE,20),LINETHICK2,COLOR00FF00;

等待:IF(JL01<=牛线,马线,DRAWNULL),COLORMAGENTA,LINETHICK4,POINTDOT;

VAR1:=(C>REF(C,1) AND C>REF(C,2));

VAR2:=(REF(VAR1,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR3:=(REF(VAR2,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR4:=(REF(VAR3,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR5:=(REF(VAR4,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR6:=(REF(VAR5,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR7:=(REF(VAR6,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR8:=(REF(VAR7,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR9:=(REF(VAR8,1) AND C>=REF(C,1) AND C<=REF(C,2));

VARA:=(REF(VAR9,1) AND C<=REF(C,1) AND C>=REF(C,2));

VARB:=(REF(VARA,1) AND C>=REF(C,1) AND C<=REF(C,2));

VARC:=(REF(VARB,1) AND C<=REF(C,1) AND C>=REF(C,2));

持股:IF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,牛线,DRAWNULL),COLORRED,LINETHICK1;

VARD:=(C

VARE:=(REF(VARD,1) AND C>=REF(C,1) AND C<=REF(C,2));

VARF:=(REF(VARE,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR10:=(REF(VARF,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR11:=(REF(VAR10,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR12:=(REF(VAR11,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR13:=(REF(VAR12,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR14:=(REF(VAR13,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR15:=(REF(VAR14,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR16:=(REF(VAR15,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR17:=(REF(VAR16,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR18:=(REF(VAR17,1) AND C>=REF(C,1) AND C<=REF(C,2));

持币:IF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,牛线,DRAWNULL),COLORGRAY,LINETHICK1;

LW05:=MA(C,5);

LW10:=MA(C,10);

LW30:=MA(C,30);

五日乖离率:=(C-LW05)/LW05*100;

三拾日乖离率:=(C-LW30)/LW30*100;

JL05:=ATAN((LW05/REF(LW05,1)-1)*100)*180/3.1416;

JL10:=ATAN((LW10/REF(LW10,1)-1)*100)*180/3.1416;

JL30:=ATAN((LW30/REF(LW30,1)-1)*100)*180/3.1416;

速度5:=SMA(ema((LW05-REF(LW05,1))/REF(LW05,1),3)*100,3,1);

加速度5:=EMA((速度5-REF(速度5,1)),3);

强势狙击:=FILTER(JL30>30 AND JL10>45 AND CROSS(JL05,60),10);

加仓:=FILTER(COUNT(CROSS(JL05,30),5)>=1 AND LW05>REF(LW05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND LW10>REF(LW10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;

清仓:=FILTER(COUNT(CROSS(30,JL05),5)>=1 AND (C>LW30 OR O>LW30) AND LW05

MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND LW05>REF(LW05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)

JL:=CROSS(0,五日乖离率) AND 三拾日乖离率REF(LW10,1) ;

减仓:=FILTER(JL,10);

买入:=FILTER(MR,10);

DRAWTEXT(减仓,HIGH*1.02,'←减仓'),COLORFF99FF;

DRAWTEXT(加仓 ,LOW*0.98,'←加仓'),COLORRED;

DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;

DRAWTEXT(清仓,HIGH*1.02,'←清仓'),COLORGREEN;

DRAWTEXT(强势狙击,LOW*0.98,'←强势狙击'),COLORYELLOW;

通达信趋势线公式

M1:=WINNER(ma(CLOSE,1))*200;

M2:=WINNER(MA(CLOSE,20))*200;

VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;

VAR2:=SMA(VAR1,3,1);

VAR3:=SMA(VAR2,3,1);

VAR4:=3*VAR2-2*VAR3;

VAR5:=LLV(LOW,5);

VAR6:=HHV(HIGH,5);

VAR7:=ema((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;

VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);

VAR9:=3*VAR7-2*VAR8;

VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);

VARB:=POW(MA(LOW,5),2)+MA(LOW,5);

VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);

VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;

VARE:=SMA(VARD,3,1)*1.5-100;

VARF:=SMA(VARE,3,1);

VAR10:=3*VARE-2*VARF;

VAR11:=(HIGH+LOW+CLOSE*2)/4;

VAR12:=EMA(VAR11,13);

VAR13:=stD(VAR11,13);

VAR14:=(VAR11-VAR12)*100/VAR13;

VAR15:=EMA(VAR14,5);

VAR17:=EMA(VAR15,13)+200-100;

VAR18:=EMA(VAR17,10);

VAR19:=3*VAR17-2*VAR18;

VAR1A:=VAR2+VAR7+VARE+VAR17;

VAR1B:=VAR3+VAR8+VARF+VAR18;

VAR1C:=VAR4+VAR9+VAR10+VAR19;

VAR1D:=(HIGH+LOW+CLOSE)/3;

VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));

VAR21:=dma(AMOUNT/vol/100,VOL/CAPITAL);

VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;

VAR23:=EMA(VAR22,24);

VAR24:=STD(VAR22,24);

VAR25:=(VAR22-VAR23)/VAR24*100;

VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));

VAR27:=EMA(VAR25,5);

VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;

VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2+VAR21;

VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;

VAR2D:=EMA(VAR2C,13);{13}

VAR2E:=(VAR2A+VAR2C)/2/1.1;

VAR28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

VAR29:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;

VAR30:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

VAR31:=REF(CLOSE,1);

VAR32:=SMA(MAX(CLOSE-VAR31,0),5,1)/SMA(Abs(CLOSE-VAR31),5,1)*100;

VAR33:=(HIGH+LOW+CLOSE)/3;

VAR34:=(VAR33-MA(VAR33,14))/(0.015*AVEDEV(VAR33,14));

VAR35:=(VAR28>=-15.8 AND VAR28<=-12.2 AND VAR29<=-20.8 AND VAR30<=-27.5 AND VAR32<=11.7 AND VAR34<=-145)*100;

多空比例:IF((M1-M2)>-0.02,M1-M2,-0.02),COLORF0F000;

超短:EMA(VAR2E,3),COLORRED ;

短线:EMA(超短,5),COLORWHITE;

趋势:EMA((VAR2B+VAR2D)/2,2) ,COLORYELLOW;

底部:0,COLORF00FF0,LINETHICK2;

界线:50,POINTDOT,COLORYELLOW;

风险:80,COLORWHITE;

顶:100,COLORBLUE;

逃命:120,COLORGREEN;

DRAWTEXT(crOSS(短线,超短) AND CROSS(趋势,超短) AND CROSS(趋势,短线),REF(超短,2)*1.2,'逃'),COLORBLUE;

DRAWICON(CROSS(超短,短线),超短,9);

DRAWICON(CROSS(短线,超短),短线,2);

DRAWICON(CROSS(超短,趋势),趋势,5);

A:=超短>REF(超短,1) AND 短线 >REF(短线,1) AND 趋势>REF(趋势,1) AND 多空比例>REF(多空比例,1);

DRAWICON(A,趋势,1);

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。


财经频道