通达信天知趋势公式与筹码指标

[复制链接]
查看52 | 回复0 | 2022-7-24 07:07:02 | 显示全部楼层 |阅读模式

买:=MA(CLOSE,1);
卖:=(LOW HIGH CLOSE)/3;
奇准:= MA(卖,5);
买卖:=LLV(奇准,10);
急买奇准:=LLV((买<买卖),5);
短买奇准:=LLV((买<买卖),10);
STICKLINE(短买奇准,0,95,3,0),colorred;
STICKLINE(急买奇准,0,20,3,0),coloryellow;
顶: 97,colorblue;
天知走: 80,colormagenta;
天知动向: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),colormagenta;
STICKLINE(天知动向> REF(天知动向,1),天知动向,REF(天知动向,1),6,0),COLOR0000CC;
STICKLINE(天知动向<=REF(天知动向,1),天知动向,REF(天知动向,1),6,0);
极强1:90,colorgray,NODRAW;
中线:40,colorgray,NODRAW;
极弱:20,colorgray,NODRAW;
日本731:10,colorgreen;

910599705.jpg

910599705.jpg

 

VARA:=POW(MA(HIGH,5),2) MA(HIGH,5);
VARB:=((VAR8-LLV(VAR9,64))/(HHV(VARA,64)-LLV(VAR9,64))*150 65-10)/2;
VARC:=SMA(VARB,3,1)*1.5-46;
VARD:=SMA(VARC,3,1);
VARE:=3*VARC-2*VARD;
VARF:=(VAR1 VAR2 VAR5)/3;
VAR10:=((VAR3 VAR3 VAR6 VARC)/4-15)*1.67;
VAR11:=((VAR4 VAR4 VAR7 VARD)/4-15)*1.67;
VAR12:=((VAR1 VAR5*2 VARF VAR10 VAR11 VARB VARC VARD VARE)/10-15)*1.67;
VAR13:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1) 0.9;
VAR14:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1) 0.92;
VAR15:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1) 0.93;
VAR16:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1) 0.94;
VAR17:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1) 0.95;
VAR18:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1) 0.91;
VAR19:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1) 0.96;
VAR1A:=((VAR13*8 VAR14*8 VAR15*8 VAR16 VAR17 VAR18 VAR19)/28-0.1)*185;
VAR1B:=SMA(VAR1A,3,1);
VAR1C:=(SMA(VAR1B,8,1)-8)*1.18;
天知筹: (VAR10 VAR11 VAR12 VARC VARD VARE VAR1C VAR7)/13;
天知筹1: (VAR10 VAR11 VAR12 VARC VARD VARE VAR1C VAR7)/21 ;
天知筹2: (VAR10 VAR11 VAR12 VARC VARD VARE VAR1C VAR7)/34;
日本: (VAR3 VAR6 VAR1B*2)/4,colorred ;
VARA1:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60))*80;
VARB1:=SMA(VARA1,7,1);
VARC1:=SMA(VARB1,5,1);
天知:IF(CROSS(VARB,VARC) AND VARB<20,100,0),LINETHICK2,coloryellow;
VAR2N:=LLV(LOW,3)<=LLV(LOW,60);
VAR3N:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
部队:IF(VAR2N AND VAR3N,10,0),coloryellow,LINETHICK2;
极强:80,colorgray,NODRAW;
中线:40,colorgray,NODRAW;
中线2:60,colorgray,NODRAW;
极弱:20,colorgray,NODRAW;
极弱1:10,colorgray,NODRAW;
地:-10,colorgreen,NODRAW;
 


911111063.jpg

911111063.jpg
 

N:=8;
M:=13;
P:=60;
S:=3;
V1:=(C*2 H L)/4*30;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
主力开始出: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;
主力开始进: IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=1000* (2*(DIFF-DEA))/EMA(C,30);
VARA:=EMA(REF(CLOSE,1),4);
VAR1:=(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100);
准备:IF(VAR1<3.5,10,0),colorcyan,LINETHICK2;
LC := REF(CLOSE,1);
DI:=(EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DE:=EMA(DI,9);
MACD:=2*(DI-DE);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*400-200;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,6,0),COLOR0000AA;
STICKLINE(MACD>0 AND MACD
STICKLINE(MACD<0 AND MACD
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,6,0),COLORFF00A9;
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
BIAS:=(BIAS1 2*BIAS2 3*BIAS3)/6;
乖离:=MA(BIAS,3);
抄底:IF(乖离<-12 AND 乖离>=-18,-4,0), colorcyan,LINETHICK1;
STICKLINE(乖离<-12 AND 乖离>=-18,2,0,6,0) , colorcyan;
抄底二:IF(乖离<-18,3,0),COLORFF35FF,LINETHICK1;
STICKLINE(乖离<-18,3,0,6,0),COLORFF35FF;
抄底三:IF(乖离<-6,5,0),colorred,LINETHICK1;
STICKLINE(乖离<-6,5,3,2,1),colorred;
抄底四:IF(乖离<-4.5,0,0),COLOR00FFFF,LINETHICK1;
STICKLINE(乖离<-4.5,0,3,6,0),colorgreen;
VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);
VAR2:=DMA(CLOSE,VOL/MA(VOL,31)/31);
VAR3:=(CLOSE-VAR1)/VAR1*100<-10;
VAR4:=(VAR1-VAR2)/VAR2*100<-16;
VAR5:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;
VAR6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16;
VAR7:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));
VAR8:=INDEXC;
VAR9:=MA(VAR8,6);
VARA:=MA(VAR8,24);
VARB:=MA(VAR8,32);
VARC:=VARB>VAR9*1.11 AND VARA>VAR9*1.095;
SSS:=(VAR3 AND VAR4 AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 OR VAR5 AND VAR6 AND CROSS(VAR7,79) OR VARC AND CLOSE/COST(8)<=0.8)*100;
抄底王:SSS>0,colorwhite,LINETHICK1;
STICKLINE(SSS>0,0,6,6,0),colorwhite;

911244345.jpg

911244345.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则