首页 > 编程语言 >通达信短线抄底避险指标公式源码

通达信短线抄底避险指标公式源码

时间:2024-03-10 17:11:05浏览次数:34  
标签:LLV CROSS 通达信 源码 LOW 100 抄底 SMA

{ 通达信短线抄底避险指标公式源码 }

N:=5;
走势:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLOR0099FF,LINETHICK1;
底部线:8,COLORGREEN,LINETHICK1;
脱离底部: IF(crOSS(走势,底部线),78,0),STICK,COLORRED,LINETHICK2;
底部区域: IF(走势<=8,25,0),STICK,COLORMAGENTA,LINETHICK2;
DRAWTEXT(CROSS(走势,底部线),80,'抄底'),COLORRED;
抄底点: IF(CROSS(走势,0),38,0),STICK,COLORYELLOW,LINETHICK2;
DRAWTEXT(CROSS(走势,0),50,'抄底'),COLORYELLOW;
零轴:0,LINETHICK2,COLORFFCC00;
A01:=(C-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3));
A11:=SMA(A01,2,1);
A21:=SMA(A11,2,1);
A31:=3*A11-2*A21 ;
A41:=2*A31-0.5;
生命线:=C*(1-(A41-A21)/15);
风险线:100,COLORLIRED,LINETHICK1;
避险点1: IF(CROSS(100,走势),100,0),STICK,COLORGREEN,LINETHICK2;
避险点2: IF(CROSS(88,走势),100,0),STICK,COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(88,走势) AND C<生命线,50,'避险'),COLORGREEN;
DRAWTEXT(CROSS(100,走势) AND C<生命线,50,'避险'),COLORGREEN;
B:=走势<ref(走势,1);
IF(B-1,走势,DRAWNULL)COLORRED,LINETHICK1;

【抄底①号】选出抄底指标的第一个抄底信号!
N:=5;
走势:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLOR0099FF,LINETHICK1;
DRAWTEXT(CROSS(走势,0),50,'抄底'),COLORYELLOW;

【抄底②号】选出抄底第二个抄底信号!
N:=5;
走势:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLOR0099FF,LINETHICK1;
DRAWTEXT(CROSS(走势,8),50,'抄底'),COLORYELLOW;

 

标签:LLV,CROSS,通达信,源码,LOW,100,抄底,SMA
From: https://www.cnblogs.com/zhibiao/p/18064405

相关文章

  • spring-security源码-FilterChainProxy
    FilterChainProxy内部存储了我们各个HttpSecurty生成的SecurityFilterChain。FilterChainProxy实现了ServletFilter接口。只真正的入口org.springframework.security.web.FilterChainProxy.doFilterpublicvoiddoFilter(ServletRequestrequest,ServletResponseresponse,F......
  • spring-security源码-如何初始化SecurityFilterChain到Servlet
    1.SecurityFilterChain是由HttpSecurty根据各个config配置生成的FilterSecurityFilterChain是接口,默认实现是由DefaultSecurityFilterChainSecurityFilterChain只充当描述的作用,描述哪些url走这批filterpublicfinalclassDefaultSecurityFilterChainimplementsSecurityF......
  • 通达信空转多反击副图指标公式源码
    {通达信空转多反击副图指标公式源码}ZEROS:0,NODRAW;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;VARV:=(2*C+H+L)/4;VARU:=LLV(LOW,30);VARA1:=HHV(HIGH,30);B:=EMA((VARV-VARU)/(VARA1-VARU)*100,8);B1:=EMA......
  • 通达信强烈反转指标,趋势改变上翘有力度源码
    {通达信强烈反转指标,趋势改变上翘有力度源码}N1:=20;N2:=60;VAR1:=(LOW+HIGH+CLOSE)/3;X:MA(VAR1,5);A1:HHV(X,N1)COLORMAGENTA;A2:HHV(X,N2),COLORGREEN;A3:HHV(HIGH,N2)*0.98,COLOR0000FF;B1:LLV(X,N1);B2:LLV(LOW,N2)*1.02;DRAWICON(X>B1ANDREF(X,1)=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.05ANDC=HANDBETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));必升:=FILTER(JBS,28)*100;VAR......
  • 通达信股价飞升指标公式源码副图
    {通达信股价飞升指标公式源码副图}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......