通达信股神抄底必胜副图指标

[复制链接]
查看87 | 回复0 | 2022-7-24 08:14:58 | 显示全部楼层 |阅读模式

通达信股神抄底必胜副图指标

参数:

( p 1 500 36)
( p1 1 60 13) 

源码

var1:=((ema(amount,5)/ema(vol,5)/100-ema(amount,125)/ema(vol,125)/100)/(ema(amount,5)/ema(vol,5)/100))<-0.4;
var2:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
var3:=sma(var2,3,1);
var4:=sma(var3,3,1);
var5:=-100*(hhv(high,52)-close)/(hhv(high,52)-llv(low,52));
zs1:=count(var1,5)>=1 and (var5<-99.9 or (var4<15 and var3<12));
var6:=vol/FINANCE(7);
var7:=(100*winner(C));
aa:=ma(var7,3);
bb:=ma(var6,34);
zs2:=(aa<bb)*100 and var7<var6,stick;
Var8:=SUM(IF(CLOSE>REF(CLOSE,1),1,0),0);
Var9:=SUMBARS(VOL,CAPITAL);
Var10:=IF(CLOSE>LLV(CLOSE,Var9),1,-1)*IF(Var8>LLV(Var8,Var9),1,-1);
Var11:=COUNT(IF(Var10=-1,1,0)=1,8)>2;
Var12:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,
VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100)))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,
VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100))*100<-18;
Var13:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE<0.01;
Var14:=Var11 AND Var12 AND Var13;
Var15:=VOL/CAPITAL>=0.02 AND VOL/CAPITAL<=0.2 and OPEN=1.105;
Var16:=Var15 AND COUNT(Var15,5)=1;
zs3:=Var14 OR Var15;
Var17:=REF(CLOSE,1);
Var18:=SMA(MAX(CLOSE-Var17,0),7,1)/SMA(ABS(CLOSE-Var17),7,1)*100;
Var19:=SMA(MAX(CLOSE-Var17,0),13,1)/SMA(ABS(CLOSE-Var17),13,1)*100;
Var20:=Var18<20 AND Var19<25 ;
zs4:= Var20;
Var21:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);
Var23:=IF(CLOSE>LLV(CLOSE,Var9),1,-1);
Var24:=IF(Var21>LLV(Var21,Var9),1,-1);
Var25:=Var23*Var24;
Var26:=IF(Var25=-1,1,0);
zs5:=Var26 AND CLOSE=LLV(CLOSE,120) and var7<var6;
大底:=if(FILTER(zs1 and zs2 and zs3 and zs4 and zs5>0,4),70,0),stick ,
linethick6 ,colorffbb44;
探底尖兵:if(zs2 and zs3 and zs4 or(zs4 and zs5),35,0),
stick , linethick6 , COLORff22cc;
注意:=if(zs2 and zs4 and zs5>0,50,0),stick ,linethick3 ,COLORBLUE ;
持仓区:STICKLINE(close>ema(c,p),0,20,20,0),color00aaff, linethick1;
空仓预警区:STICKLINE(close<ema(c,p),0,10,20,0),colorffbb44, linethick1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
RS:= (HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100;
LWR:=SMA(RS,3,1);
ab:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
股神再现:IF(探底尖兵 AND (K<5.5 or (lwr>95 and ab=-100)),55,0),
stick,colorred ,linethick7;

JJ:=(C*2+H+L)/4;
SK:=EMA(JJ,13) - EMA(JJ,21);
SD:=EMA(SK,2);
aaa:=HIGH/LLV(CLOSE,P1)>1.33;
bbb:=0.5;
Var30:=(2*C+H+L)/4;
Var31:=LLV(LOW,34);
VarA:=HHV(HIGH,34);
varB:EMA((Var30-Var31)/(VarA-Var31)*100,13),COLORf0f000;
B1:EMA(0.667*REF(varB,1)+0.333*varB,5),coloryellow, linethick2;
STICKLINE(VARB>B1, VARB,B1,3,0),COLORyellow;
金色快车:if(cross(sd,0) and 2>100*vol/CAPITAL and
b1<45,70,0),stick,coloryellow,linethick7;
坚决卖出:if(CROSS(bbb,BACKSET(aaa,11))and b1>75
,80,0),stick,color00ff00,linethick7;

DRAWTEXT(CROSS(bbb,BACKSET(aaa,11))and
b1>75,70,'数钱时快乐'),coloryellow;
DRAWTEXT(探底尖兵 AND (K<5.5 or (lwr>95 and
ab=-100)),65,'股神必胜!'),colorf0f000;
DRAWTEXT(大底>0,45,'坚定持股 !'),STICK , linethick3 ;
DRAWTEXT (cross(sd,0) and 2>100*vol/CAPITAL and varB>b1
and b1<45,30,'搭上淘金车'),color00ff00;

DRAWICON(CROSS(B1, VARB)AND B1>80 ,B1, 1);

85;
15;
 

82455297.jpg

82455297.jpg

 

回复

使用道具 举报

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

本版积分规则