您的位置:爱股网 > 查股公式 > 通达信疯牛极端预警线副图指标 源码[查股公式]
股票行情消息数据:

通达信疯牛极端预警线副图指标 源码[查股公式]

2022/8/27 15:44:43

疯牛极端预警线副图指标 源码 通达信 贴图

DRAWGBK(C>0, RGB(20,10,111110),RGB(50,60,150),0,'11',0);
 V2V:=V/REF(V,1)>=1.9 AND C>REF(C,1);

ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,2);
 M1:=EMA(ABV,12);
 M2:=EMA(ABV,26);
 MTM:=CLOSE-REF(CLOSE,1);
 MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
 MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
 MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
 MTGJ:=C-REF(C,1);
 ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9);
 MAZL:=MA(ZLGJ,5);
 A:=((VOL)/(CAPITAL))*(100);
 S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));
 Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));
 X:=1;
 V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);
 V2:=REF(V1,1);
 V3:=MAX(V1-V2,0);
 V4:=ABS(V1-V2);
 V5:=SMA(V3,10,1);
 V6:=SMA(V4,10,1);
 V8:=COUNT(((V5)/(V6)<0.2),5);
 V9:=COUNT((LLV(V1,10)=V1),10);

主力轨迹:IF(ABV>M2 AND MMS>MML AND CROSS(ZLGJ,MAZL) AND ZLGJ>REF(ZLGJ,1) AND MAZL>REF(MAZL,1),55,0),COLORFFCC66,POINTDOT;
 STICKLINE(主力轨迹,55,0,4,1),COLORFFCC66;


 DRAWTEXT((TROUGHBARS(3,18,1)=0) AND (HIGH>(LOW)*(1.04)),40,'¥鬼子进村'),COLORFF00FF;
 VARC:=(ZIG(3,18)>REF(ZIG(3,18),1)) AND (REF(ZIG(3,18),1)<=REF(ZIG(3,18),2));
 VARD:=(ZIG(3,18)<REF(ZIG(3,18),1)) AND (REF(ZIG(3,18),1)>=REF(ZIG(3,18),2));
 STICKLINE((VARC=1),30,0,5,0),COLOR0000FF;
 DRAWTEXT((VARC=1),42,'¥抢粮食'),COLOR0000FF;

STICKLINE((VARD=1),100,85,5,0),COLORFF0000;
 DRAWTEXT((PEAKBARS(3,18,1)=0) AND ((HIGH)*(0.96)>LOW),80,'注意转折'),COLORFF0000;
 AA := REF(CLOSE,1);
 BBB:=SMA(MAX(CLOSE-AA,0),34,1)/SMA(ABS(CLOSE-AA),34,1)*1000;
 HHH:=BBB-LLV(BBB,36);
短期:=(MA(HHH,2)*3+HHH*13)/16;
中期:=MA(HHH,10);
差值:短期-中期,NODRAW;
 CCC:=LLV(BBB,36)-BBB;
短期二:=(MA(CCC,2)*3+CCC*13)/16;
中期二:=MA(CCC,10);
 VB:2*(短期-中期),NODRAW;
乖离率6:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
乖离率12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
乖离率24:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
 ZP:=乖离率6<-6 AND 乖离率12<-10 AND 乖离率24<-16;
 DRAWICON(ZP,-50,26);
 STICKLINE(VB>=0 AND VB>REF(VB,1),0,VB,1,0),COLORRED;
 STICKLINE(VB>=0 AND VB<REF(VB,1),0,VB,1,1),COLORRED;
 STICKLINE(VB<0 AND 中期>REF(中期,1),0,VB,1,1),COLORRED;
 STICKLINE(VB<0 AND VB<REF(VB,1),0,VB,1,0),COLORGREEN;
 STICKLINE(VB<0 AND VB>REF(VB,1),0,VB,1,1),COLORGREEN;
 STICKLINE(VB<0 AND 中期>REF(中期,1),0,VB,2,-1),COLORRED;
 STICKLINE(VB>=0 AND 中期<REF(中期,1),0,VB,2,-1),COLORGREEN;
 STICKLINE(短期<3,VB,0,1,0),COLORYELLOW;
准备买:IF(短期<3,8,0),COLORYELLOW,NODRAW;
 STICKLINE(短期=0,VB,0,1,0),COLORMAGENTA;
买入:IF(短期=0,8,0),COLORMAGENTA,NODRAW;
 DRAWICON(MA(短期,3)=0,VB,1);
加仓:IF(MA(短期,3)=0,8,0),COLORRED ,NODRAW;
 STICKLINE(差值>60 AND VB>0 AND 中期>50,VB,0,1,0),COLORBLUE;
准备卖:IF(差值>60 AND VB>0 AND 中期>50,4,0),COLORBLUE;
 STICKLINE(差值>60 AND VB>0 AND 中期>100,VB,0,1,0),COLORCYAN;
卖出:IF(差值>60 AND VB>0 AND 中期>100,4,0),COLORCYAN;
坚决卖:IF(EVERY(差值>60 AND VB>0 AND 中期>100,2),4,0),COLORGREEN;
 DRAWICON(EVERY(差值>60 AND VB>0 AND 中期>100,2),VB,2);
 STICKLINE(VB>100,100,VB,1,0),COLORBROWN;
 STICKLINE(VB>200,200,VB,1,0),COLORLIRED;
 100,DOTLINE,COLORGRAY;
 DRAWTEXT_FIX(ISLASTBAR,0,0,0,'准备买~黄色'),COLORYELLOW;
 DRAWTEXT_FIX(ISLASTBAR,0.12,0,0,'买入~洋红色'),COLORMAGENTA;
 DRAWTEXT_FIX(ISLASTBAR,0.24,0,0,'加仓~红箭头'),COLORRED;
 DRAWTEXT_FIX(ISLASTBAR,0.36,0,0,'准备卖~蓝色'),COLORBLUE;
 DRAWTEXT_FIX(ISLASTBAR,0.48,0,0,'卖出~青色'),COLORCYAN;
 DRAWTEXT_FIX(ISLASTBAR,0.60,0,0,'坚决卖~绿箭头'),COLORGREEN;
 DRAWTEXT_FIX(ISLASTBAR,0,0.12,0,'{红色柱~买入}'),COLORRED;
 DRAWTEXT_FIX(ISLASTBAR,0,0.24,0,'{绿色柱~卖出}'),COLORGREEN;

疯牛极端预警线:32.,COLORRED,LINETHICK2;

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
爱股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29