首页 > 编程语言 >通达信短炒买卖指标公式源码

通达信短炒买卖指标公式源码

时间:2024-03-10 12:23:47浏览次数:33  
标签:VAR1 公式 20 FILTER 通达信 源码 CLOSE MA REF

{ 通达信短炒买卖指标公式源码 }

VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
持币区域:VAR1,COLORFEDCBA;
持股区域:IF(VAR1>0,VAR1,0),COLORRED;
短顶:STICKLINE(VAR1>9 AND FILTER(VAR1<ref(var1,1),5),var1+2,0,3,0),colorgreen;
大顶:STICKLINE(VAR1>20 AND FILTER(VAR1<ref(var1,1),5),var1+5,0,7,0),color00ff00;
VAR2:=HHV(VAR1>20,10);
危险: STICKLINE(VAR2 AND crOSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+10,0,4,0);
注意止损:STICKLINE(VAR2 AND FILTER(VAR1< REF(VAR1,1),6)
AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,0,3,0);
短底:STICKLINE(VAR1<-9 AND VAR1> REF(VAR1,1),VAR1-2,0,3,0),COLORRED;
大底:STICKLINE(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,0,7,0),COLORYELLOW;
买入准备:VAR1<-9 AND VAR1>REF(VAR1,1),COLORWHITE;
DRAWTEXT(VAR1>9 AND FILTER(VAR1<ref(var1,1),5),var1+2,'短顶'),color00ff00;
DRAWTEXT(VAR1>20 AND FILTER(VAR1<ref(var1,1),5),var1+5,'大顶'),colorffff00;
DRAWTEXT(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+10,'危险'),COLOR00FFFF;
DRAWTEXT(VAR2 AND FILTER(VAR1< REF(VAR1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,'注意止损'),COLORFF00FF;
DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),VAR1-2,'短底'),,COLOR0000FF;
DRAWTEXT(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,'大底'),;
DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),1,'买入准备');

 

标签:VAR1,公式,20,FILTER,通达信,源码,CLOSE,MA,REF
From: https://www.cnblogs.com/zhibiao/p/18063974

相关文章

  • 通达信提前买入指标公式源码
    {通达信提前买入指标公式源码}Var11:=EMA(HHV(HIGH,500),21);Var2:=EMA(HHV(HIGH,250),21);Var3:=EMA(HHV(HIGH,90),21);Var4:=EMA(LLV(LOW,500),21);Var5:=EMA(LLV(LOW,250),21);Var6:=EMA(LLV(LOW,90),21);Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var11*0.558+Var2......
  • 通达信追涨吃大肉指标公式源码
    {通达信追涨吃大肉指标公式源码}追涨:IF(FILTER((COUNT(crOSS((C-MA(C,5))/MA(C,5)*100,0),3)>=1AND(C-MA(C,30))/MA(C,30)*100>REF((C-MA(C,30))/MA(C,30)*100,1)ANDMA(C,5)>REF(MA(C,5),1)AND(C/REF(C,1)-1)*100>5ANDREF(C,1)<ma(c,30)),10),1,0),colorred,linet......
  • 通达信犀牛筹码集中指标公式源码
    {通达信犀牛筹码集中指标公式源码}X_1:=MA(CLOSE,5);X_2:=MA(CLOSE,10);X_3:=MA(CLOSE,20);X_4:=MA(CLOSE,30);X_5:=COST(94);X_6:=COST(90);X_7:=COST(80);X_8:=NOT(CODELIKE(2))ANDNOT(CODELIKE(4))ANDNOT(CODELIKE(3));X_9:=(X_5-X_7)/X_7*100;X_10:=MA(CLOSE......
  • 通达信支撑压力自动画线主图指标公式源码
    {通达信支撑压力自动画线主图指标公式源码}N:=5;STICKLINE(C>O,O,C,3,1),COLORRED;STICKLINE(C>O,H,C,0,0),COLORRED;STICKLINE(C>O,O,L,0,0),COLORRED;STICKLINE(C<o,o,c,3,1),colorff901e;STICKLINE(C<o,h,o,0,0),colorff901e;STICKLINE(C<o,c,l,0,0),colorff901e;......
  • 通达信擒龙跟庄主图指标公式源码
    {通达信擒龙跟庄主图指标公式源码}{涨家:INDEXADV,NODRAW,COLORRED;跌家:INDEXDEC,NODRAW,COLOR00FFFF;}A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A......
  • 通达信指路迷津副图指标源码
    {通达信指路迷津副图指标源码}使用方法:DRAWTEXT_FIX(1,0,0.1,0,'方法1:配合“探底擒妖”副图指标,当某日出现“探底点”信号时,观察当天或后续10日内,是否出现“手指”信号,如有,即可买进;'),COLORGRAY;DRAWTEXT_FIX(1,0,0.3,0,'方法2:当某日出现“手指”信号时,观察其位置,如“......
  • spring-security源码阅读-总结(二十六)
    spring-security很重?身边一提到spring-security,都觉得很重,宁愿自己写个filter快速实现认证,确实如此吗,spring-security本质也是基于servlet-filter作为切入点。作为框架,把正常验证流程差异化的地方都封装抽象出来了。我们只需要根据他的每个差异化的地方完成我们自己的配置就行......
  • 通达信买入翻倍, 年年翻倍的一个指标,没未来函数
    {通达信买入翻倍,年年翻倍的一个指标,没未来函数}买入翻倍,让年年翻倍的一个指标,没未来函数VAR1:=REF(CLOSE,1);VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;VAR3:=SMA(MAX(CLOSE-VAR1,0),12,1)/SMA(ABS(CLOSE-VAR1),12,1)*100;VAR4:=(BARSLAST(VAR......
  • 通达信心理重心战术副图指标公式源码
    {通达信心理重心战术副图指标公式源码}N:=12;{参数可以自己调整}stICKLINE(1,100,100,10,0),COLOR0099FF;STICKLINE(1,0,0,10,0),COLOR0099FF;STICKLINE(1,80,80,1.5,0),COLORYELLOW;STICKLINE(1,20,20,1.5,0),COLORYELLOW;STICKLINE(1,50,50,0.7,0),COLORWHITE;MID:=(......
  • 通达信分时攻击量指标公式源码
    {通达信分时攻击量指标公式源码}{指标介绍:可通过红绿多空线,即时精准判断主力做盘情况。早盘(9:30-10:30)红色多方线,上穿绿色空方线,要密切关注,大概率拉涨停!同样的道理,当绿色空方线上穿红色多方线,回调走弱!也可以通过多空线的上下顶底线,做日内T操作,红线探顶卖出参考,绿色探顶买......