首页 > 编程语言 >通达信龙头起涨指标公式源码

通达信龙头起涨指标公式源码

时间:2024-03-10 13:35:05浏览次数:33  
标签:VAR5 EMA STICKLINE 起涨 通达信 源码 LOW VAR51 REF

{ 通达信龙头起涨指标公式源码 }

趋势:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORRED;
强弱:30,COLORWHITE;
逃顶:90,COLORWHITE;
Jbs:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
必升:=FILTER(JBS,28)*100;
VAR1A:=IF((C/REF(C,1)>1.05 AND H/C<1.01 AND C>REF(C,1)),91,0);
VAR2A:=FILTER((VAR1A>90),45) AND FILTER((VAR1A>90),35) AND 必升>0;
抄:=VAR2A AND COUNT(VAR2A,60)=1;
STICKLINE(抄,75,66,1,0),COLORRED;
STICKLINE(抄,66,57,2,0),COLORMAGENTA;
STICKLINE(抄,57,48,3,0),COLORGREEN;
STICKLINE(抄,48,39,4,0),COLORBLUE;
STICKLINE(抄,30,21,6,0),COLORBROWN;
STICKLINE(抄,39,30,5,0),COLORCYAN;
STICKLINE(抄,21,12,7,0),COLORYELLOW;
STICKLINE(抄,12,3,8,0),COLORWHITE;
DRAWTEXT(抄,90,'抄'),COLORRED;
DRAWICON(抄,80,13);
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
Z:0,COLORBLacK;
进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
洗盘:IF(VAR5<ref(var5,1),var5,0),colorgreen,nodraw;
STICKLINE(VAR5<ref(var5,1),0,var5,3,0),colorgreen;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;
STICKLINE(VAR5<ref(var5,1),0,var5,3,0),color005500;
STICKLINE(VAR5<ref(var5,1),0,var5,2.6,0),color007700;
STICKLINE(VAR5<ref(var5,1),0,var5,2.1,0),color009900;
STICKLINE(VAR5<ref(var5,1),0,var5,1.5,0),color00bb00;
STICKLINE(VAR5<ref(var5,1),0,var5,0.9,0),color00dd00;
STICKLINE(VAR5<ref(var5,1),0,var5,0.3,0),color00ff00;
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
拉高:IF(VAR51<ref(var51,1),var51,0),coloryellow,nodraw;
STICKLINE(VAR51<ref(var51,1),0,var51,3,0),coloryellow;
出货:IF(VAR51>REF(VAR51,1),VAR51,0),COLORCYAN,NODRAW;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORCYAN;
SS:=MA(C,60)>REF(MA(C,60),1);
N:=10;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(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,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
龙头起涨:IF(crOSS(D1,K1),30,0),COLORFFCC66;

 

标签:VAR5,EMA,STICKLINE,起涨,通达信,源码,LOW,VAR51,REF
From: https://www.cnblogs.com/zhibiao/p/18064042

相关文章

  • 通达信股价飞升指标公式源码副图
    {通达信股价飞升指标公式源码副图}VAR11:=3*SMA((C-LLV(L,480))/(HHV(H,480)-LLV(L,480))*100,5,1)-2*SMA(SMA((C-LLV(L,480))/(HHV(H,480)-LLV(L,480))*100,180,1),15,1);超级主升:=EMA(VAR11,5);主升1:=超级主升-100;D1:=EMA(C,5);D2:=(EMA(C,1)+EMA(C,5)+EMA(C,10)+EM......
  • 通达信跳空缺口完美版主图指标公式源码
    {通达信跳空缺口完美版主图指标公式源码}N:=30;LL:=REF(L,1);HH:=REF(H,1);SQK:=L>HH;XQK:=H<ll;向上跳几元钱:IF(SQK=1,L-HH,DRAWNULL),COLORGREEN,crOSSDOT,LINETHICK3,NODRAW;逃命跳空元:IF(XQK=1,H-LL,DRAWNULL),COLORYELLOW,CROSSDOT,LINETHICK3,NODRAW;DRAWTEXT(......
  • 通达信突破当天买入主图指标公式源码
    {通达信突破当天买入主图指标公式源码}{#跨周期时,可能会引用到未来数据}X_A:=cci#WEEK;X_B:=CCI#MONTH;突破当天买入:=X_B-REF(X_B,1)>90ORX_A-REF(X_A,1)>70;DRAWTEXT(突破当天买入,LLV(L,8),'突破当天买入'); ......
  • 通达信大牛异动指标公式源码
    {通达信大牛异动指标公式源码}N:=10;N1:=5;N2:=3;X_1:=REF(CLOSE,1)<ref(close,2)and=""close="">REF(CLOSE,1);X_2:=REF(CLOSE,1)>REF(CLOSE,2)ANDCLOSE<ref(close,1);<span="">X_3:=CLOSE=REF(CLOSE,1);X_4:=REF(CLOSE,1......
  • 通达信顶底准确指标公式源码
    {通达信顶底准确指标公式源码}VDD6:=MA(CLOSE,1);VDD8:=(LOW+HIGH+CLOSE)/3;VDD7:=MA(VDD8,5);顶底准确率:=LLV(VDD7,10);技术指标:=LLV((VDD6<顶底准确率),5);准确率100:=LLV((VDD6<顶底准确率),10);STICKLINE(准确率100,0,100,3,0),COLORRED;STICKLINE(技术指标,0,5......
  • 通达信价格笼子警示主图指标公式源码
    {通达信价格笼子警示主图指标公式源码}STB:=IF(INBLOCK('ST板块'),1,0);TSB:=IF(INBLOCK('ST板块')ANDCODELIKE('30')ANDDATE>1200823,1,0);{2020月8月24日创业板ST开始20%涨跌幅}BK:=IF(CODELIKE('68'),0.2,IF(CODELIKE('30')ANDDATE>12......
  • 通达信立即买坚决卖指标公式源码
    {通达信立即买坚决卖指标公式源码}VAR1:=((LLV(LOW,5)=LLV(LOW,45))AND(CLOSE>=(OPEN*1.04)));VAR2:=(CLOSE>((REF(HIGH,1)+REF(LOW,1))/2));立即买入:(VAR1ANDVAR2),STICK,LINETHICK2;VAR3:=REF(CLOSE,1);VAR4:=((SMA(MAX((CLOSE-VAR3),0),6,1)/SMA......
  • 通达信美化RSI波段指标公式源码
    {通达信美化RSI波段指标公式源码}N1:=5;N2:=10;N3:=20;P:=3;{rsi划线}{N1:2,120,5;N2:2,250,10;N3:2,500,20;}{参数:P:1,20,3;}{支撑压力线的周期参数P可调}STICKLINE(C>0,0,30,10,0),COLOR353535;STICKLINE(C>0,30,50,10,0),COLOR454545;STICKLINE(C>0,50,80,10,0)......
  • 通达信小牛寻底指标公式源码
    {通达信小牛寻底指标公式源码}VAR1:=((C-MA(C,6))/(MA(C,6)))*(100);VAR2:=((C-MA(C,12))/(MA(C,12)))*(100);VAR3:=((C-MA(C,24))/(MA(C,24)))*(100);VAR4:=(VAR1+(2)*(VAR2)+(3)*(VAR3))/6;VAR5:=MA(VAR4,3);XG:EVERY(VAR5<=(-10),7)ANDDYNAINFO(4)>0ANDC>1*REF(C,......
  • 通达信抄底攻击涨停指标公式源码
    {通达信抄底攻击涨停指标公式源码}VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);K:VAR3,COLOR0000FF,LINETHICK2;D:VAR4,COLOR00FF00,LINETHICK2;VAR6:=crOSS(VAR3,VAR4)ANDVAR3<20;DR......