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

时间窗公式(通达信),操盘均线(通达信)

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

    关注√

    牛市通网微信

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

时间窗公式(通达信),操盘均线(通达信)

时间窗公式(通达信)

大盘走势常与一些特殊数字有联系,比如5,8,13,21,34,17,55.......临用时去数上涨和下跌的天数很耽搁时间,于是我自编了一个时间窗公式,结合买卖点,还有一些价值。现奉献给供大家参考,以回报理想论坛。由于初学编公式,还请高手多多指教。说明:在重要时间窗,特别是几个时间窗同时出现,前后一两天又有买卖点出现,应考虑是否属于变盘。柱线的顶点或者底即是此段时间对应的起点。

自编时间窗公式

AA:=HHV(HIGH,2);

BB:=LLV(LOW,2);

八日:=REF(LOW,7)=LLV(LOW,11) && AA=HHV(HIGH,11);

十三日:=REF(LOW,12)=LLV(LOW,15) && AA=HHV(HIGH,15);

十七日:=REF(LOW,16)=LLV(LOW,20) && AA=HHV(HIGH,20);

二十一日:=REF(LOW,20)=LLV(LOW,26) && AA=HHV(HIGH,26);

三十日:=REF(LOW,29)=LLV(LOW,35) && AA=HHV(HIGH,35);

五十五日:=REF(LOW,54)=LLV(LOW,60) && AA=HHV(HIGH,60);

八十九日:=REF(LOW,88)=LLV(LOW,95) && AA=HHV(HIGH,95);

stICKLINE(八日,LOW*0.995,REF(LOW,7),1,1),COLORYELLOW;

STICKLINE(十三日,LOW*0.995,REF(LOW,12),1,1),COLORRED;

STICKLINE(十七日,LOW*0.995,REF(LOW,16),1,1),COLORGREEN;

STICKLINE(二十一日,LOW*0.995,REF(LOW,20),1,1),COLORLImaGENTA;

STICKLINE(三十日,LOW*0.995,REF(LOW,29),1,1),COLORBLUE;

STICKLINE(五十五日,LOW*0.995,REF(LOW,54),1,1),COLORWHITE;

STICKLINE(八十九日,LOW*0.995,REF(LOW,88),1,1),COLORWHITE;

DRAWTEXT(八日,REF(LOW,7)*0.985,'8'),COLORYELLOW;

DRAWTEXT(十三日,0.985*REF(LOW,12),'13'),COLORRED;

DRAWTEXT(十七日,0.985*REF(LOW,16),'17'),COLORGREEN;

DRAWTEXT(二十一日,0.985*REF(LOW,20),'21'),COLORLIMAGENTA;

DRAWTEXT(三十日,0.985*REF(LOW,29),'30'),COLORBLUE;

DRAWTEXT(五十五日,0.985*REF(LOW,54),'55'),COLORWHITE;

DRAWTEXT(八十九日,0.985*REF(LOW,88),'89'),COLORWHITE;

八日B:=REF(HIGH,7)=HHV(HIGH,11) && BB=LLV(LOW,11);

十三日B:=REF(HIGH,12)=HHV(HIGH,15) && BB=LLV(LOW,15);

十七日B:=REF(HIGH,16)=HHV(HIGH,20) && BB=LLV(LOW,20);

二十一日B:=REF(HIGH,20)=HHV(HIGH,26) && BB=LLV(LOW,26);

三十日B:=REF(HIGH,29)=HHV(HIGH,35) && BB=LLV(LOW,35);

五十五日B:=REF(HIGH,54)=HHV(HIGH,60) && BB=LLV(LOW,60);

八十九日B:=REF(HIGH,88)=HHV(HIGH,95) && BB=LLV(LOW,95);

STICKLINE(八日B,HIGH*1.005,REF(HIGH,7),1,1),COLORYELLOW;

STICKLINE(十三日B,HIGH*1.005,REF(HIGH,12),1,1),COLORRED;

STICKLINE(十七日B,HIGH*1.005,REF(HIGH,16),1,1),COLORGREEN;

STICKLINE(二十一日B,HIGH*1.005,REF(HIGH,20),1,1),COLORLIMAGENTA;

STICKLINE(三十日B,HIGH*1.005,REF(HIGH,29),1,1),COLORBLUE;

STICKLINE(五十五日B,HIGH*1.005,REF(HIGH,54),1,1),COLORWHITE;

STICKLINE(八十九日B,HIGH*1.005,REF(HIGH,88),1,1),COLORWHITE;

DRAWTEXT(八日B,REF(HIGH,7)*1.015,'8'),COLORYELLOW;

DRAWTEXT(十三日B,1.015*REF(HIGH,12),'13'),COLORRED;

DRAWTEXT(十七日B,1.015*REF(HIGH,16),'17'),COLORGREEN;

DRAWTEXT(二十一日B,1.015*REF(HIGH,20),'21'),COLORLIMAGENTA;

DRAWTEXT(三十日B,1.015*REF(HIGH,29),'30'),COLORBLUE;

DRAWTEXT(五十五日B,1.015*REF(HIGH,54),'55'),COLORWHITE;

DRAWTEXT(八十九日B,1.015*REF(HIGH,88),'89'),COLORWHITE;

操盘均线(通达信)

网动力线:ma(C,5),LINETHICK3,COLOR00CCFF;

网生命线:MA(C,33),CIRCLEDOT,COLORMAGENTA;

MA05:=MA(C,5);

MA10:=MA(C,10);

MA20:=MA(C,20);

MA30:=MA(C,30);

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

BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;

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

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

IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED;

BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;

IF(BB05<0 AND MA05

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

VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);

VAR2:=(MA30-MA20)

BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;

强势狙击:=FILTER(BB30>30 AND BB10>45 ANDcrOSS(BB05,60),10);

加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)

AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;

清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05

DRAWTEXT(加仓 ,LOW*0.98,'◆加'),COLORYELLOW;

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

减仓:=FILTER(JC,10);

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

买入:=FILTER(MR,10);

DRAWTEXT(减仓,HIGH*1.02,'◆风险'),COLORCYAN;

{彩色k线}TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);

TYX4:=MA((C+L+O+H)/4,13);

TYX5:=EMA((C+L+O+H)/4,21);

{空心红}stICKLINE(CO,H,L,0,0),COLORRED;

STICKLINE(CO,C,O,3,1),COLORRED;

{深绿}STICKLINE(C

STICKLINE(C

STICKLINE(C

STICKLINE(C

{蓝}STICKLINE(C>TYX5 AND C

STICKLINE(C>TYX5 AND C

STICKLINE(C>TYX5 AND C

STICKLINE(C>TYX5 AND C

{黄}STICKLINE(C>TYX5 AND C>O,H,L,0,0 ),COLOR00EEFF;

STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00AAFF;

STICKLINE(C>TYX5 AND C>O,C,O,2,0 ),COLOR00CCFF;

STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00EEFF;

{粉红}STICKLINE(C>TYX4 AND C>O,H,L,0,0),COLORFF66AA;

STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF11FF;

STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF44FF;

STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF66FF;

{亮灰}STICKLINE(C>TYX4 AND C

STICKLINE(C>TYX4 AND C

STICKLINE(C>TYX4 AND C

STICKLINE(C>TYX4 AND C

{深红}STICKLINE(C>TYX3 AND C>O,H,L,0,0),COLOR0000DD;

STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR000099;

STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000BB;

STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000DD;

{涨跌停K线}STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (CLOSE/REF(CLOSE,1))>1.048,HIGH,LOW,3,0) ,COLORRED;

STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (REF(CLOSE,1)/CLOSE)>1.048,HIGH,LOW,3,0) ,COLOR00FF00;

 以33均线作为自己的生命线 33线以上买卖33线以下 休息。

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

责任编辑:admin888 标签:时间窗公式(通达信),操盘均线(通达信)
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

时间窗公式(通达信),操盘均线(通达信)

admin888

|

时间窗公式(通达信),操盘均线(通达信)

时间窗公式(通达信)

大盘走势常与一些特殊数字有联系,比如5,8,13,21,34,17,55.......临用时去数上涨和下跌的天数很耽搁时间,于是我自编了一个时间窗公式,结合买卖点,还有一些价值。现奉献给供大家参考,以回报理想论坛。由于初学编公式,还请高手多多指教。说明:在重要时间窗,特别是几个时间窗同时出现,前后一两天又有买卖点出现,应考虑是否属于变盘。柱线的顶点或者底即是此段时间对应的起点。

自编时间窗公式

AA:=HHV(HIGH,2);

BB:=LLV(LOW,2);

八日:=REF(LOW,7)=LLV(LOW,11) && AA=HHV(HIGH,11);

十三日:=REF(LOW,12)=LLV(LOW,15) && AA=HHV(HIGH,15);

十七日:=REF(LOW,16)=LLV(LOW,20) && AA=HHV(HIGH,20);

二十一日:=REF(LOW,20)=LLV(LOW,26) && AA=HHV(HIGH,26);

三十日:=REF(LOW,29)=LLV(LOW,35) && AA=HHV(HIGH,35);

五十五日:=REF(LOW,54)=LLV(LOW,60) && AA=HHV(HIGH,60);

八十九日:=REF(LOW,88)=LLV(LOW,95) && AA=HHV(HIGH,95);

stICKLINE(八日,LOW*0.995,REF(LOW,7),1,1),COLORYELLOW;

STICKLINE(十三日,LOW*0.995,REF(LOW,12),1,1),COLORRED;

STICKLINE(十七日,LOW*0.995,REF(LOW,16),1,1),COLORGREEN;

STICKLINE(二十一日,LOW*0.995,REF(LOW,20),1,1),COLORLImaGENTA;

STICKLINE(三十日,LOW*0.995,REF(LOW,29),1,1),COLORBLUE;

STICKLINE(五十五日,LOW*0.995,REF(LOW,54),1,1),COLORWHITE;

STICKLINE(八十九日,LOW*0.995,REF(LOW,88),1,1),COLORWHITE;

DRAWTEXT(八日,REF(LOW,7)*0.985,'8'),COLORYELLOW;

DRAWTEXT(十三日,0.985*REF(LOW,12),'13'),COLORRED;

DRAWTEXT(十七日,0.985*REF(LOW,16),'17'),COLORGREEN;

DRAWTEXT(二十一日,0.985*REF(LOW,20),'21'),COLORLIMAGENTA;

DRAWTEXT(三十日,0.985*REF(LOW,29),'30'),COLORBLUE;

DRAWTEXT(五十五日,0.985*REF(LOW,54),'55'),COLORWHITE;

DRAWTEXT(八十九日,0.985*REF(LOW,88),'89'),COLORWHITE;

八日B:=REF(HIGH,7)=HHV(HIGH,11) && BB=LLV(LOW,11);

十三日B:=REF(HIGH,12)=HHV(HIGH,15) && BB=LLV(LOW,15);

十七日B:=REF(HIGH,16)=HHV(HIGH,20) && BB=LLV(LOW,20);

二十一日B:=REF(HIGH,20)=HHV(HIGH,26) && BB=LLV(LOW,26);

三十日B:=REF(HIGH,29)=HHV(HIGH,35) && BB=LLV(LOW,35);

五十五日B:=REF(HIGH,54)=HHV(HIGH,60) && BB=LLV(LOW,60);

八十九日B:=REF(HIGH,88)=HHV(HIGH,95) && BB=LLV(LOW,95);

STICKLINE(八日B,HIGH*1.005,REF(HIGH,7),1,1),COLORYELLOW;

STICKLINE(十三日B,HIGH*1.005,REF(HIGH,12),1,1),COLORRED;

STICKLINE(十七日B,HIGH*1.005,REF(HIGH,16),1,1),COLORGREEN;

STICKLINE(二十一日B,HIGH*1.005,REF(HIGH,20),1,1),COLORLIMAGENTA;

STICKLINE(三十日B,HIGH*1.005,REF(HIGH,29),1,1),COLORBLUE;

STICKLINE(五十五日B,HIGH*1.005,REF(HIGH,54),1,1),COLORWHITE;

STICKLINE(八十九日B,HIGH*1.005,REF(HIGH,88),1,1),COLORWHITE;

DRAWTEXT(八日B,REF(HIGH,7)*1.015,'8'),COLORYELLOW;

DRAWTEXT(十三日B,1.015*REF(HIGH,12),'13'),COLORRED;

DRAWTEXT(十七日B,1.015*REF(HIGH,16),'17'),COLORGREEN;

DRAWTEXT(二十一日B,1.015*REF(HIGH,20),'21'),COLORLIMAGENTA;

DRAWTEXT(三十日B,1.015*REF(HIGH,29),'30'),COLORBLUE;

DRAWTEXT(五十五日B,1.015*REF(HIGH,54),'55'),COLORWHITE;

DRAWTEXT(八十九日B,1.015*REF(HIGH,88),'89'),COLORWHITE;

操盘均线(通达信)

网动力线:ma(C,5),LINETHICK3,COLOR00CCFF;

网生命线:MA(C,33),CIRCLEDOT,COLORMAGENTA;

MA05:=MA(C,5);

MA10:=MA(C,10);

MA20:=MA(C,20);

MA30:=MA(C,30);

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

BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;

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

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

IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED;

BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;

IF(BB05<0 AND MA05

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

VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);

VAR2:=(MA30-MA20)

BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;

强势狙击:=FILTER(BB30>30 AND BB10>45 ANDcrOSS(BB05,60),10);

加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)

AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;

清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05

DRAWTEXT(加仓 ,LOW*0.98,'◆加'),COLORYELLOW;

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

减仓:=FILTER(JC,10);

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

买入:=FILTER(MR,10);

DRAWTEXT(减仓,HIGH*1.02,'◆风险'),COLORCYAN;

{彩色k线}TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);

TYX4:=MA((C+L+O+H)/4,13);

TYX5:=EMA((C+L+O+H)/4,21);

{空心红}stICKLINE(CO,H,L,0,0),COLORRED;

STICKLINE(CO,C,O,3,1),COLORRED;

{深绿}STICKLINE(C

STICKLINE(C

STICKLINE(C

STICKLINE(C

{蓝}STICKLINE(C>TYX5 AND C

STICKLINE(C>TYX5 AND C

STICKLINE(C>TYX5 AND C

STICKLINE(C>TYX5 AND C

{黄}STICKLINE(C>TYX5 AND C>O,H,L,0,0 ),COLOR00EEFF;

STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00AAFF;

STICKLINE(C>TYX5 AND C>O,C,O,2,0 ),COLOR00CCFF;

STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00EEFF;

{粉红}STICKLINE(C>TYX4 AND C>O,H,L,0,0),COLORFF66AA;

STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF11FF;

STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF44FF;

STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF66FF;

{亮灰}STICKLINE(C>TYX4 AND C

STICKLINE(C>TYX4 AND C

STICKLINE(C>TYX4 AND C

STICKLINE(C>TYX4 AND C

{深红}STICKLINE(C>TYX3 AND C>O,H,L,0,0),COLOR0000DD;

STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR000099;

STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000BB;

STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000DD;

{涨跌停K线}STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (CLOSE/REF(CLOSE,1))>1.048,HIGH,LOW,3,0) ,COLORRED;

STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (REF(CLOSE,1)/CLOSE)>1.048,HIGH,LOW,3,0) ,COLOR00FF00;

 以33均线作为自己的生命线 33线以上买卖33线以下 休息。

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


财经频道