首页 > 编程语言 >通达信短线起航指标公式源码

通达信短线起航指标公式源码

时间:2024-03-09 09:02:32浏览次数:35  
标签:MA 起航 20 通达信 源码 CLOSE 100 REF

{ 通达信短线起航指标公式源码 }

OSC:=100*(CLOSE-MA(CLOSE,20));
MaoSC:=EXPMEMA(OSC,6);
bias:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
BIASMA:=MA(BIAS,6);
F:=100*(C-REF(C,1))/REF(C,1);
P1:=IF(C<ref(o,1) and="" f<0,1,0);<br=""> P2:=IF(C<ref(o,2) and="" f<0,1,0);<br=""> LIN:=IF(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,1,0);
E:=-100*(HHV(HIGH,84)-CLOSE)/(HHV(HIGH,84)-LLV(LOW,84));
DJ1:=crOSS(OSC,MAOSC) AND LIN AND REF(EVERY(C<o,3),1) and="" ref((e<-98)*50,1);<br=""> RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
DJ2:=CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND REF((E<-98)*50,1) AND REF(EVERY(C<o,3),1);
F1:=100*(C-REF(C,1))/REF(C,1);
KX:=IF(C<ref(o,1) and="" f1<0,1,0);<br=""> LH:=IF(C<ref(o,2) and="" f1<0,1,0);<br=""> BE:=KX=0 AND REF(KX,1)=1 AND LH=0 AND REF(LH,1)=1;
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(Abs(CLOSE-VAR1),7,1)*100;
SS1:=FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5);
SM01:=MA((2*C+H+L)/4,5);
SM02:=SM01*(200-102)/100;
SM03:=(1-7/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,20))/MA(C,20));
SM04:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
SM05:=3*SMA(SM04,3,1)-2*SMA(SMA(SM04,3,1),3,1);
SM06:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14));
SM07:=SM02REF(SM05,1) AND REF(SM05,1)<ref(sm05,2) and="" sm06<-100<br=""> AND SM06>REF(SM06,1);
BZ:=SS1 AND SM07;
CC1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD1:=DMA(CLOSE,CC1);
EE:=(1-14/100)*DD1;
DI:=BETWEEN(C,EE*0.98,EE*1.01);
WZ:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
WZBP:=CROSS(-27,WZ) AND COUNT(H=L,5)<1;
QSX:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
KJ:=CROSS(-20,QSX);
短线起航:=(BE AND BZ AND DI) OR WZBP OR KJ OR DJ1 OR DJ2 ;
stICKLINE(短线起航,-8,15,1,0),COLORRED,LINETHICK2;
STICKLINE(短线起航,1,6,1,0),COLOR00FFFF,LINETHICK2;
DRAWICON(短线起航,13,13);
DRAWTEXT(短线起航,10,'短线起航'),COLORYELLOW;

 

标签:MA,起航,20,通达信,源码,CLOSE,100,REF
From: https://www.cnblogs.com/zhibiao/p/18062231

相关文章

  • 通达信分时资金流量主图指标公式
    {通达信分时资金流量主图指标公式}资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),stICK,COLORRED;资金流出:=-SUM(IF(C<ref(c,1),v,0),fromopen),stick,color00ff00;资金出入:=资金流入+资金流出,COLORSTICK;资金流量:=资金出入,COLORFFFFFF,LINETHICK1;资金比:=资金出入/S......
  • 通达信分时大宗买卖指标公式源码
    {通达信分时大宗买卖指标公式源码}大单买量:=SUM(IF(C>REF(C,1)ANDV>4000,V/1000,0),0),NODRAW;大单卖量:=SUM(IF(C<ref(c,1)and=""v="">4000,V/1000,0),0),NODRAW;买单总量:=SUM(IF(C>REF(C,1),V/1000,0),0),NODRAW;卖单总量:=SUM(IF(C<ref(c,1),v1000,0)......
  • 通达信资金主力拉升选股指标公式源码
    {通达信资金主力拉升选股指标公式源码}VAR1:=(HIGH+LOW+CLOSE*2)/4;VAR2:=EMA(VAR1,21);VAR3:=stD(VAR1,21);VAR4:=((VAR1-VAR2)/VAR3*100+200)/4;VAR5:=(EMA(VAR4,89)-25)*1.56;VAR6:=EMA(VAR5,5)*1.22;VAR7:=EMA(VAR6,3);VAR8:=3*VAR6-2*VAR7;VAR1A:=IF(crOSS(VAR6,......
  • 通达信千载难买黄金坑,黄金坑群来了源码
    {通达信千载难买黄金坑,黄金坑群来了源码}RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100; 短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),COLO......
  • app直播源码,封装调用第三方服务的请求与响应
    在开发app直播源码的过程中,经常会遇到调用一些第三方的请求与响应,如果只是简单的两种请求与响应那么我们只需要去简单的去封装请求头与请求体即可,并且拼接第三方调用的key即可,但是遇到一些流程比较繁琐的调用就显得非常的麻烦了。而高效的去封装这些服务的请求与响应实体不仅......
  • 基于苍穹外卖写的springboot学习笔记,私聊拿源码
    一.关于md5加密的了解与使用1.分析MD5加密是一种不可逆的加密算法。也就是说我们只能正向加密,无法反向解密。于是乎,当我们用它作为密码加密方式时,我们只能加密码从数据库拿来与前端传来的数据加密后进行比较。2.使用方法他是由springboot框架提供二.关于swagge......
  • 通达信超能共振主图指标公式源码副图
    {通达信超能共振主图指标公式源码副图}N1:=3;N2:=5;N3:=8;N4:=13;RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;Lwr1:=SMA(RSV,N1,1);LWR2:=Sma(LWR1,N1,1);A1:=LWR1>LWR2;Z1:=LWR1<lwr2;RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;K:=......
  • 通达信远超金钻指标公式源码副图
    {通达信远超金钻指标公式源码副图}X_1:=12;X_2:=26;X_3:=200;X_4:=9;X_5:=34;X_6:=1;X_7:=1;DRAWTEXT_FIX(1=1,0.7,0,0,5),COLOR666666;X_8:=Ema(CLOSE,X_1)-EMA(CLOSE,X_2);X_9:=EMA(X_8,X_3);X_10:=(X_8-X_9)*2*X_7;ZS:IF(X_10<0,0,X_10*X_10),COLORRED,LINETHIC......
  • 通达信竞价绝杀排序指标公式
    {通达信竞价绝杀排序指标公式}{指标介绍:1.黄金甲信号稳定的创业板票(主力净额大于1500万,占比大于8%,流通市值小于80亿);2.情绪周期里面的三板以上的主板票(主力净额大于1500万,占比大于8%,流通市值小于150亿);3.昨日涨停的创业板票,今日高开(主力净额大于800万,占比大于8%,流通市值......
  • 通达信彩龙现身主图指标公式源码副图
    {通达信彩龙现身主图指标公式源码副图}VAR1:=(3*CLOSE+LOW+OPEN+HIGH)/6;A:(20*VAR1+19*REF(VAR1,1)+18*REF(VAR1,2)+17*REF(VAR1,3)+16*REF(VAR1,4)+15*REF(VAR1,5)+14*REF(VAR1,6)+13*REF(VAR1,7)+12*REF(VAR1,8)+11*REF(VAR1,9)+10*REF(VAR1,10)+9*REF(VAR1,11)+8*REF(V......