正点财经首页     加入收藏
指标首页 通达信指标 同花顺指标 大智慧指标 飞狐指标 指标教程 指标实战 指标百科 股市学院
指标源码搜索: 热词:买卖  黑马  K线  牛股  量能  波段  顶底  抄底  成本  逃顶  MACD  涨停  换手率
你的位置: > 正点财经 > 炒股指标公式 > 通达信指标公式 > 正文

通达信买卖波段操盘指标公式

通达信指标公式源码概况:
  • 指标类别: 通达信指标公式
  • 授权方式: 免费版
  • 指标评级: ★★★★★
  • 指标分类: 超买超卖
  • 画线方法: 副图
  • 日期:2019-05-06 来源:互联网
通达信指标公式源码介绍:

通达信买卖波段操盘指标公式:

MA5:=MA(C,5);
 MA6:=MA(C,6);
 MA10:=MA(C,10);
 MA20:=MA(C,20);
 MA30:=MA(C,30);
 MA55:=MA(C,55);
 A2:=REF(MA20,1);
 J1:=(MA20-A2)/A2*100;
 MJ1:=MA(J1,3);
 乖离:=(MA20-MA30)/MA30*100;
 VAR1:=IF(BETWEEN(乖离,-2,5),2,0);
 MAX1:=MAX(MA20,MA30);
 MAX2:=MAX(MAX1,MA55);
 MIN21:=MIN(MA20,MA30);
 MIN2:=MIN(MIN21,MA55);
 K1:=(MAX2/MIN2-1)*100;
 VAR2:=IF(K1<=8,1,0);
 上火车轨:=MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1) AND MA20-MA30>REF((MA20-MA30),1) ;
 神枪手:IF(FILTER(上火车轨 AND "MACD.DIF"<0.15 AND "MACD.DIF">REF("MACD.DIF",1) AND MA(V,60)>REF(MA(V,60),1) AND MA(V,5)>MA(V,10) AND J1>REF(J1,1) AND
 ( L<=MA20 AND C>MA20 OR (CROSS(MA5,MA20)) ),5),10,0);
 DRAWTEXT(FILTER(上火车轨 AND "MACD.DIF"<0.15 AND "MACD.DIF">REF("MACD.DIF",1) AND MA(V,60)>REF(MA(V,60),1) AND MA(V,5)>MA(V,10) AND J1>REF(J1,1) AND
 ( L<=MA20 AND C>MA20 OR (CROSS(MA5,MA20)) ),5),10,'←神枪手');

买入:IF(CROSS("KDJ.K"(5,2,3),"KDJ.D"(5,2,3)) AND "KDJ.D"(5,2,3)<30 AND J1>MJ1 AND MA55>REF(MA55,1) AND COUNT(J1<1,3)>=1 ,10,0);
 DRAWTEXT(CROSS("KDJ.K"(5,2,3),"KDJ.D"(5,2,3)) AND "KDJ.D"(5,2,3)<30 AND J1>MJ1 AND MA55>REF(MA55,1) AND COUNT(J1<1,3)>=1 ,10,'←买入'),COLORYELLOW;
 顶:IF(CROSS("KDJ.D"(18,9,6),"KDJ.K"(18,9,6)) AND "KDJ.D"(18,9,6)>60 AND "KDJ.J"(45,15,15)>90,85,100),COLORRED;
 DRAWTEXT(CROSS("KDJ.D"(18,9,6),"KDJ.K"(18,9,6)) AND "KDJ.D"(18,9,6)>60 AND "KDJ.J"(45,15,15)>90,80,'←顶'),COLORRED;
 再买:IF(CROSS(MA5,MA6) AND "KDJ.K"(5,3,3)>=50 AND "KDJ.J"(5,3,3)<31 ,30,0),COLORMAGENTA;
 DRAWTEXT(CROSS(MA5,MA6) AND "KDJ.K"(5,3,3)>=50 AND "KDJ.J"(5,3,3)<31 ,30,'←再买'),COLORMAGENTA;
 XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04));
 XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);
 XL3:=CROSS(XL2,(0 - 20));
 ●买点:IF(FILTER(((XL1 > 0) AND LOW),5),40,0);
 DRAWTEXT(FILTER(((XL1 > 0) AND LOW),5),45,'●买点');
 ●绝对底部:IF((XL3 > 0),30,0);
 DRAWTEXT((XL3 > 0),35,'●绝对底部');
 AAA:=CONST(HHV(H,90));
 R1:=MA(CLOSE,1);
 R2:=MA(CLOSE,3);
 R3:=(MA(R2,1)*1);
 R4:=(MA(R2,3)*1);
 进:IF(CROSS(R3,R4),30,0),COLORRED,LINETHICK2;
 DRAWTEXT(CROSS(R3,R4),35,'★买'),COLORRED;
 LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
 出:IF(CROSS(88,RSI),75,100),COLORYELLOW,LINETHICK2;
 DRAWTEXT(CROSS(88,RSI),70,'●卖'),COLORGREEN;

VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
 VAR12:=(HIGH+LOW+CLOSE)/3;
 VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));
 VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));
 VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0);
 VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15);
 VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
 VAR18:=100-ABS(VAR17);
 VAR19:=IF(VAR18<90,VAR18,100);
 VAR1A:=IF(VARE>0,VARE,0);
 VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;
 VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;
 大笔出货:IF(VAR1C AND COUNT(VAR1C,30)=1,85,100);
 DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,85,'大笔出货'),LINETHICK1,COLORFFCC66;
 AA1:=AMOUNT/V;
 BB1:=L<AA1*0.9;
 CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
 DD1:=L<MA(C,5)*0.921;
 EE1:=V<MA(V,5)*1.5;
 老鼠仓:IF((BB1 AND CC1 AND DD1 AND EE1),80,0),COLORLIRED;
 DRAWTEXT((BB1 AND CC1 AND DD1 AND EE1),85,'老鼠仓'),COLOR40CCFF;

AA:=BARSCOUNT(C);
 AH:=HHV(H,120);
 AL:=LLV(L,120);
 A0:=(AH-AL)/30;
 STICKLINE((AA+0)/34=FLOOR((AA+0)/34),0,15,2,0),COLORF00FF0;
 DRAWTEXT((AA+0)/34=FLOOR((AA+0)/34),20,'时间窗'),COLORF00FF0;
 VAR2S:=(2*CLOSE+HIGH+LOW)/4;
 VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1);
 VAR4S:=LLV(LOW,5); VAR5S:=HHV(HIGH,4);
散户:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3S;
 吸:IF(CROSS(散户,庄家) AND 散户<30,20,0);
 DRAWTEXT(CROSS(散户,庄家) AND 散户<30,23,'←吸'),COLORRED;
 

通达信买卖波段操盘指标公式实例图解:

通达信买卖波段操盘指标公式

通达信买卖波段操盘指标公式

  • 风云榜
  • 总点击榜
  • 最新指标
月点击榜指标公式
更多指标百科
关于我们 | 商务合作 | 联系投稿 | 联系删稿 | 合作伙伴 | 法律声明 | 网站地图